revise to adapt lots of android phones.