dsandler / markers

Sample app demonstrating use of Android touch APIs for pressure-sensitive drawing.
Apache License 2.0
241 stars 69 forks source link

External file save reloaded #4

Open moovida opened 10 years ago

moovida commented 10 years ago

adds the possibility to pass through the intent's extra bundle by means of the key MediaStore.EXTRA_OUTPUT (not sure if that is the right choice though) a path to which the image should be saved to when pushing the save button. If that path if supplied, the saving to temporary files is overridden. For that I had to extract the retrieval of the file path into a separate method, to be able to check the case of output path availability.