怎么样在安装Apk后隐藏该程序图标 我开发了一个Apk,怎么样在我安装后隐藏该程序图标。我是想在我安装的一个主Apk调用这个Apk,而这个Apk我又不想被用户看到直接运行,所以要隐藏。 解决方案 » 免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货 隐藏图标?不生成不就OK了afxmanifest.xml里去掉<category android:name="android.intent.category.LAUNCHER"></category>就可以了 原来这句话就是控制隐藏apk的怪不得连log都不一样呢?[2010-11-08 14:42:55 - APP] Waiting for HOME ('android.process.acore') to be launched...[2010-11-08 14:44:00 - APP] WARNING: Application does not specify an API level requirement![2010-11-08 14:44:00 - APP] Device API version is 8 (Android 2.2)[2010-11-08 14:44:00 - APP] HOME is up on device 'emulator-5554'[2010-11-08 14:44:00 - APP] Uploading APP.apk onto device 'emulator-5554'[2010-11-08 14:44:16 - APP] Installing APP.apk...[2010-11-08 14:44:47 - APP] Success![2010-11-08 14:44:47 - APP] Starting activity com.android.APP.APP on device [2010-11-08 14:44:55 - APP] ActivityManager: Starting: Intent { act=android.intent.action.MAIN cat=[android.intent.category.LAUNCHER] cmp=com.android.APP/.APP }[2010-11-08 14:45:14 - APP] New emulator found: emulator-5556[2010-11-08 14:45:14 - APP] Waiting for HOME ('android.process.acore') to be launched...[2010-11-08 14:45:17 - APP] ------------------------------[2010-11-08 14:45:17 - APP] Android Launch![2010-11-08 14:45:17 - APP] adb is running normally.[2010-11-08 14:45:17 - APP] No Launcher activity found![2010-11-08 14:45:17 - APP] The launch will only sync the application package on the device![2010-11-08 14:45:17 - APP] Performing sync[2010-11-08 14:45:17 - APP] Automatic Target Mode: Preferred AVD 'android2.2' is available on emulator 'emulator-5554'[2010-11-08 14:45:17 - APP] WARNING: Application does not specify an API level requirement![2010-11-08 14:45:17 - APP] Device API version is 8 (Android 2.2)[2010-11-08 14:45:21 - APP] Application already deployed. No need to reinstall.[2010-11-08 14:45:21 - APP] /APP/bin/APP.apk installed on device[2010-11-08 14:45:21 - APP] Done![2010-11-08 14:45:49 - APP] ------------------------------[2010-11-08 14:45:49 - APP] Android Launch![2010-11-08 14:45:49 - APP] adb is running normally.[2010-11-08 14:45:49 - APP] No Launcher activity found![2010-11-08 14:45:49 - APP] The launch will only sync the application package on the device![2010-11-08 14:45:49 - APP] Performing sync[2010-11-08 14:45:49 - APP] Automatic Target Mode: Preferred AVD '55' is available on emulator 'emulator-5556'[2010-11-08 14:45:49 - APP] WARNING: Application does not specify an API level requirement![2010-11-08 14:45:49 - APP] Device API version is 8 (Android 2.2)[2010-11-08 14:45:49 - APP] Uploading APP.apk onto device 'emulator-5556'[2010-11-08 14:45:58 - APP] Installing APP.apk...[2010-11-08 14:46:34 - APP] Success![2010-11-08 14:46:34 - APP] /APP/bin/APP.apk installed on device[2010-11-08 14:46:34 - APP] Done!可是这样在隐藏的同时,在程序首次运行在模拟器的时候它也就不运行了,在那儿可以找到它并把它启动呢? [Quote=引用 3 楼 zhq56030207 的回复:][2010-11-08 14:45:58 - APP] Installing APP.apk...[2010-11-08 14:46:34 - APP] Success![2010-11-08 14:46:34 - APP] /APP/bin/APP.apk installed on device[2010-11-08 14:46:34 - APP] Done!出现这个现象怎么办,程序都没办法运行啊? 楼主搞定了吗?我现在的情况是通过<category android:name="android.intent.category.LAUNCHER"></category>可以隐藏,但在其他地方是没办法打开的哦 无法从其他AKP,调用该修改的APK 自定义ViewGroup中不能正确显示 其它的viewGroup 为什么我这个这么简单的webview就是上不了网呢? 关于监测数据库SQLite的变化 Android 多线程 NDK r5 关于android 自带的通讯录的界面布局 请教一个报错~~ svg中图形元素的点击事件,求教!!!!!!! openfire配置数据库报错,log显示connection refused怎么解决 请问关于listview的长按点击事件 开发音乐播放器如何实现播放列表 问题请教 界面布局的问题:如何实现上中下这种布局,上下两块固定,中间可以进行版面切换
afxmanifest.xml里去掉
<category android:name="android.intent.category.LAUNCHER"></category>
就可以了
[2010-11-08 14:44:00 - APP] WARNING: Application does not specify an API level requirement!
[2010-11-08 14:44:00 - APP] Device API version is 8 (Android 2.2)
[2010-11-08 14:44:00 - APP] HOME is up on device 'emulator-5554'
[2010-11-08 14:44:00 - APP] Uploading APP.apk onto device 'emulator-5554'
[2010-11-08 14:44:16 - APP] Installing APP.apk...
[2010-11-08 14:44:47 - APP] Success!
[2010-11-08 14:44:47 - APP] Starting activity com.android.APP.APP on device
[2010-11-08 14:44:55 - APP] ActivityManager: Starting: Intent { act=android.intent.action.MAIN cat=[android.intent.category.LAUNCHER] cmp=com.android.APP/.APP }
[2010-11-08 14:45:14 - APP] New emulator found: emulator-5556
[2010-11-08 14:45:14 - APP] Waiting for HOME ('android.process.acore') to be launched...
[2010-11-08 14:45:17 - APP] ------------------------------
[2010-11-08 14:45:17 - APP] Android Launch!
[2010-11-08 14:45:17 - APP] adb is running normally.
[2010-11-08 14:45:17 - APP] No Launcher activity found!
[2010-11-08 14:45:17 - APP] The launch will only sync the application package on the device!
[2010-11-08 14:45:17 - APP] Performing sync
[2010-11-08 14:45:17 - APP] Automatic Target Mode: Preferred AVD 'android2.2' is available on emulator 'emulator-5554'
[2010-11-08 14:45:17 - APP] WARNING: Application does not specify an API level requirement!
[2010-11-08 14:45:17 - APP] Device API version is 8 (Android 2.2)
[2010-11-08 14:45:21 - APP] Application already deployed. No need to reinstall.
[2010-11-08 14:45:21 - APP] /APP/bin/APP.apk installed on device
[2010-11-08 14:45:21 - APP] Done!
[2010-11-08 14:45:49 - APP] ------------------------------
[2010-11-08 14:45:49 - APP] Android Launch!
[2010-11-08 14:45:49 - APP] adb is running normally.
[2010-11-08 14:45:49 - APP] No Launcher activity found!
[2010-11-08 14:45:49 - APP] The launch will only sync the application package on the device!
[2010-11-08 14:45:49 - APP] Performing sync
[2010-11-08 14:45:49 - APP] Automatic Target Mode: Preferred AVD '55' is available on emulator 'emulator-5556'
[2010-11-08 14:45:49 - APP] WARNING: Application does not specify an API level requirement!
[2010-11-08 14:45:49 - APP] Device API version is 8 (Android 2.2)
[2010-11-08 14:45:49 - APP] Uploading APP.apk onto device 'emulator-5556'
[2010-11-08 14:45:58 - APP] Installing APP.apk...
[2010-11-08 14:46:34 - APP] Success!
[2010-11-08 14:46:34 - APP] /APP/bin/APP.apk installed on device
[2010-11-08 14:46:34 - APP] Done!
可是这样在隐藏的同时,在程序首次运行在模拟器的时候它也就不运行了,在那儿可以找到它并把它启动呢?
[2010-11-08 14:45:58 - APP] Installing APP.apk...
[2010-11-08 14:46:34 - APP] Success!
[2010-11-08 14:46:34 - APP] /APP/bin/APP.apk installed on device
[2010-11-08 14:46:34 - APP] Done!出现这个现象怎么办,程序都没办法运行啊?
可以隐藏,但在其他地方是没办法打开的哦