How can I tell if a device is using HTC’s SenseUI?
I thought about using android.os.Build information, but they seem inconsistent.. is there a more definitive way?
I need to be able to tell if I can launch the calendar by using com.android.calendar or com.htc.calendar.
I welcome any suggestions!!
You are welcome to use
PackageManagerto see ifcom.htc.calendarexists on the device. And you can usePackageManagerto derive anIntentuseful for opening that package. Whether that will “launch the (HTC) calendar” is up to HTC and Android, not you.Also, as Marya suggests, what you are doing is not a good idea, because there is no rule that HTC will use
com.htc.calendaron every Sense device, now and in the future.