Android is an open-source Linux-based operating system designed for (but not limited to) touchscreen devices such as mobile phones and tablets.
Most apps a written in a customised version of the Java programming language. The most popular IDE for Android development is Eclipse. The Android SDK can be downloaded from here, which includes the Android API and the Eclipse editor, with the Android plugin pre-installed.
Displaying A Web Page In Your App
Web pages can be displayed in your app through the
WebView interface. The
WebView class is an extension of the
You’ll need to have internet access to display the web page, so you’ll have to request
INTERNET permission in your manifest file.
Requesting Internet Permission
If you want to use the internet in your app, you have to add the permission to the manifest file as follows:
<manifest xlmns:android...> ... <uses-permission android:name="android.permission.INTERNET"></uses-permission> <application> ... </application> </manifest>
Make sure to add the permission between the manifest tag, and above the application tag.
WebSettings object of
WebView, by calling
This work is licensed under a Creative Commons Attribution 4.0 International License .