Android
文章平均质量分 54
wangsoko
这个作者很懒,什么都没留下…
展开
-
使用eclipse开发android时智能提示不响应的解决方法
<br /><br />最近在使用eclipse开发android应用。在台上机上使用eclipse一切正常,在笔记本中出现智能提示时却经常有10秒左右的时间eclipse不响应。一直怀疑是系统或是机器的问题,尝试过各种各样的方法一直没有解决,今天才偶然发现这个问的原因:<br />eclipse在智能提示时要从源码的注释中获取信息,如果没有源码就会到网络上获取。<br />解决方式就是把android源码中frameworks/core/java目录下的android和com这两个文件夹(12M)复制到S原创 2011-05-23 17:04:00 · 2422 阅读 · 0 评论 -
为你的Android应用程序在桌面上生成快键方式
<br />private void installShortcut() { String ACTION_INSTALL_SHORTCUT = "com.android.launcher.action.INSTALL_SHORTCUT"; String EXTRA_SHORTCUT_DUPLICATE = "duplicate"; Intent actionMainIntent = new Intent(Inten原创 2011-05-24 15:07:00 · 1878 阅读 · 0 评论 -
Android删除桌面上的快捷方式
<br />private void uninstallShortcut() { String ACTION_UNINSTALL_SHORTCUT = "com.android.launcher.action.UNINSTALL_SHORTCUT"; Intent actionMainIntent = new Intent(Intent.ACTION_MAIN); actionMainIntent.addCategory(Intent.CA原创 2011-05-24 15:08:00 · 1963 阅读 · 0 评论