I have an app that uses a specifically created binary (.gcsb) file type. These files are kept in a folder on the sdcard.
At the moment they are moved on and off usin
nwm01223' answer is correct! A small addendum: His answer only works for ACTION_VIEW. if you add
Uri uri = null;
if(Intent.ACTION_VIEW.equals(action)){
uri = intent.getData();
} else if(Intent.ACTION_SEND.equals(action)){
uri = (Uri) intent.getParcelableExtra(Intent.EXTRA_STREAM);
}
it will also work for ACTION_SEND