internet not working with emulator?

by Hitendrasinh Gohil » Fri, 20 May 2011 12:41:20 GMT


Sponsored Links
 hi,

I am just trying to run browser from emultor but failed.each time i am
getting unknownhostexception:host could not be resolved.

I have googled for this and tried the below but not succed.

i)create a new virtual device(I have created avd number of times)

ii)i am using windows7 and i have turnedoff the firewall,but not
working.


so how can i trace what is the problem ?

-- 



Other Threads

1. 1.5 SDK crashing on in onReceive for BroadcastReceiver

Hello,

I've come across a strange problem reported by an HTC Droid Eris user,
and all testing on the other SDK's shows it to be fine. In a
BroadcastReceiver I have the following:
public class SMSReceiver extends BroadcastReceiver {
           @Override
           public void onReceive(Context context, Intent intent) {
                   Bundle bundle = intent.getExtras();
                   Object[] pdusObj = (Object[]) bundle.get("pdus");
                   SmsMessage[] messages = new SmsMessage[pdusObj.length];
           }

Every time a text message is received, I get a force close with the
following in LogCat:
03-04 21:34:03.330: ERROR/AndroidRuntime(1243): Uncaught handler:
thread main exiting due to uncaught exception
03-04 21:34:03.400: ERROR/AndroidRuntime(1243): java.lang.VerifyError:
com.myapp.app.SMSReceiver
03-04 21:34:03.400: ERROR/AndroidRuntime(1243):     at
java.lang.Class.newInstanceImpl(Native Method)
03-04 21:34:03.400: ERROR/AndroidRuntime(1243):     at
java.lang.Class.newInstance(Class.java:1472)
03-04 21:34:03.400: ERROR/AndroidRuntime(1243):     at
android.app.ActivityThread.handleReceiver(ActivityThread.java:2380)
03-04 21:34:03.400: ERROR/AndroidRuntime(1243):     at
android.app.ActivityThread.access$2700(ActivityThread.java:112)
03-04 21:34:03.400: ERROR/AndroidRuntime(1243):     at
android.app.ActivityThread$H.handleMessage(ActivityThread.java:1741)
03-04 21:34:03.400: ERROR/AndroidRuntime(1243):     at
android.os.Handler.dispatchMessage(Handler.java:99)
03-04 21:34:03.400: ERROR/AndroidRuntime(1243):     at
android.os.Looper.loop(Looper.java:123)
03-04 21:34:03.400: ERROR/AndroidRuntime(1243):     at
android.app.ActivityThread.main(ActivityThread.java:3948)
03-04 21:34:03.400: ERROR/AndroidRuntime(1243):     at
java.lang.reflect.Method.invokeNative(Native Method)
03-04 21:34:03.400: ERROR/AndroidRuntime(1243):     at
java.lang.reflect.Method.invoke(Method.java:521)
03-04 21:34:03.400: ERROR/AndroidRuntime(1243):     at
com.android.internal.os.ZygoteInit
$MethodAndArgsCaller.run(ZygoteInit.java:782)
03-04 21:34:03.400: ERROR/AndroidRuntime(1243):     at
com.android.internal.os.ZygoteInit.main(ZygoteInit.java:540)
03-04 21:34:03.400: ERROR/AndroidRuntime(1243):     at
dalvik.system.NativeStart.main(Native Method)


Any ideas would be appreciated. This seems to be working on every SDK
except for 1.5.

Thanks in advance!

-- 

2. How can i make a menu, wich doesn't hide?

Hey Guys, i'm making my first app on Android.

I alredy made 3 Tabs, one with a list. I now want a menu to appear and
stay when I switch to this tab. the same for example on iphone in the
iPod, you always see the menu with title, interpret, lists etc. I
can't figure it out. May you please help me? thx!

This is the menu:

public boolean onCreateOptionsMenu(Menu menu) {
        menu.add("option 1");
        menu.add("option 2");
        menu.add("option 3");
        return super.onCreateOptionsMenu(menu);

}

-- 

3. surface manager, overlay

4. Oot ada androiders di jambi ga?

5. Accuracy in GPS Location

6. racoon service in Android init.rc

7. Activity design advice