Merge pull request #9 from meddlesome/master

This commit is contained in:
pwlin 2014-09-08 19:13:42 +02:00
commit cc3dd96c63

View File

@ -96,7 +96,7 @@ public class FileOpener2 extends CordovaPlugin {
/*
* @see http://stackoverflow.com/questions/14321376/open-an-activity-from-a-cordovaplugin
*/
cordova.getActivity().startActivity(intent);
cordova.getActivity().startActivity(Intent.createChooser(intent,"Open File in..."));
callbackContext.success();
return true;