System Information¶
Retrieve device and system information.
Device Information¶
getAndroidID()¶
Get the Android device ID.
Returns: String device ID
getSysInfo()¶
Get comprehensive system information.
Returns: Dict with system details
getLocale()¶
Get device locale settings.
Returns: Locale string (e.g., "en_US")
Memory¶
getMemoryInfo()¶
Get RAM information.
Returns: Dict with memory stats
Display¶
getScreenInfo()¶
Get display information.
Returns: Dict with width, height, density
Identifiers¶
getImei()¶
Get device IMEI.
getMeid()¶
Get device MEID.
Usage Example¶
import androidhelper
droid = androidhelper.Android()
# Device ID
android_id = droid.getAndroidID().result
print(f"Android ID: {android_id}")
# Screen info
screen = droid.getScreenInfo().result
print(f"Screen: {screen['width']}x{screen['height']}")
# Memory
memory = droid.getMemoryInfo().result
print(f"Memory: {memory}")