> I am not sure the PackageManager.FEATURE_TELEPHONY will return false
> as you described.

I'm sure. Users wrote me and I asked them to check it. This feature is
missing
in their devices. One of the users has HTC EVO 4G, the other has HTC
Sprint Hero devices.

> But if what you described is correct, why dont you check the IMSI or
> the phone number?

Maybe it is the solution, I don't know. That is why I wrote my post.
In a Xoom for example, if I try to get TelephonyManager then I got
null or exception or
I got the instance?

You know I put the FEATURE_TELEPHONY check to my app to work well on
tablets too.
I want telephony-specific features disabled on that devices.

After this update I got the emails that these options are disabled in
their phones.

Maybe it is good to know for everybody that it isn't the reliable
solution.

T.

>
> Terence
>
> On Apr 26, 4:30 pm, b_t <bartata...@gmail.com> wrote:
>
>
>
>
>
>
>
> > Hi,
>
> > Is there any way to check if telephony is available?
>
> > Checking for PackageManager.FEATURE_TELEPHONY feature is not a
> > solution because
> > there are phones that says false to this feature but has telephony.
>
> > Thanks, Tamás

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to