I've experienced this with the following devices: Motorola Milestone (7), Spice Mi-310 (8), HTC Desire (7), Samsung Galaxy Apollo (7), T-Mobile myTouch 3G Slide (7), ZTE Racer (7), Nokia N90 (10), Taiwan Mobile T2 (7), Samsung Galaxy 5 (7), HTC Legend (7)
I expect some more devices will pop up over the next few days. Side note - Nokia N90!? To summarise, I think there are too many devices to hardcode these special cases. The sim card check may be enough though I'm still open to other suggestions... Actually, the main reason I'm checking for this is to know whether or not to show a list of SMS messages. So maybe a better approach would be to do a quick check for what the SMS content provider returns. Won't be good enough to check for the presence of messages (i.e. no messages won't prove anything) but maybe there is something else to check for in this regard to discover whether SMS messages are applicable to the device? 2011/4/23 Mark Murphy <[email protected]> > On Fri, Apr 22, 2011 at 11:46 PM, Zsolt Vasvari <[email protected]> > wrote: > >> However, I notice this does not work (returns false) for some devices > that > >> definitely do have telephony (e.g. HTC Legend and Motorola Milestone). > In > >> both cases, they are running SDK 7, so I wonder whether this particular > >> feature is an SDK 8+ thing? > > > > I'd say these devices simply have a firmware bug or something > > returning the wrong value. > > Agreed. I don't remember the Legend, but the Milestone would have > shipped with an earlier version of Android than 2.1, then got OTA > upgraded (or the equivalent). It may be that Motorola missed whatever > corner of the firmware has the value that gets returned here. For the > Milestone specifically, you might consider asking your question on the > MOTODEV support boards. > > -- > Mark Murphy (a Commons Guy) > http://commonsware.com | http://github.com/commonsguy > http://commonsware.com/blog | http://twitter.com/commonsguy > > Android 3.0 Programming Books: http://commonsware.com/books > > -- > You received this message because you are subscribed to the Google > Groups "Android Developers" group. > To post to this group, send email to [email protected] > To unsubscribe from this group, send email to > [email protected] > For more options, visit this group at > http://groups.google.com/group/android-developers?hl=en > -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en

