Is it possible to do this on the Android and iPhone? (for mobile developers) [closed]
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?
The iPhone has the UIWebView class
see Here
I'm not sure about Android though.
On Android, yes it's possible. See WebView#getUrl.
You can try 'WebView' in android.
Refer to WebView.
You may use this.
webview.loadDataWithBaseURL(baseUrl-add some fake url here, data, mimeType, encoding, failUrl-add some fake url here);
精彩评论