Resolution

by Sukitha Udugamasooriya » Wed, 19 Aug 2009 18:07:06 GMT


Sponsored Links
 Hi

I have created an application and I want to make sure it works in
different resolution.

 i have used LinearLayout and some ListViews and buttons.

I need to know will it be an issue if the apk is put to two different
phones which has different resolution.

thank u
--~--~---------~--~----~------------~-------~--~----~



Resolution

by Mark Murphy » Wed, 19 Aug 2009 18:36:40 GMT


 


If the same layout looks good in portrait (320x480) and landscape
(480x320), you are well on your way.

Otherwise, right now, Android does not officially support other screen
sizes, meaning the resources for testing other screen sizes is limited.

-- 
Mark Murphy (a Commons Guy)
 http://commonsware.com  |  http://twitter.com/commonsguy 

_The Busy Coders' Guide to *Advanced* Android Development_ In Print!

--~--~---------~--~----~------------~-------~--~----~


Sponsored Links


Resolution

by lilbyrdie » Wed, 19 Aug 2009 22:02:52 GMT


 In addition what what Mark said, you can use the emulator to test with
the QVGA skins, too (320x240 and 240x320).

Those resolutions should help quickly reveal any obvious layout
problems.




--~--~---------~--~----~------------~-------~--~----~



Resolution

by Dianne Hackborn » Thu, 20 Aug 2009 00:41:30 GMT


 Though note that the QVGA skins are not at all representative of
environments apps will find themselves running in any time soon, since the
1.5 emulator doesn't fully implement density scaling that would typically go
along with such a screen (which would be a similar physical size to the
HVGA, so lower density).







-- 
Dianne Hackborn
Android framework engineer
hack...@android.com

Note: please don't send private questions to me, as I don't have time to
provide private support, and so won't reply to such e-mails.  All such
questions should be posted on public forums, where I and others can see and
answer them.

--~--~---------~--~----~------------~-------~--~----~



Resolution

by Yusuf Saib (T-Mobile USA) » Thu, 20 Aug 2009 01:12:35 GMT


 FWIW, to run the emulator with different size screens, type in the
command line "emulator -skin<width>x<height>". You can go up until a
little north of 800x600 before it goes pop.

 http://www.android.encke.net/android-emulator-tutorial.html #Keyboard-Control



Yusuf Saib
Android
T  Mobile stick together
The views, opinions and statements in this email are those of the
author solely in their individual capacity, and do not necessarily
represent those of T-Mobile USA, Inc.








--~--~---------~--~----~------------~-------~--~----~



Resolution

by Sukitha Udugamasooriya » Thu, 20 Aug 2009 12:58:30 GMT


 thank you all. This was really helpful.
all the best
--~--~---------~--~----~------------~-------~--~----~



Other Threads

1. How to force an activity to display the soft keyboard?

do like this in Apidemos: 


<activity android:name=".app.CustomTitle"
                android:label="@string/activity_custom_title"
                android:windowSoftInputMode="stateVisible|adjustPan">
            <intent-filter>
                <action android:name="android.intent.action.MAIN" />
                <category android:name="android.intent.category.SAMPLE_CODE" />
            </intent-filter>
        </activity>
009-06-16ullo#88 <bulonce...@gmail.com> >

--~--~---------~--~----~------------~-------~--~----~

2. How to enable Google search by voice?

Hello,
I'm using HTC magic right now.
I'm happy with my phone, but I still have some question over it.

One thing I missed is the voice search function.
I know that it only support English right now, but not all people have
trouble on English.
Although I'm not in US, and I'm not a native English speaker, I can
speak English too.
So if that is possible, I'd like to enable the voice search feature of
apps
(i.e. Google Search, Google Map).

How am I supposed to do that?
Or is there any way to do so?


Koala Yeung
--~--~---------~--~----~------------~-------~--~----~

3. Capture Android's browser HTTP petitions.

4. Question: How to do EXIF reading and writing

5. Consume a key event

6. DEVELOPER CHALLENGE 2 - Can update of existing published app can participate?

7. Cover phone's screen & not quit