/ofxAndroidScreenToGallery

This small openFrameworks addon takes a screenshot and saves it into the device gallery.

Primary LanguageC++

ofxAndroidScreenToGallery

Android ScreenToGallery addon for openFrameworks

This is an openFrameworks addon to take a screenshot and save it into the Android's screenshot gallery.

Licence: MIT


-- HOW TO INSTALL --

  1. Copy the files of "src" folder to -> yourofdir/addons/ofxAndroidScreenToGallery/src
  2. Copy the files of "scrJava/cc/openframeworks/ofxaddons/ofxandroidscreentogallery" folder to -> yourofdir/examples/android/androidEmptyExample/srcJava/cc/openframeworks/ofxaddons/ofxandroidscreentogallery
  3. Copy the files of "example" folder to -> yourofdir/examples/android/androidEmptyExample/src
  4. Add ofxAndroidScreenToGallery to the end of the file yourofdir/examples/android/androidEmptyExample/addons.make
  5. Clean&Build Project
  6. Run

-- HOW TO TEST --

  1. Run the given example. A black screen will appear with a simple line.
  2. Touch the screen 1 time (you may need to wait a few seconds).
  3. Exit app by pressing back button.
  4. Check the gallery of your device.