aspose file tools
The moose likes Android and the fly likes How to convert Android App to Samsung Galaxy S2 Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login
JavaRanch » Java Forums » Mobile » Android
Reply Bookmark "How to convert Android App to Samsung Galaxy S2" Watch "How to convert Android App to Samsung Galaxy S2" New topic
Author

How to convert Android App to Samsung Galaxy S2

Gokul Kesavalu
Greenhorn

Joined: Jan 08, 2008
Posts: 20
I have an apps built in Android 2.2. I need to port it for Samsung Galaxy S2. and its version is Android 2.3. Changing the version is done. But how can i fix up the screen resolution issues. Previously i developed for 240x320. Now it is 480 x 800. My question is from which folder the layout xml is readed. Samsung Galaxy S2 is small or normal or large or xlarge screen. Please answer me guys. Thanks in advance.


Thanks & Regards
Gokul.K
Tim Moores
Rancher

Joined: Sep 21, 2011
Posts: 2329
You shouldn't have to change the version. Later Android versions are supported automatically. If you set to manifest attributes to reflect Android 2.3, then the app will no longer run on 2.2 (which is still used by a large percentage of Android devices).

You should read http://developer.android.com/guide/practices/screens_support.html about how to develop for multiple screen sizes. http://developer.android.com/guide/practices/tablets-and-handsets.html (and all the other pages in the "Best Practices" section) should also be of interest.
Hardik Trivedi
Ranch Hand

Joined: Jan 30, 2010
Posts: 252
For both older and newer version layout will be read from layout-normal folder. And to support 480 x 800 resolution which is high resolution, you need to put newly designed images in drawable-hdpi folder. Images should be in better resolution then previous images.
 
 
subject: How to convert Android App to Samsung Galaxy S2
 
Threads others viewed
MP3 Player
Motorola Droid
Android app development in tablet
Upgrade to Android 2
Is Samsung Monte a good choice to buy?
MyEclipse, The Clear Choice

cast iron skillet 49er

more from paul wheaton's glorious empire of web junk: cast iron skillet diatomaceous earth rocket mass heater sepp holzer raised garden beds raising chickens lawn care CFL flea control missoula heat permaculture