00 Votes

Android: WebView does not display external web pages

Question by Guest | 2016-10-08 at 19:50

I have just created my first own Android App and among other things, I am using a WebView therein to be able to show some HTML pages.

As long as I am delivering those webpages together with my App, it is working as expected. However, it is not possible to display or follow any link for showing a real website on the Internet.

What am I doing wrong? Actually I thought that this WebView is exactly made for this purpose.

ReplyPositiveNegative
0Best Answer0 Votes

Probably you have not given your app the permission to go to the Internet.

Just add the following permission to your manifest:

<uses-permission android:name="android.permission.INTERNET" />

With this it should work.
2016-10-09 at 15:28

ReplyPositive Negative
Reply

Related Topics

Android Splash Screen Tutorial

Tutorial | 0 Comments

Android Getting Sound Levels

Open Question | 1 Answer

Important Note

Please note: The contributions published on askingbox.com are contributions of users and should not substitute professional advice. They are not verified by independents and do not necessarily reflect the opinion of askingbox.com. Learn more.

Participate

Ask your own question or write your own article on askingbox.com. That’s how it’s done.