[android-developers] Re: How To Programmatically Turn On/Off WIFI?

2009-09-19 Thread !oEL
good point!!! On 9月19日, 上午1时50分, Marco Nelissen marc...@android.com wrote: Sure you can, you just need a phone. On Fri, Sep 18, 2009 at 9:21 PM, !oEL runzhou...@gmail.com wrote: So there is no way I can really test it? On 9月18日, 下午1时07分, Roman ( T-Mobile USA) roman.baumgaert...@t-

[android-developers] Re: How To Programmatically Turn On/Off WIFI?

2009-09-19 Thread Roman ( T-Mobile USA)
Tell the Android team to add Wifi support in the emulator ... -- Roman Baumgaertner Sr. SW Engineer-OSDC ·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

[android-developers] Re: How To Programmatically Turn On/Off WIFI?

2009-09-18 Thread Roman ( T-Mobile USA)
You don't have Wifi support on the emulator -- Roman Baumgaertner Sr. SW Engineer-OSDC ·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

[android-developers] Re: How To Programmatically Turn On/Off WIFI?

2009-09-18 Thread !oEL
So there is no way I can really test it? On 9月18日, 下午1时07分, Roman ( T-Mobile USA) roman.baumgaert...@t- mobile.com wrote: You don't have Wifi support on the emulator -- Roman Baumgaertner Sr. SW Engineer-OSDC ·T· · ·Mobile· stick together The views, opinions and statements in this

[android-developers] Re: How To Programmatically Turn On/Off WIFI?

2009-09-18 Thread Marco Nelissen
Sure you can, you just need a phone. On Fri, Sep 18, 2009 at 9:21 PM, !oEL runzhou...@gmail.com wrote: So there is no way I can really test it? On 9月18日, 下午1时07分, Roman ( T-Mobile USA) roman.baumgaert...@t- mobile.com wrote: You don't have Wifi support on the emulator -- Roman

[android-developers] Re: How To Programmatically Turn On/Off WIFI?

2009-09-17 Thread !oEL
Thank you guys. I got rid of the Security Exceptions by adding a couple of permissions, including WAKE_LOCK, which appears to be the exception I got after adding the two WIFI ones. However, now I've managed to actually access the state, but in Emulator it tells me: Failed to load WIFI driver.

[android-developers] Re: How To Programmatically Turn On/Off WIFI?

2009-09-16 Thread MrChaz
Add uses-permission android:name=android.permission.CHANGE_WIFI_STATE/ uses-permission uses-permission android:name=android.permission.ACCESS_WIFI_STATE/ uses-permission to the manifest file On Sep 16, 4:36 am, !oEL runzhou...@gmail.com wrote: Hi, Second question of the day, how do I

[android-developers] Re: How To Programmatically Turn On/Off WIFI?

2009-09-16 Thread !oEL
Hi, Thank you for the help. However I'm still getting some Security Exception, will report later on the details. On Sep 16, 5:15 am, MrChaz mrchazmob...@googlemail.com wrote: Add uses-permission android:name=android.permission.CHANGE_WIFI_STATE/ uses-permission uses-permission

[android-developers] Re: How To Programmatically Turn On/Off WIFI?

2009-09-16 Thread Roman ( T-Mobile USA)
Could you post the Exceptions? What might help is a clean on your project. I got the following exception nor current process has android.permission.WAKE_LOCK and resolved it by cleaning the project/ -- Roman Baumgaertner Sr. SW Engineer-OSDC ·T· · ·Mobile· stick together The views,

[android-developers] Re: How To Programmatically Turn On/Off WIFI?

2009-09-16 Thread Raphael
On Tue, Sep 15, 2009 at 8:36 PM, !oEL runzhou...@gmail.com wrote: Hi, Second question of the day, how do I programmatically turn on/off WIFI? There's an example at line 226 here: