在另一个 Android 应用程序中调用其他应用程序
在 android 上编程时遇到了障碍。有什么方法可以更改 android 模拟器中的默认桌面吗?到目前为止我唯一实现的就是卸载系统应用程序。我知道只有应用程序才能有图标......对吗?有什么方法可以让应用程序在启动时显示一组图标(可能是也可能不是单独的应用程序)? 单击这些图标后,将启动应用程序或活动......对此问题的任何帮助将不胜感激。
Have reached a block while programming on android.Is there any way to change the default desktop in the android emulator? The only thing i have achieved till now is uninstalling the system applications.I understand that only an application can have an icon...right? Is there any way that an application when launched displays a set of icons (which may or may not be separate applications)?
On clicking these icons either an application or an activity is launched....any help on this matter would be highly appreciated.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
此答案提供了更多信息。
以下是家庭示例应用的链接。
This answer gives more information.
Here is a link to the Home sample app.
SDK 附带的示例中有一个示例,这里有更多信息:
http://developer.android.com/resources/samples/Home/index.html
请务必将这些行添加到 Intent 过滤器中的 AndroidManifest.xml 中:
当您点击“home”按钮时,您应该两个选项; Android 启动器,以及您编写的替代启动器。我相信在那里,你可以选择默认。您可以通过清除设置/应用程序/管理应用程序/启动器/清除默认值下的设置来更改默认值。
there is an example in the samples included with the SDK, here is a little more info:
http://developer.android.com/resources/samples/Home/index.html
be sure to add these lines to your AndroidManifest.xml in the intent filters:
when you hit the "home" button you should have two options; the Android launcher, and the one you've programmed as a replacement. i believe there, you can choose the default. you can change the default by clearing the settings under settings/apps/manage apps/launcher/clear defaults.