/os-fileup

Helper app to understand how to upload files and do basic image/video processing in hybrid android apps.

Primary LanguageJavaMIT LicenseMIT

Project FileUp is Now Archived

As of April 2023, Project FileUp is discontinued and preserved as an archive here.

You can still download the resource files and test them but there is not much hope that Android source codes have not changed and are buggier, and more painful to understand already. Yet, I'm still working on other projects similar to this, checkout Smart WebView for further refence.

Similar Project - Smart WebView for Android

Project FileUp for Android

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.

Getting Started

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.

Requirements

Minimum Android API 16+ (4.1 JellyBean) SDK (it works fine 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.

Test Run

Just putting these basic steps to help starters:

  1. File > Open choose project folder and let android studio download supportive libraries.
  2. Build > Clean Project and Build > Rebuild Project
  3. If everything goes alright, you can start testing
  4. In case or any error, check Build and Logcat tab for details

Permissions

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 WRITE_EXTERNAL_STORAGE+CAMERA permissions to take photo from camera and save it to gallery.

Reported Bugs

22/09/19 - Camera not working in API 29

About Project

This project was initially developed by Ghazi Khan.

License

This project is published under the MIT License - check out LICENSE.md file or read MIT license for more details.

Acknowledgment

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.

Special Credits

Much Thanks to mansya for the updated project and app logo.

IMPORTANT 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.