Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/kmturley/cordova-files
Cordova file system access and load
https://github.com/kmturley/cordova-files
Last synced: 1 day ago
JSON representation
Cordova file system access and load
- Host: GitHub
- URL: https://github.com/kmturley/cordova-files
- Owner: kmturley
- Created: 2015-07-29T18:28:39.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2015-07-29T21:02:13.000Z (over 9 years ago)
- Last Synced: 2024-05-02T00:59:43.768Z (7 months ago)
- Language: JavaScript
- Homepage: https://kimturley.co.uk/cordova-files/www/index.html
- Size: 145 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# cordova-files
An example showing how to use local file storage, web files and browser for files. All selecting and returning the file objects correctly. Working for browser and devices.
The following technologies are used in the app:
* Apache Cordova `http://cordova.apache.org/`
* Cordova File Plugin `https://github.com/apache/cordova-plugin-file`## Installation and running tasks
Install [Apache Cordova](http://cordova.apache.org/) then navigate to the site root within terminal.
## Running the app during development
To run as a webpage, navigate to the folder and open the first page in your web browser
www/index.html
Or run the commands:cordova platform add browser
cordova run browser## Running the app on a device
Install the Android Developer tools from https://developer.android.com/sdk/index.html
To run the app use the commands:
cordova platform add android
cordova run android
Cordova caches plugins, So if you make any changes to a plugin's code you can force a reset using the following command:cordova platform remove android; cordova platform add android; cordova run android
If you have issues with cordova not opening the app automatically or not exiting after quitting, you can use the following command in your terminal to force quit all device processes:adb kill-server
adb devices
If you have a problem building the app try removing the file generated by Android Studio:platforms/android/local.properties
## Directory Layout
www/ --> Static html templates
css/ --> Stylesheet files
img/ --> Image files
index.html --> Homepage
js/ --> Javascript functionality## Contact
For more information please contact kmturley