本月博客排行
-
第1名
青否云后端云 -
第2名
e_e -
第3名
vipbooks - silverend
- lemonhandsome
- kingwell.leng
- jveqi
- xiangjie88
年度博客排行
-
第1名
青否云后端云 -
第2名
zw7534313 -
第3名
大家都说我很棒 - liyihz2008
- wy_19921005
- gengyun12
- hbxflihua
- e_e
- luxurioust
- dbagirl
- zysnba
- Alsmile
- robotmen
- gaozzsoft
- jywhltj
- cpongo1
- leslie26
- qepwqnp
- zhangdaiscott
- 解宜然
- cuityang
- sichunli_030
- gashero
- fantaxy025025
- gdpglc
- ranbuijj
- ssydxa219
- wallimn
- vipbooks
- 淡看人生
- hanbaohong
- jickcai
- javashop
- johnsmith9th
- appalese
- gaojingsong
- weiyides
- zhangyi0618
- java-007
- AVI
- laiyangdeli
- lyongq04
- xpenxpen
- liunancun
- 龙哥IT
- conkeyn
- nychen2000
- lyndon.lin
- ouanui
- panshunchang
最新文章列表
phonegap系列之API(三)device
本内容更新参照cordova-2.0.0.js
---------- 注意没有device.phonegap了
先上图!
name
返回设备的型号或者产品名称,设备制造商设定的
platform
返回设备使用的操作系统名称
uuid
返回设备的全球唯一标识符 ...
运行应用,Could not open: device
右键点击我的电脑-属性-高级系统设置-环境变量,在系统变量里边新建,变量名为ANDROID_SDK_HOME,变量值为android sdk路径,这样就可以了,重启eclipse把原来的建的虚拟设备都删了新建就可以了
String.xml中product属性使用
Android的资源文件string.xml会出现下面同名的字符串,如下所示
<string name="build_type" product="tv">"智能电视"</string>
<string name="build_type" product="phon ...
iOS: Device token and registerForRemoteNotificationTypes, didReceiveRemoteNotif
Device token for an iPhone device生成之后就永远不变吗?
不是,if a device is wiped (应该是重装系统), it will get a new device token.
官方网站是这样写的: If the user restores backup data to a new device or computer, or reinstalls ...
Android 远程Debug的方法和步骤
1.连接上设备后,打开要debug的应用,打开DDMS,在Device视图模块中找到该应用其debug的端口(8607/8700,则端口为8607)。记下该端口号,以便以后使用。
2.在要debug的项目中打断点。
2.项目上点击右键-->debug as-->debug configurations
3.在弹出的对话框的左侧栏目中,右键点击Remote Java Application ...
刷新的rom后 logcat打不出log的解决办法。
刷了新的rom 不过调试的时候发现打不出来log了。 发现下面的问题
Unable to open log device '/dev/log/main': No such file or directory
下面说下解决办法。
引用Solution:
On call screen type *#*#2846579#*#*
opens system management menu
P ...