- File file = new File(mCurrentDir, child);
- Intent intent = new Intent(Intent.ACTION_SEND);
- intent.addFlags(Intent.FLAG_ACTIVITY_NEW_TASK);
- intent.setType(getMimeType(file));
- intent.putExtra(Intent.EXTRA_STREAM, Uri.fromFile(file));
- startActivity(Intent.createChooser(intent, null));
Undefined
By: kalkin | Date: Aug 14 2010 01:13 | Format: None | Expires: never | Size: 301 B | Hits: 888
Latest pastes
1 days ago
1 days ago
11 months ago
13 months ago
17 months ago