Skip to content Skip to sidebar Skip to footer

Android V2.2-2.3.5: Webview : Loaddatawithbaseurl : Will Only Load Page Once

When I'm loading a page using .loadData or .loadDataWithBaseURL, the system will load a page once. After that, subsequent calls do not work. In 4.0.3, if I were to call the functio

Solution 1:

In loadDataWithBaseURL, set the last parameter to the URL where that data came from, instead of null.

Solution 2:

I think it should be "file:///". You just missed one slash.

Post a Comment for "Android V2.2-2.3.5: Webview : Loaddatawithbaseurl : Will Only Load Page Once"