views:

116

answers:

4

Embed a browser inside the application. When the user navigates to a desired page, he pushes a button to "set" this page.

Now, the application gets the URL of this page!

How hard is this to do on the Android and iPhone?

+1  A: 

you can try 'WebView' in android refer. Web View (http://developer.android.com/intl/zh-TW/resources/tutorials/views/hello-webview.html)

XC
+3  A: 

The iPhone has the UIWebView class

see Here

I'm not sure about Android though.

goatlinks
+3  A: 

On Android, yes it's possible. See WebView#getUrl.

Roman Nurik
A: 

You may use this.

webview.loadDataWithBaseURL(baseUrl-add some fake url here, data, mimeType, encoding, failUrl-add some fake url here);
Vinayak.B