Skip to content

System Information

Retrieve device and system information.

Device Information

getAndroidID()

Get the Android device ID.

getAndroidID()

Returns: String device ID

getSysInfo()

Get comprehensive system information.

getSysInfo()

Returns: Dict with system details

getLocale()

Get device locale settings.

getLocale()

Returns: Locale string (e.g., "en_US")

Memory

getMemoryInfo()

Get RAM information.

getMemoryInfo()

Returns: Dict with memory stats

Display

getScreenInfo()

Get display information.

getScreenInfo()

Returns: Dict with width, height, density

Identifiers

getImei()

Get device IMEI.

getImei(slotIndex=None)

getMeid()

Get device MEID.

getMeid(slotIndex=None)

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}")