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. Long Click Event of Button

Hello all,

I have a problem. I use Click and Long Click Event in a button.
Everything's seems fine. However; whenever a user long click the
button, the click event also triggers. I couldn't find what I am doing
wrong. On the other hand, I noticed something might highly relevant
showDialog function returns before the user selects in the popup menu.

this is the long click function:

        public boolean onLongClick(View view) {
                        theActiveButton = (Button) view;
                return false;

and this is the dialog handler:

                AlertDialog listdialog = new AlertDialog.Builder
                .setItems(R.array.entries_flaglist, new
DialogInterface.OnClickListener() {
                        public void onClick(DialogInterface dialog, int 
whichButton) {
                                case 0:
                                case 1:
                                case 2:
                                case 3:
                return listdialog;

Any comment will be helpful.

Thank you,


2. How does LocationManager.requestLocationUpdates interact with power management?

I'm looking at writing an application which includes functionality
similar to Google's My Tracks (with some additional data collection
support and a specialized user interface).

If periodic location updates are requested with a minimum update delay
provided but the phone goes to sleep either by timeout or explicit
user request, will the phone wake up every minTime ms to poll? If not,
do I need to grab PARTIAL_WAKE_LOCK for my application to be able to
record the user's path, or will a more conservative approach (such as
setting an alarm to run every minTime ms, waking on the alarm, keeping
the CPU awake until a location update is received, and then going back
to sleep) work? Is there a better way to periodically poll position
without running more of the phone hardware than necessary which I
haven't thought of yet?

Do I need to be concerned about GPS reacquisition time if the CPU has
been off since the most recent query?



3. Emulator fails at boot up

4. decompilar .dex

5. returning result from webview javascript?

6. free vs. paid - what is better revenue model?

7. File Upload Question