Friday, March 16, 2012

Re: [android-developers] Connectivity Manager does not return Active network information

Hi Mark and Robert ,
   Thanks a lot for the information.
I had my bluetooth active and connected to another mobile, but still returned null in API level 7.
So it means this can be verified only above API level 13?

My intention was to check the VPN connection.
Could you please guide me on that?

Regards,
Sha


On Thu, Mar 15, 2012 at 9:22 PM, Mark Murphy <mmurphy@commonsware.com> wrote:
On Thu, Mar 15, 2012 at 11:48 AM, Robert Greenwalt
<rgreenwalt@google.com> wrote:
> In some situations (reverse tethering) BT can be the active network, but as
> Mark says you'd have to have that turned on and connected.

Oops, I forgot they added that in API Level 13. Thanks for pointing that out!

--
Mark Murphy (a Commons Guy)
http://commonsware.com | http://github.com/commonsguy
http://commonsware.com/blog | http://twitter.com/commonsguy

Android App Developer 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 android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscribe@googlegroups.com
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 android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscribe@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

No comments:

Post a Comment