Do u want me use android.permission twice in android:name ??
On Mon, Oct 11, 2010 at 12:23 PM, pramod.deore <deore.pramo...@gmail.com>wrote: > Try setting permission as > <uses-permission > android:name="android.permission.android.permission.INTERNET" /> > this instead of > <uses-permission android:name=*"android.permission.INTERNET"* /> > > On Oct 11, 11:44 am, Rajesh Pelluru <mail2pell...@gmail.com> wrote: > > Yep and I gave below permissions: > > > > <uses-permission android:name=*"android.permission.READ_PHONE_STATE"*/> > > > > <uses-permission android:name=*"android.permission.INTERNET"* /> > > > > <uses-permission android:name=*"android.permission.WRITE_SETTINGS"* /> > > > > On Mon, Oct 11, 2010 at 12:10 PM, pramod.deore <deore.pramo...@gmail.com > >wrote: > > > > > Did you add the INTERNET permission to your manifest file? > > > > > On Oct 11, 11:15 am, Rajesh Pelluru <mail2pell...@gmail.com> wrote: > > > > Log cat : > > > > > > 10-11 11:39:02.699: WARN/System.err(303): > > > > com.try.messaging.traveler.TmException: Host is unresolved: > > > > mo22.moproxy.com:5001 > > > > 10-11 11:39:02.699: WARN/System.err(303): at > > > > > com.try.messaging.traveler.TmSession.startTmMessage(TmSession.java:502) > > > > 10-11 11:39:02.708: WARN/System.err(303): at > > > > > com.try.messaging.traveler.TmSession.sendTmMessage(TmSession.java:361) > > > > 10-11 11:39:02.708: WARN/System.err(303): at > > > > com.try.messaging.traveler.TmSession.getUrlPrefix(TmSession.java:266) > > > > 10-11 11:39:02.718: WARN/System.err(303): at > > > > > com.try.messaging.traveler.TmSession.startTmMessage(TmSession.java:416) > > > > 10-11 11:39:02.718: WARN/System.err(303): at > > > > com.try.mo.MoObject.execute(MoObject.java:281) > > > > 10-11 11:39:02.728: WARN/System.err(303): at > > > > com.try.mo.MoInternalCalls.echo(MoInternalCalls.java:22) > > > > 10-11 11:39:02.728: WARN/System.err(303): at > > > > > > com.try.mo.MocaProcessServerQueue.processTillStoppedGuts(MocaProcessServerQueue.java:233) > > > > 10-11 11:39:02.738: WARN/System.err(303): at > > > > > > com.try.mo.MocaProcessServerQueue.processTillStopped(MocaProcessServerQueue.java:112) > > > > 10-11 11:39:02.738: WARN/System.err(303): at > > > > > > com.try.mo.MocaProcessQueue$MocaProcessQueueThread.run(MocaProcessQueue.java:164) > > > > > > --Rajesh > > > > > > On Mon, Oct 11, 2010 at 11:01 AM, pramod.deore < > deore.pramo...@gmail.com > > > >wrote: > > > > > > > Provide Logcat output. > > > > > > > On Oct 11, 10:00 am, Rajesh Pelluru <mail2pell...@gmail.com> > wrote: > > > > > > Hi, > > > > > > If i try to open connection forhttp://localhost:5001using > > > > > > HttpURLConnection in my android app, i am getting host not > resolved > > > issue > > > > > in > > > > > > my android emulator. > > > > > > Internet connection is working in my emulator and I am able to > browse > > > the > > > > > > web sites using my emulator. > > > > > > > > I tried below options > > > > > > > > 1. Created new AVD > > > > > > > > 2. Restarted both Eclipse IDE and AVD > > > > > > > > 3. Instead of localhost , i used ipaddress of the machine > > > > > > > > None of the above options didn't work for me. > > > > > > > > Could anyone help me on the same. > > > > > > > > --Rajesh > > > > > > > -- > > > > > 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 > > > > > android-developers+unsubscr...@googlegroups.com<android-developers%2bunsubscr...@googlegroups.com> > <android-developers%2bunsubscr...@googlegroups.com<android-developers%252bunsubscr...@googlegroups.com> > > > > > <android-developers%2bunsubscr...@googlegroups.com<android-developers%252bunsubscr...@googlegroups.com> > <android-developers%252bunsubscr...@googlegroups.com<android-developers%25252bunsubscr...@googlegroups.com> > > > > > > > > > For more options, visit this group at > > > > >http://groups.google.com/group/android-developers?hl=en > > > > > -- > > > 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 > > > android-developers+unsubscr...@googlegroups.com<android-developers%2bunsubscr...@googlegroups.com> > <android-developers%2bunsubscr...@googlegroups.com<android-developers%252bunsubscr...@googlegroups.com> > > > > > For more options, visit this group at > > >http://groups.google.com/group/android-developers?hl=en > > -- > 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 > android-developers+unsubscr...@googlegroups.com<android-developers%2bunsubscr...@googlegroups.com> > For more options, visit this group at > http://groups.google.com/group/android-developers?hl=en > -- 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 android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en