How To Access The Internet With An Emulator Simulating Android Tablet Without Gsm
Solution 1:
Have you looked at the Android-x86 project, it has wi-fi support so it will be able to do what you need. This screenshot shows wifi working.
I know it isn't exactly what your looking for, but as far as I'm aware you're correct in thinking that wi-fi support is not possible on the default emulator.
Solution 2:
The wifi initialization on emulator must be modified to do what you want. The idea is to trick to emulator wifi initialization phase and provide it a handmade list of wifi networks. For debugging purposes, I guess it's ok...
Someone did that here (code sample included) : http://kmansoft.com/2010/07/27/debugging-wifi-in-the-emulator/
Solution 3:
Maybe these point are trivial, but I would check:
- Had you defined the
<uses-permission android:name="android.permission.INTERNET"/>
inside the<manifest>
tag, but outside of the<application>
tag? - Don't forget, that what you put in manifest, describes your application, not emulator. (your question makes me think that you have an error in understanding it)
Edit: Ok, now I see.
Is there only one emulator out there? What about using different IDE with different emulator?
Solution 4:
If you want to access internet on your emulator then. Please have a look on this. It should be help for you.
First thing you have to set adb path(i.e. plateform tools and tools) then fire the following command on command prompt.
syntax: emulator.exe -avd avd_name -scale scale_size -dns-server 8.8.8.8
exa.
emulator.exe -avd avd2.2 -scale 0.7 -dns-server 8.8.8.8
Solution 5:
I think you should be able to do that
Post a Comment for "How To Access The Internet With An Emulator Simulating Android Tablet Without Gsm"