开发者

Android: Limit supported devices in Android Market

I have an application in the market that I want only Nexus S-users to be able to download. How can I do this?

开发者_JAVA百科

There is a "Supported Devices" in the publishing process, but I dont want to exclude devices 700times.

Can I in the manifest support only the Nexus S?

Dag


I'm not sure why you would want to exclude all other devices instead of the filtering by features of the device, but I'd suggest following the directions for Market Filters in the Android Developer Documentation that is provided by Google. I'd suggest using the Nexus S specs as the minimum specs and go from there.

EDIT: Google recently released a Device Availability Dialog in the Developer Console that allows you to understand which devices can run your application, as well as allowing you to filter out devices that you don't want to run your application.


Try this in your manifest:

 <supports-screens 
 android:smallScreens="true"
 android:normalScreens="true"
 android:largeScreens="true"
 android:xlargeScreens="true"
 android:anyDensity="true" />

good luck

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜