A Plugin for PhoneGap. It updates the gallerie when new files are downloaded.
Java JavaScript
Switch branches/tags
Nothing to show
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
PluginRefreshMedia.java
README.md
pluginRefreshMedia.js

README.md

README

Tested with PhoneGap 2.0.0

by Philipp Veit for GreenQloud.com

This PhoneGap-Plugin updates the gallerie after downloading a file in Android.


How to install and start?

Add this in res/xml/config.xml: <plugin name="pluginRefreshMedia" value="com.greenqloud.plugin.PluginRefreshMedia"/>

And call this in your JavaScript-File:

 var URI = "file:///mnt/sdcard/Download/google.png"; // OR
 URI = "/mnt/sdcard/Download/google.png";
 Call refreshMedia.refresh(URI);