We dont expose the hotspot APIs for use by applications yet. They are not final and likely to break in the future.
Irfan On Tue, Nov 9, 2010 at 12:58 PM, Mark Murphy <[email protected]>wrote: > They are not part of the public SDK at present. If you look at the > source code, you will see they all have the @hide annotation. They > might be introduced in the future, but for the moment they are hidden, > perhaps because the API is unstable. > > On Tue, Nov 9, 2010 at 5:04 AM, Phil <[email protected]> wrote: > > I'm looking at how Android supports wifi portable hot spot > > functionality with a view to writing simple home screen widget that > > allows people to turn the phone's wifi hotspot on and off without > > digging into the device settings. > > > > There was nothing obvious at developer.android.com so I dug through my > > copy of the Android source code and found that the WifiManager class > > (android.net.wifi.WifiManager) provides the basics to allow the state > > to be queried. So as well as 'getWifiState()' there is > > 'getWifiApState()' and a matching set of state constants. > > > > However, in my bang-up-to-date Eclipse IDE, this class has none of the > > Ap methods or constants. Can anyone shed any light on this? > > > > Thanks, > > Phil. > > > > -- > > 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]<android-developers%[email protected]> > > For more options, visit this group at > > http://groups.google.com/group/android-developers?hl=en > > > > > > -- > 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 [email protected] > To unsubscribe from this group, send email to > [email protected]<android-developers%[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

