![](https://img-blog.csdnimg.cn/20201014180756927.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
android
文章平均质量分 53
tankpress
这个作者很懒,什么都没留下…
展开
-
device time zone
搵出手機的timeZone: Calendar cal = Calendar.getInstance(); Log.i("Calendar.getTimeInMillis()",""+ cal.getTimeInMillis()); Log.i("Calendar.getTime()",""+ cal.getTime()); Log.i("Calendar.getTimeZone()",""原创 2014-01-18 10:39:17 · 726 阅读 · 0 评论 -
系统签名APK,让应用获取系统级权限,后能强制开关GPS
权限不是直接加到AndroidManifest.xml就能有的,还需要应用有系统权限。如开关GPS(Settings.Secure.setLocationProviderEnabled(getContentResolver(),LocationManager.GPS_PROVIDER,true);)需要的<uses-permission android:name="android.perm转载 2014-07-21 11:55:37 · 640 阅读 · 0 评论 -
android 4.2.2 編譯
1.先安裝ubunto 12.04 新版本安裝不了.https://source.android.com/source/initializing.html原创 2014-08-03 21:57:29 · 430 阅读 · 0 评论