On Mon, May 28, 2012 at 5:33 AM, Александр Куликовский <[email protected]> wrote: > The first and the most valuable is the size of the apk, it must be not > greater than 20mb.
The Play Store supports 50MB, last I checked. > And cause we have really a lot graphics, we have to make two apks - one for > tablets and one for phones. Download the graphics post-install, either using the new OBB stuff, or just download your own ZIP file on first run. Most games that I have played with tons of graphics do one of these. > Of course I tried to use <compatible screens>, but it didn't make any > effect. I tried something like this for tablet version: > <uses-sdk android:minSdkVersion="8" /> <!-- android 2.2 for Galaxy Tab --> > <supports-screens android:xlargeScreens="true" android:anyDensity="true"/> > > and for phones: > <uses-sdk android:minSdkVersion="8"/> <!-- still a lot phones on android 2.2 > --> > <supports-screens android:largeScreens="true" android:anyDensity="true"/> Few things that a consumer would describe as a "phone" have a screen defined by Android as -large. You will also note that I said to use <compatible-screens>. You used <supports-screens>. While for most things <supports-screens> is the better choice, it is not in your case. For example, both of these are valid for -xlarge devices, and neither of these are valid for -normal devices (i.e., most things people think of as "phones"). > And the main problem is Galaxy Tab 7. It still got version for phones. I > can't filter it by minSdkVersion or something like this. I thought I can > use <supports-screens android:requiresSmallestWidthDp="600" /> to do it, but > this param is not used for filtering yet. And I do not know about some > filters based may be on physical size of display. Then don't distribute to the original Tab 7. The world will continue spinning on its axis. And if it doesn't, it is unlikely to be your fault. And even if it *is* your fault, we'll all be too busy with the resulting apocalypse to notice... :-) -- Mark Murphy (a Commons Guy) http://commonsware.com | http://github.com/commonsguy http://commonsware.com/blog | http://twitter.com/commonsguy Android Training...At Your Office: http://commonsware.com/training -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en

