开发姜饼蜂窝的 Android 应用程序
我是一名新的 Android 开发人员。我正在为 android Gingerbread (2.3.3) 开发一个应用程序,我希望我的应用程序能够在带有 HoneyComb 3.0 的平板电脑中使用。
我的问题是:
- 最好的方法是什么,首先根据 Gingerbread 开发应用程序,然后将其适应 Honeycomb? (或者这种想法很疯狂?)
- 您对应用程序的设计有什么建议,以便更好地适应这两个操作系统版本吗?
谢谢。
I'm a new android developer. I'm developing an app for android Gingerbread (2.3.3) and I would like my app to be used in a Tablet with HoneyComb 3.0.
My questions are:
- What is the best approach, develop the app first to Gingerbread and adapt it to Honeycomb?. (or that kind of think is insane?)
- Do you have any suggestions about the design of the app for a better adaptation to both OS versions?
Thanks.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
使用碎片。有一个静态库应该允许您为 Honeycomb 编写并一直保持兼容性,直到 Donut。请参阅此和这个
另请阅读 android-developers.blogspot.com/2011/09/preparing-for-handsets.html 。它涵盖了设计在手机和平板电脑上运行的单个应用程序的一些方面。看起来,如果应用程序遵循此处设置的准则,那么冰淇淋三明治兼容性在最坏的情况下应该是微不足道的。
Use fragments. There is a static library that should allow you to write for Honeycomb and maintain compatibility all the way till Donut. See this and this
Also read android-developers.blogspot.com/2011/09/preparing-for-handsets.html . It covers some aspects of designing a single application to run on both phones and tablets. It looks like if the applications follow the guidelines set here, then Ice Cream Sandwich compatibility should be trivial at worst.