For all Android mobiles, there exists 3 screen sizes:
- Small: devices with a screen size smaller than the T-Mobile G1 or Samsung I7500, for example the recently announced HTC Tattoo.
- Normal: devices with a screen size roughly the same as the G1 or I7500
.
- Large: devices with a screen size larger than the G1 or I7500 (such as a tablet-style device.)
After the WatchFootballApp v1.1 was published, my HTC tattoo cannot search it in Android Market and i have to install it by running the .apk in my phone directly. The reason is you have to enable the small screen support in the AndroidManifest.xml before publishing your application and it is only applicable to Android SDK 1.6. Otherwise, your application can only be searched in those Android Market of Normal and Large screen phones.
So in order to enable the small screen resolution, you have to upgrade the Android SDK to 1.6 and add the following code in the AndroidManifest.xml.
<supports-screens android:largeScreens="true" android:normalScreens="true" android:smallScreens="true" android:anyDensity="true" />
By the way, the WatchFootballApp v1.1.3 (記得睇波 v1.1.3) has been published with better performance and small screen support. Now, you can download it thought the Android Market even you are using small screen Android phone.
Done =)
Reference: Support for additional screen resolutions and densities in Android
Nice blog, dude. I enjoy your posting. I am about to create blog about mobile phones, too.
Thanks!
LikeLike
Hi,
I am trying to use Resource Qualifier for layout as layout-large. But when the application is starting in the emulator its reading the same file from default layout folder. The res folder structure is as below :
res/
layout/login.xml
layout-large/login.xml
What I want is when there is large screen the layout-large/login.xml file should be read but its not.
What is wrong over here?
Any help would be appreciated?
Thanks & Regards
C.RAjesh
LikeLike
I guess the following url may help
Handling Multiple Screen Sizes, Part Three
Size-Based Sets
Similarly, if you wish to have different resource sets based upon screen size, Android offers -small, -normal, and -large resource set labels. Creating res/layout-large-land/ would indicate layouts to use on large screens (e.g., WVGA) in landscape orientation.
LikeLike
Hi ykyuen.
I need help, I want to highlight the path where it can possibly move , when I click the coin(like checker game coins and chessgame coins )and thanks for this tutorial…….
LikeLike
I think that is too advanced for me. sorry that i cannot help. =(
LikeLike
Hi,
I am trying to use Resource Qualifier for layout as layout-large,layout-normal,layout-small..using ninepatch images. But when the application is starting in the emulator is working all sceens. but images not looking properly i want to images clarity in all screens. layout-large is fine the problem is layout-small screens The res folder structure is as below :
res/
layout-large
layout-small
layout-normal
What I want is when there is large screen the layout-small/ in all xml file should be read but its not.
What is wrong over here?
Any help would be appreciated?
Thanks & Regards
v.rajasekhar
Reply ↓
LikeLike
I haven’t tried that before but i think the following post may help.
New Tools For Managing Screen Sizes
LikeLike
Hi all,
I am trying to pagenation is not working ..how to get pagenation in android please give any help would be appreciated?
Thanks & Regards
v.rajasekhar
Reply ↓
LikeLike
for pagination, you can refer to the following post.
How to implement a paging feature in Android
LikeLike