In the AVD manager if you choose a Built-in skin then the Abstracted LCD density is ignored and it will set the density as described here:
Emulator Skins (from http://developer.android.com/tools/revisions/platforms.html)
The downloadable platform includes the following emulator skins:
QVGA (240x320, low density, small screen)
WQVGA400 (240x400, low density, normal screen)
WQVGA432 (240x432, low density, normal screen)
HVGA (320x480, medium density, normal screen)
WVGA800 (480x800, high density, normal screen)
WVGA854 (480x854 high density, normal screen)
WXGA720 (1280x720, extra-high density, normal screen)
WSVGA (1024x600, medium density, large screen)
WXGA800-7in (1280x800, high density, large screen) new
WXGA800 (1280x800, medium density, xlarge screen)
If you wish to set your own Abstracted LCD density you'll need to define your own resolution manually by clicking the Resolution radio button.
Here's some code you can use to test this:
DisplayMetrics metrics = new DisplayMetrics();
getWindowManager().getDefaultDisplay().getMetrics(metrics);
int density = metrics.densityDpi;
if (density == DisplayMetrics.DENSITY_HIGH) {
Toast.makeText(this, "DENSITY_HIGH... Density is " + String.valueOf(density), Toast.LENGTH_LONG).show();
}
else if (density == DisplayMetrics.DENSITY_MEDIUM) {
Toast.makeText(this, "DENSITY_MEDIUM... Density is " + String.valueOf(density), Toast.LENGTH_LONG).show();
}
else if (density == DisplayMetrics.DENSITY_LOW) {
Toast.makeText(this, "DENSITY_LOW... Density is " + String.valueOf(density), Toast.LENGTH_LONG).show();
}
else {
Toast.makeText(this, "Density is neither HIGH, MEDIUM OR LOW. Density is " + String.valueOf(density), Toast.LENGTH_LONG).show();
}
Nov 14, 2012
How to Create AVDS with Different Resolutions in Android
Sep 5, 2012
How to Install FileZilla
Linux, *BSD,
IPv6 support
Available in many languages
Supports resume and transfer of large files >4GB
Tabbed user interface
Powerful Site Manager and transfer queue
Bookmarks
Drag & drop support
Configurable transfer speed limits
Filename filters
Directory comparison
Network configuration wizard
Remote file editing
Keep-alive
HTTP/1.1, SOCKS5 and FTP-Proxy support
Logging to file
Synchronized directory browsing
Remote file search
What is new in version 3.5.1
New features:
Add menu item to hide toolbar
Bugfixes and minor changes:
Don't save server list in kiosk mode 2
Fix for predefined sites not appearing in all circumstances
OS X: Pasting formatted text into input boxes no longer changes their format
Fix typo in build script in detection of SQLite3
MSW: Small installer improvements
*nix: Fix character set conversion in desktop notification code
Merged upstream PuTTY changes for compatibility with PuTTY 0.61
Updated built-in TinyXML
Add support for another rate variant of MVS style directory listings
Install filezilla 3.5.1 using PPA
Open th terminal and run the following commands
Step 1- > sudo add-apt-repository ppa:n-muench/programs-ppaStep 2- > sudo apt-get update
Step 3- > sudo apt-get install filezilla
Aug 19, 2012
Micro soft dot net power point presentations and programs
Hi guys here we can find out some basics of c# and asp.net programs
and power point presentations .
ASP . Net presentations presentations
Programing in C# presentations
Dot Net Demo Programs presentations
dot net demo project presentations
Xml power point presentations presentations
WML power point presentaions
and power point presentations .
ASP . Net presentations presentations
Programing in C# presentations
Dot Net Demo Programs presentations
dot net demo project presentations
Xml power point presentations presentations
WML power point presentaions
Subscribe to:
Posts (Atom)