-android.rules
Follow the instructions to change 0bb4 in the 51-android.rules file to the corresponding USB vendor ID.For example, my mobile phone is Motorola and idvender is 22b8.So this line is
Subsystem = "USB", sysfs{Idvendor}= "22b8", mode = "0666"
However, you can write multiple lines to use various devices. For example, I wrote all the following:
# ACS 0502Subsystem = "USB", sysfs{Idvendor}= "0502", mode = "0666"# Dell 413cSubsystem = "USB", sysfs{Idvendor}= "413c", mode = "0666"# Foxconn
Tag: Else Symbian SPI BSP nbsp Coolpad phi Ova MiniVerify that the phone is not logged in operationfunction Is_mobile () {var regex_match =/(nokia|iphone|android|motorola|^mot-|softbank|foma|docomo|kddi|up.browser|up.link|htc|dopod| blazer|netfront|helio|hosin|huawei|novarra| coolpad|webos|techfaith|palmsource|blackberry|alcatel|amoi|ktouch|nexian|samsung|^sam-|s[cg]h|^lge|ericsson| Philips|sagem|wellcom|bunjalloo|maui|symbian|smartphone|midp|wap|phone|windows ce|iemobile|^spice|^bird|^zte-| Lon
How to allow users to enter the WAP mobile website URL when automatically jump to WAP site?WAP page automatic jump to achieve the way?How can I tell if a visitor is a mobile device access and automatically jump to a WAP page?Mobile phone automatically jump to the mobile page, a Web site to distinguish between ordinary access and mobile phone access?When the mobile phone access to the site domain name, if the implementation of automatic jump to WAP page?
This article can solve these problems!
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.