Os-FileUp: WebView based project to help android developers understand how to upload and process images/videos for any hybrid app. This project explains the usage of gallery and camera intent.
This project contains android application build files, that you can download and use directly with latest Android Studio. Follow further steps to get started in your personalised environment.
Minimum Android API 16+ (4.1 JellyBean) SDK (it all works but looks kinda ugly in JB). You can use any IDE of your choice but to be specific, I used latest Android Studio (till the last project update) with updated SDKs and Builds.
Just putting these basic steps to help starters:
File > Openchoose project folder and let android studio download supportive libraries.
Build > Clean Projectand
Build > Rebuild Project
Followings are permissions required for all the mentioned features to work.
<uses-permission android:name="android.permission.INTERNET" /> <uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE"/> <uses-permission android:name="android.permission.CAMERA"/>
INTERNET permission is required to access online content and
CAMERA permissions to take photo from camera and save it to gallery.
22/09/19 - Camera not working in API 29
This project is initially developed by Ghazi Khan.
You can post any issue(s) you are facing with regards to the project in the Issues section. If you want to contribute to the project, you're most welcome to help make a smarter project than it is.
Thanks mansya for the updated logo.
PROJECT NOTE: Android 4.4 doesn't support webview upload default method and it's a permanent bug as no more KitKat updates are going to be made. All other versions are working fine.
A PERSONAL NOTE: You must keep up with programming. Sometimes it's difficult and other times easy but fun overall. You can create your own world with programming and that's what makes this job interesting. All the best for your next voyage.