[android-developers] Re: Request a webpage and display in app

2011-03-10 Thread vnv
On Mar 10, 3:24 pm, Raghav Sood raghavs...@gmail.com wrote: Hi everyone, Hi to you also! I am trying to create an app that take an URl as a user input This is first part. http://developer.android.com/guide/tutorials/hello-world.html Learn how to use components and take input from views

Re: [android-developers] Re: Request a webpage and display in app

2011-03-10 Thread Raghav Sood
Thanks Mark and Nikola, You have solved my problem. I have one more question. How do I restrict the WebView Browsing to only 1 domain i.e. users can only browse .com sites. P.S. Mark your commonsware site copyright reads 2009 Thanks -- Raghav Sood http://www.raghavsood.com/ -- You received

Re: [android-developers] Re: Request a webpage and display in app

2011-03-10 Thread Mark Murphy
On Thu, Mar 10, 2011 at 9:57 AM, Raghav Sood raghavs...@gmail.com wrote: I have one more question. How do I restrict the WebView Browsing to only 1 domain i.e. users can only browse .com sites. Use a WebViewClient and shouldOverrideUrlLoading(). P.S. Mark your commonsware site copyright reads

Re: [android-developers] Re: Request a webpage and display in app

2011-03-10 Thread Raghav Sood
Thanks Mark, I'll see how this goes. -- Raghav Sood http://www.raghavsood.com/ -- 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

[android-developers] Re: Request a webpage and display in app

2011-03-10 Thread vnv
On Mar 10, 4:06 pm, Raghav Sood raghavs...@gmail.com wrote: Thanks Mark, I'll see how this goes. -- Raghav Soodhttp://www.raghavsood.com/ Here is tutorial ! http://www.firstdroid.com/2010/08/05/override-url-loading-in-webview-android-tutorial/ Nikola. -- You received this message

[android-developers] Re: Request a webpage and display in app

2011-03-10 Thread netlander
Try using WebView in your activity. http://developer.android.com/reference/android/webkit/WebView.html Llies On Mar 10, 2:24 pm, Raghav Sood raghavs...@gmail.com wrote: Hi everyone, I am trying to create an app that take an URl as a user input and displays the webpage below the textbox. I