screen size compatibility

by Abhi » Fri, 18 Dec 2009 00:06:37 GMT

Sponsored Links

I want to make my app compatible to different screen sizes. I am right
now developing on the Droid and need to know how can I import the
screen image on eclipse emulator? I don't have a droid phone but want
to make sure my app layout doesn't change on the Droid.

Any suggestions?



screen size compatibility

by » Fri, 18 Dec 2009 00:19:55 GMT

 You can use an emulator and set it to Droid WVGA resolution.

If you are just testing screen sizes this should be fine.

If you need to test other functionality of the device, e.g. camera,
gps, integration between apps, etc. you will be better off with the
device itself.


Sponsored Links

Other Threads

1. How to create new page / form

I'm working on some application for android and I can't find anything
useful for my problem. I want to open / create new page (just like
first page / default page but with other functionalities) on button
click. I've tried to create custom dialog like on this page:
but when i clicked the button my application always crashed.

My code for custom dialog:

 protected Dialog onCreateDialog(int id) {
        Dialog dialog=null;
        switch(id) {
        case DIALOG_PAGE2_ID:
            // do the work to define the PAGE2
            // do the work to define the PAGE DEFAULT
                Context mContext = getApplicationContext();
                dialog = new Dialog(mContext);

                dialog.setTitle("Custom Dialog");
                TextView text = (TextView) dialog.findViewById(;
                text.setText("Default page");

            dialog = null;
 return dialog;

Here i want to open / call it:

this.LogIN = (Button)this.findViewById(;
this.LogIN.setOnClickListener(new OnClickListener1() {
public void onClick(View v) {


Is Custom dialog solution to my problem or should I create new

Sorry for mistakes in my English



2. Trying to delete google account programmatically from my app.

Usually a good place to start is to find out what's causing it to crash.
 Use logcat and look for "caused by" in the exception.

My money's on a NullPointerException.


3. CLOSED WTA : hapus file di /cache

4. Cannot load kml files through Emulator Control in Eclipse..

5. Update : Nama Pemesan Gantungan Kunci ( Kloteran ditutup )

6. Find the current video output devices in android

7. intent to play mp4 problems