码迷,mamicode.com
首页 >  
搜索关键字:launcher    ( 822个结果
android 打开指定包名的apk
例如: 系统音乐 Intent intent = new Intent(Intent.ACTION_MAIN); intent.setFlags(Intent.FLAG_ACTIVITY_NEW_TASK); intent.addCategory(Intent.CATEGORY_LAUNCHER); ComponentName cn = new ComponentName("com.an...
分类:移动开发   时间:2014-08-24 23:55:03    阅读次数:258
android自定义Application全局变量不能类型转换的问题
今天弄了个全局变量AppContext ,但一直出现如下错误,原来继承 Application的得在清单文件声明。 java.lang.RuntimeException: Unable to start activity ComponentInfo{com.langteng.shiliao/com.langteng.shiliao.activity.MainActivity}: java.lan...
分类:移动开发   时间:2014-08-24 00:23:49    阅读次数:226
推荐几个Windows工具软件: ASuite - 便携的程序启动器
主页: http://asuite.sourceforge.net下载: http://sourceforge.net/projects/asuite/ASuite is a lightweight program launcher that allows you to define a hiera...
分类:Windows程序   时间:2014-08-23 17:35:11    阅读次数:311
unity android 集成指南
原地址:http://blog.csdn.net/alking_sun/article/details/361751871.安卓层开发并暴露接口。launcher activity(以下称为UnityActivity)最好要继承com.unity3d.player.UnityPlayerActivi...
分类:移动开发   时间:2014-08-16 18:21:20    阅读次数:231
Android -- 创建桌面快捷方式
代码 /** * * 返回添加到桌面快捷方式的Intent: * * 1.给Intent指定action="com.android.launcher.INSTALL_SHORTCUT" * * 2.给定义为Intent.EXTRA_SHORTCU...
分类:移动开发   时间:2014-08-14 13:58:58    阅读次数:204
Launcher Activity在开机时重启两次解决办法
今天在看log的时候发现,Launcher activity会被onDestroy掉一次,然后再重启。 可能原因猜测: 1.横竖屏切换 2.MCC MNC等Configuration改变引起的 MCC(移动国家码)和 MNC(移动网络码) 由于当时的Launcher设置为强制横屏了,应该是不会引起重启的。 对于Configuration改变系统会发一个android.intent...
分类:其他好文   时间:2014-08-13 19:05:57    阅读次数:215
自定义Launcher设为默认应用
核心代码: .... // launcher应用中包含的xml配置 String action = Intent.ACTION_MAIN; String category1 = Intent.CATEGORY_HOME; String category2 = Intent.CATEGORY_DEFAULT; IntentFilter filter = new IntentFil...
分类:其他好文   时间:2014-08-13 10:36:16    阅读次数:192
Android系统默认Home应用程序(Launcher)的启动过程源码分析
在前面一篇文章中,我们分析了Android系统在启动时安装应用程序的过程,这些应用程序安装好之后,还须要有一个Home应用程序来负责把它们在桌面上展示出来,在Android系统中,这个默认的Home应用程序就是Launcher了,本文将详细分析Launcher应用程序的启动过程。 Andr...
分类:移动开发   时间:2014-08-13 10:18:45    阅读次数:241
Android_创建和删除快捷图标
/** * 判断桌面是否已经存在快捷方式 */ private boolean isExit() { Uri uri = null; if (android.os.Build.VERSION.SDK_INT < 8) { uri = Uri.parse("content://com.android.launcher.settings/favorites"); } els...
分类:移动开发   时间:2014-08-11 18:02:02    阅读次数:220
修改 Eclipse 内存
Eclipse 由于内存过少而导致自动关闭的问题。在Eclipse 安装目录下,修改 Eclipse.ini(或者 STS.ini)-vm/usr/java/jdk1.7.0_21/bin/java-startupplugins/org.eclipse.equinox.launcher_1.3.0....
分类:系统相关   时间:2014-08-11 11:28:12    阅读次数:262
822条   上一页 1 ... 73 74 75 76 77 ... 83 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!