Documentation
¶
Overview ¶
Example: query device configuration properties.
Creates an AConfiguration, reads every available property (language, country, density, orientation, screen size, screen dimensions, and SDK version), and prints them. Language and Country are two-character ISO codes written through an out-parameter.
On a real device the values reflect the current system locale and display settings. When run with a freshly created (empty) config, most fields return zero or blank, which is the expected default behavior.
This program must run on an Android device.
Click to show internal directories.
Click to hide internal directories.