2

I am developing a photo sharing app for Android. I have a web site that I want the Android to get WebViews for most of it, but I want the android to have a native home screen rather than the web site homescreen.

As of right now, I open a WebView for login (this is needed because i must login with twitter) but after that I want the android to go to its own native home screen rather that the web site home screen.

I have tried using the shouldOverrideUrl() method to no avail. Is it even possible to program and android app to switch from the WebView at a given url?

4

1 回答 1

0

只需创建一个方法来检查要捕获的 URL。然后让它不调用 URL 并打开主屏幕。

于 2012-06-17T02:20:57.323 回答