如何将我的 Android 2.2 应用迁移到 Google TV
我有一个专为 Google 2.2 api(其中包括地图)设计的应用程序,我想让它与 Google TV 兼容。我一直在寻找对我的应用程序进行哪些更改(默认情况下它不会出现在 Google TV 市场上)。我发现的一件事是设置:
<uses-feature android:name="android.hardware.touchscreen" android:required="false"/>
我将其添加到 AndroidManifest.xml 并在 Google TV 模拟器上运行我的应用程序,它运行良好。我也在我自己的 Google TV 上运行它,没有任何问题。但是,上传更改后我的应用程序仍然没有出现在 Google TV 市场上。
是否还有其他一些我需要更改的 XML 设置,或者甚至可能是某些类的使用导致市场拒绝我的应用程序在 Google TV 上运行?
I have an app that was designed for the Google 2.2 api (it includes maps) and I want to make it compatible for Google TV. I've been looking around on what to change to my app (by default it doesn't appear on the Google TV market). One of the things I found was to set:
<uses-feature android:name="android.hardware.touchscreen" android:required="false"/>
I added this to the AndroidManifest.xml and ran my app on the Google TV emulator and it runs fine. I also ran it on my own Google TV without any issues. However, my app still doesn't appear on the Google TV market after uploading the changes.
Is there some other XML setting that I need to change or might it even be the use of some classes that makes the market deny my app from being ran on Google TV?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
好吧,我明白了。我需要将以下标签添加到 AndroidManifest.xml:
市场使用此标签进行过滤。我的手机应用程序使用 GPS,但 Google TV 上不需要。
谷歌请注意:尝试这个东西的唯一方法是向当前用户发送新更新的垃圾邮件,直到东西起作用为止。如果他们希望 Google TV 市场上有更多应用程序,他们应该为此提供更好的解决方案。
OK, I figured it out. I needed to add the following tag to the AndroidManifest.xml:
This is used by the market to filter on. My app on a phone uses GPS but it is not required on Google TV.
Note to Google: the only way to try this stuff out is to spam current users with new updates until stuff works. They should come with a better solution to this if they want more apps on the Google TV market.