Targeting Different Specs in Android App Submission

感情迁移 提交于 2019-12-13 07:12:16

问题


We're working on a port of an iPhone game to Android. One of the additional hurdles with this is all the different device resolutions Android has. We're having our art team rework the art for each target resolution (we're only picking a few for now with more later.)

My question is, can we (and how best to do it) submit separate packages for each resolution to the Google Market under a single title so that when someone purchases it they get a specific resolution?

UPDATE 7/21/2011

Although we released without it, it was just announced that the Google Android Market now officially supports multiple APKs for a single app.

http://android-developers.blogspot.com/2011/07/multiple-apk-support-in-android-market.html


回答1:


You don't have to do extensive job to support every possible screen size, you only need to make resources for several configurations and Android will do the rest. The major concept here is that there are several screen densities you have to support. Once you've made a resource for each density, Android will automatically use an appropriate resource for the specific device. You only upload a single application for all the devices.

You should read an article on supporting multiple screens and also on providing resources.




回答2:


I have not seen such an option while uploading my own applications to the market. This is a good/official explanation of how to program to various screen resolutions.

If it is impossible for your to package all of your resolution-specific resources into the app, you can download the images from your servers after the initial start-up of the app. At that point, you'll be able to grab the screen resolution details and only download what you need.



来源:https://stackoverflow.com/questions/5887074/targeting-different-specs-in-android-app-submission

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!