On 11/09/2008, Bradley Kite <[EMAIL PROTECTED]> wrote:
> Hi all,
>
>  I would like to develop an application that makes use of the wifi API
>  (android.net.wifi.*).
>
>  Is there any way that I can test my application within the emulator?
>
>  At the moment I am getting this error:
>
>  E/WifiService(   46): Failed to load Wi-Fi driver.
>
>  Which I kind of expected, as the emulator doesn't actually contain any
>  wifi "hardware".
>
>  Are there any hacks/tweaks I can make to QEMU that can make it present
>  an emulated piece of wifi hardware to the android device driver?
>
>  Is any body else also trying to use the wifi API's and has solved this 
> problem?
>
>  Many thanks in advance
>
> --
>  Brad

Hi all,

I've come to the assumption that I wont be able to get wifi working
within the emulator, so I'm trying to come up with some dummy data to
"pretend" that its come from the wpa_supplicant.

With this in mind, I'm trying to spoof some ScanResult structures, as
returned by the WifiManager.getScanResult().

However, it would seem like this API is still in a state of flux - for
example ScanResult.capabilities is documented as returning a String,
but with a TODO note saying that it should be parsed into a
WifiConfiguration object. Does this mean that the API will change so
that it returns the WifiConfiguration object, or is it expected of the
user to parse the string?

Would any body be able to clarify the situation with regards to how I
should be able to detect the parameters of a wifi network?

If somebody has access to a real device, could they please send me
some example strings  as returned by ScanResult.capabilities? In
particular, what would a free/open-access wifi network capabilities
string look like?

I'd really appreciate the help/guidance that any one has to offer.

Kind Regards
--
Brad.

--~--~---------~--~----~------------~-------~--~----~
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
[EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to