This project will help you develop Android Advanced WebView App with features out of the box and help you use amazing features the fullest with your existing web apps or simple HTML pages.
I keep updating this project, here are some of its currently available features:
Here is a simple walkthrough to help you understand the project:
These instructions will get you a copy of the project up and running on your local machine for development and testing purposes. The project requires minimum Android API 16+ (4.1 JellyBean) SDK to test. And you can use any development software of your choice, I used Android Studio making this.
You can remove any of the following requests if you do not need them or you can disable any feature using easy setup variables.
INTERNET permission is required if you are requesting a weburl or webpage and WRITE_EXTERNAL_STORAGE is required for camera photo creation, if you have enabled ASWP_FUPLOAD and ASWP_CAMUPLOAD to upload image files.
Once your project is ready here are some static variables you can change as per your Apps requirement.
ASWP_FUPLOAD = true; // upload file from webview
ASWP_CAMUPLOAD = true; // enable upload from camera for photos
ASWP_LOCATION = true; // track device locations with GPS
ASWP_RATINGS = true; // ask user for app ratings; edit method get_rating() for dialogue customizations
ASWP_PBAR = true; // show page load progress (progess bar) in app
ASWP_ZOOM = false; // ability to zoom view content
ASWP_SFORM = false; // save form cache and auto-fill information
Complete URL of your website, landing page or local file as (file:///android_res/dir/file)
ASWV_URL = "http://mgks.infeeds.com";
If file upload enabled, you can define its extention type, default is "*/*" for all file types; Use "image/*" for image types; check file type references on web for more
ASWV_F_TYPE = "*/*";
Getting GPS Location
If ASWP_LOCATION = true then the app will start requesting GPS locations of the device on regular basis and all of the recorded data will be sent to the webpage in terms of cookies, updating along with locations.
COOKIE "lat" for latitude
COOKIE "long" for longitude
If you found any bug or want to contribute to the project please contact me at: firstname.lastname@example.org
Thanks!! Don't forget to share it with your friends, you can share your responses in comments.