在 Droid 菜单中重复应用
只是想知道是否有人见过这个问题并知道可能出了什么问题。我已经构建了一个库,它在主页上有一个库,您可以在其中选择 A、B、C ... 等,然后它会打开一个页面,其中包含您选择的按钮。现在的问题是,当我将应用程序加载到手机上时,整个应用程序有一个应用程序按钮,然后每个 A、B、C... 等都有一个按钮。类中,我可以单击其中任何一个,它直接从手机菜单打开。就像菜单被垃圾邮件一样,我认为人们不会欣赏这一点。任何人都知道它可能是什么。我之前制作过一个包含库类型的应用程序,但从未出现过此问题。
Just wondering if anyone has seen this problem and knows what might be wrong. I've constructed something of a library it has on the main page where you select A, B, C ... etc. and then it opens a page with buttons for whichever your choice is. Now the problem is when I load my app onto my phone it has one app button for the whole app and then it has one button for each A, B, C... etc .classes as in i can click on any of those and it opens directly from the phones menu. Its like the menu has been spammed and i don't think people would appreciate that. Anyone have any idea what it might be. Ive made an application that has a library type thing in it before and this problem never occurred.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
从这些其他活动中删除 MAIN 和 LAUNCHER 意图。
http://developer.android.com/guide/topics/intents/intents -filters.html
另外,请注意您的接受率。
Remove the MAIN and LAUNCHER intents from those other activities.
http://developer.android.com/guide/topics/intents/intents-filters.html
Also, work on your accept rate.