I do have this line in there...

On Aug 11, 2:46 pm, Jack Ha <jack...@t-mobile.com> wrote:
> Make sure you have the following line in your AndroidManifest file.
>
> <uses-permission android:name="android.permission.CHANGE_WIFI_STATE"></
> uses-permission>
>
> --
> Jack Ha
> Open Source Development Center
> ・T・ ・ ・Mobile・ stick together
>
> The views, opinions and statements in this email are those of
> the author solely in their individual capacity, and do not
> necessarily represent those of T-Mobile USA, Inc.
>
> On Aug 11, 10:55 am, Abhi <abhishek.r.sha...@gmail.com> wrote:
>
>
>
> > Hi Jack,
>
> > posting my reply again... dunno where my previous post went.
>
> > I have the complete code now but the app force closes on my emulator.
> > Is it because the emulator doesn't support WiFi apps? and force closes
> > when it tries to scan for networks? I thought the emulator would just
> > get stuck at the Starting Scan phase but wouldn't crash... correct?
>
> > Abhi
>
> > On Aug 11, 11:41 am, Jack Ha <jack...@t-mobile.com> wrote:
>
> > > WifiReceiver is not part of the SDK.
>
> > > Are you referring to the following example? You'll see WifiReceiver
> > > extends BroadcastReceiver.
>
> > >    http://www.androidsnippets.org/snippets/9/
>
> > > --
> > > Jack Ha
> > > Open Source Development Center
> > > ・T・ ・ ・Mobile・ stick together
>
> > > The views, opinions and statements in this email are those of
> > > the author solely in their individual capacity, and do not
> > > necessarily represent those of T-Mobile USA, Inc.
>
> > > On Aug 11, 6:37 am, Abhi <abhishek.r.sha...@gmail.com> wrote:
>
> > > > I don't see this in the list of WiFi classes on the latest
> > > > documentation found 
> > > > herehttp://developer.android.com/reference/android/net/wifi/package-summa...
>
> > > > I am refering to a WifiScanner code (snippet below) to scan wireless
> > > > networks
>
> > > > public class WifiTester extends Activity {
> > > >     TextView mainText;
> > > >     WifiManager mainWifi;
> > > >     WifiReceiver receiverWifi;
> > > >     List<ScanResult> wifiList;
> > > >               ...........................
>
> > > > and it gives me an error in Eclipse saying 'WifiReceiver cannot be
> > > > resolved to a type'. Any help would be appreciated.
>
> > > > Please also let me knw how to replace the part of code that has
> > > > WifiReceiver in it with any of the existing classes.
>
> > > > Thanks,
>
> > > > Abhi- Hide quoted text -
>
> > > - Show quoted text -- Hide quoted text -
>
> - Show quoted text -
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "Android Beginners" group.
To post to this group, send email to android-beginners@googlegroups.com
To unsubscribe from this group, send email to
android-beginners-unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-beginners?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to