Usable Screen Size

by murali raju » Tue, 09 Mar 2010 23:18:48 GMT

Sponsored Links
    you can do it by using override method onTouch(), so that u get the
coordinates and calculate the application area.


Usable Screen Size

by murali raju » Tue, 09 Mar 2010 23:24:18 GMT

 or the best way would be use window manager
windowHeight = this.getWindowManager().getDefaultDisplay().getHeight();

this would be ur notification bar height.


Sponsored Links

Usable Screen Size

by neha » Tue, 09 Mar 2010 23:27:47 GMT

 How can i get the usable screen size in android?

By usable screen size i mean the screen size - size of taskbar.
I can easily get the screen size by DisplayMetrics.

DisplayMetrics dm = new DisplayMetrics();
int height = dm.heightPixels;
int width = dm.widthPixels;

How can i get the size of takbar or the usable screen size.


Other Threads

1. Change package name after market deployment

Hi all. We put an app on the market, and now the client wants to
change the package names to something completely different.

Will the market let you do this, if I upload an update? Or must the
package structure remain the same once uploaded?



2. Corrupt downloads from the Market

Occasionally I get someone emailing me that my program is giving them 
incorrect calculations.  Trying what they entered I don't get the same 
error.  Then they email me back and say they uninstalled and reinstalled 
and now the program works correctly.  Sounds like some better error 
checking needs to be added to the download process from the Market.  Bet 
there is nothing currently.  Anyone else find this happening?


3. Using fragments between Applications

4. Howto get string /dev/block/vold/179:1 ( sdcard device) in an android app

5. Disable autosuggest/correct

6. Tabs On Sense Devices

7. === My ContentProvider.query() can not populate a Cursor. ===