I'm looking for the simplest way to write a boolean function that will tell me if the device the app is running on is capable of using C2DM.
I am aware that the presence of the Android Google Play app is guaranteed to ensure C2DM capability but not all devices have this and are still C2DM capable
As far as I can tell, The device needs to have the GSF installed (Google Services Framework) and a valid GMail account set up and these are the only requirements to guarantee C2DM will work. Is this accurate?
If so would a check for the existence of the GMail package and the Google Services Framework package be the best and most accurate approach?