Android Studio Webview project shows how website pages and web apps/api can be loaded within an android app with the help of an element called webview.
How to use:
- Open Android Studio
- Create a new blank project
- Open your MainActivity.java, Copy and paste the source code from this Github project MainActivity.Java into
- Open your Android Manifest file, go to the sixth line, copy and paste the code bellow into it:
- Replace the MainActivity.java with your own package name
- Copy and paste all xml code from activity_main.xml to your project activity_mail.xml
- Rebuild your project then Run
Thats all, you are good to go!!