Re: [android-developers] How to load url in webview.
Hi All, Above code not working in my system because of proxy problem. Is anyone know how to set behind proxy in emulator. Thanks Sohan Badaya On Fri, Jun 11, 2010 at 7:52 PM, Sohan badaya wrote: > Hi, > > Thanks for reply, > I will try this code behind proxy. > Hope this will work. > > Sohan Badaya > > > > On Fri, Jun 11, 2010 at 7:38 PM, Mark Murphy wrote: > >> Sohan badaya wrote: >> > Hi, >> > >> > Thanks for reply, >> > Yes i have written internet permission in menifest file. >> >> Try other Web pages. >> >> You mentioned a proxy server. AFAIK, whatever setting you have for the >> device proxy will be used by WebView. I do not see where you can >> configure a separate proxy for the WebView. >> >> -- >> Mark Murphy (a Commons Guy) >> http://commonsware.com | http://github.com/commonsguy >> http://commonsware.com/blog | http://twitter.com/commonsguy >> >> Android Consulting: http://commonsware.com/consulting >> >> -- >> 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 >> > > -- 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
Re: [android-developers] How to load url in webview.
Hi, Thanks for reply, I will try this code behind proxy. Hope this will work. Sohan Badaya On Fri, Jun 11, 2010 at 7:38 PM, Mark Murphy wrote: > Sohan badaya wrote: > > Hi, > > > > Thanks for reply, > > Yes i have written internet permission in menifest file. > > Try other Web pages. > > You mentioned a proxy server. AFAIK, whatever setting you have for the > device proxy will be used by WebView. I do not see where you can > configure a separate proxy for the WebView. > > -- > Mark Murphy (a Commons Guy) > http://commonsware.com | http://github.com/commonsguy > http://commonsware.com/blog | http://twitter.com/commonsguy > > Android Consulting: http://commonsware.com/consulting > > -- > 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 > -- 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
Re: [android-developers] How to load url in webview.
Sohan badaya wrote: > Hi, > > Thanks for reply, > Yes i have written internet permission in menifest file. Try other Web pages. You mentioned a proxy server. AFAIK, whatever setting you have for the device proxy will be used by WebView. I do not see where you can configure a separate proxy for the WebView. -- Mark Murphy (a Commons Guy) http://commonsware.com | http://github.com/commonsguy http://commonsware.com/blog | http://twitter.com/commonsguy Android Consulting: http://commonsware.com/consulting -- 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
Re: [android-developers] How to load url in webview.
Hi, Thanks for reply, Yes i have written internet permission in menifest file. Sohan Badaya On Fri, Jun 11, 2010 at 7:09 PM, Mark Murphy wrote: > Sohan badaya wrote: > > "Not working means" I am getting blank white screen. > > When i hit url in browser of emulator, it works so internet connection > > is perfectly fine. > > Do you have the INTERNET permission in your manifest? > > Does LogCat have any information? You can access LogCat via adb logcat, > DDMS, or the DDMS perspective in Eclipse. > > -- > Mark Murphy (a Commons Guy) > http://commonsware.com | http://github.com/commonsguy > http://commonsware.com/blog | http://twitter.com/commonsguy > > Android Training...At Your Office: http://commonsware.com/training > > -- > 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 > -- 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
Re: [android-developers] How to load url in webview.
Sohan badaya wrote: > "Not working means" I am getting blank white screen. > When i hit url in browser of emulator, it works so internet connection > is perfectly fine. Do you have the INTERNET permission in your manifest? Does LogCat have any information? You can access LogCat via adb logcat, DDMS, or the DDMS perspective in Eclipse. -- Mark Murphy (a Commons Guy) http://commonsware.com | http://github.com/commonsguy http://commonsware.com/blog | http://twitter.com/commonsguy Android Training...At Your Office: http://commonsware.com/training -- 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
Re: [android-developers] How to load url in webview.
Hi, Thanks for reply. "Not working means" I am getting blank white screen. When i hit url in browser of emulator, it works so internet connection is perfectly fine. Can it be proxy issue. Sohan Badaya On Fri, Jun 11, 2010 at 6:59 PM, Mark Murphy wrote: > Would you mind telling us how it is "not working"? > -- 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
Re: [android-developers] How to load url in webview.
Would you mind telling us how it is "not working"? Sohan badaya wrote: > Below code not working in my system. > > public class WebViewDemo extends Activity { > /** Called when the activity is first created. */ > @Override > public void onCreate(Bundle savedInstanceState) { > super.onCreate(savedInstanceState); > setContentView(R.layout.main); > WebView lWebView = (WebView)this.findViewById(R.id.webviewid); > lWebView.getSettings().setJavaScriptEnabled(true); > lWebView.loadUrl("http://www.google.co.in";); > } > } -- Mark Murphy (a Commons Guy) http://commonsware.com | http://github.com/commonsguy http://commonsware.com/blog | http://twitter.com/commonsguy Warescription: Three Android Books, Plus Updates, One Low Price! -- 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