Question

If i follow the user guidelines for the notification bar design it has to be dark gray (for android < 2.3) But on sense, the notification bar is black, so my icon is almost invisible.

Is there a way to detect the senseUI to create a new resources folder just for senseUI ?

Was it helpful?

Solution

Not specifically Sense but you can check the Build strings and match them against known SenseUI phones. Build.Model is probably your best bet. http://developer.android.com/reference/android/os/Build.html

An alternative would be to let the user change which one gets displayed by placing it in your options screen.

OTHER TIPS

smith324 got to it before I did but here are the relevant Build strings I just pulled of an HTC Desire. Unfortunately no indication of 'Sense' in there but as smith324 suggested, checking against known phones with Sense might help.

BOARD: bravo
BRAND: htc_wwe
DEVICE: bravo
HARDWARE: bravo
MANUFACTURER: HTC
MODEL: HTC Desire
PRODUCT: htc_bravo
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top