The default Browser application on my HTC Hero v1.5 just keeps coming up with the standard "Web page not available" page when I try to display html page from my android application
Asked
Active
Viewed 133 times
1
-
can you see the page in your browser?? is your internet active?? – Illegal Argument May 26 '14 at 04:00
-
6Did you add [INTERNET_PERMISSION](http://stackoverflow.com/questions/2378607/what-permission-do-i-need-to-access-internet-from-an-android-application)? – kichik May 26 '14 at 04:00
-
my html file in assets folder so no required any INTERNET_PERMISSION permission for access html file... – Sandip May 26 '14 at 04:15
-
You need add the INTERNET_PERMISSION in your manifest file. – hcarrasko May 26 '14 at 04:16
-
If it's local, some code would help. – kichik May 26 '14 at 16:43
-
possible duplicate of [web page not available error](http://stackoverflow.com/questions/6160165/web-page-not-available-error) – Richard Le Mesurier Jun 09 '15 at 16:16
1 Answers
1
You need add the INTERNET permission in you Manifest file:
<manifest xlmns:android...>
...
<uses-permission android:name="android.permission.INTERNET"></uses-permission>
</manifest>
more info here:
http://developer.android.com/guide/topics/manifest/manifest-intro.html

hcarrasko
- 2,320
- 6
- 33
- 45