- 博客(5)
- 收藏
- 关注
转载 forceStopPackage
forceStopPackage并不能被第三方程序调用,只能随系统build。使用条件:1)权限:<uses-permission android:name="android.permission.FORCE_STOP_PACKAGES"/>2)只能运行在系统进程:android:sharedUserId="android.uid.system"3)android...
2010-11-05 20:26:00 378
转载 restartPackage || killbackgroundprocesses
快忙完了,陆续做一些工作上的回顾,一为分享,二为自己理清思路。有缘看到这博文的朋友,如果在这上面有好的理解,我非常渴望可以得到你的指点^ ^2.2不能使用restartPackage,这让任务管理器的开发者着实郁闷,一个用得这么普遍的功能说关就关了~有啥用意吗?google android framework team的工程师对这个的说明:Actually it doe...
2010-11-05 19:45:00 251
转载 Source-Navigator
在http://sourcenav.sourceforge.net/download.html下载最新版本6.0,安装sudo ./configuresudo make install安装完成后运行 snavigator 提示[root@MagicLinux sourcenav-6.0]# snavigatorCan't find a usable tk.tcl in the follo...
2010-11-03 20:54:00 119
转载 could not create temp file for system NAND disk
Ubuntu上Eclipse打开模拟器时,提示错误:could not create temp file for system NAND disk。原因是没有权限读写android临时文件: /tmp/android,这个folder位于根目录下。随后试图用chmod来改变权限,又提示:chmod:changing permissions of '' :operatin not pe...
2010-09-30 17:50:00 247
转载 ACTION_CONFIGURATION_CHANGED || ACTION_LOCALE_CHANGED
在1.6的calendar里,当系统语言改变时,calendar widget上的语言并没有随着改变。其实这个bug在android的很多系统程序里都会出现。只要不是把string提取出来的,就都要响应“android.intent.action.CONFIGURATION_CHANGED”,为UI做一次update。这个bug在HTC的magic上同样会出现。在1...
2010-09-29 20:21:00 725
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人