Share a Picture/document in native code
Monkey Targets Forums/Android/Share a Picture/document in native code
| ||
Thought id share, native android code to enable the in built share menu to pop up.static void LaunchViewPic(String address) { File filen = new File(address); android.content.Intent shareIntent = new android.content.Intent(Intent.ACTION_SEND); shareIntent.putExtra(Intent.EXTRA_STREAM, android.net.Uri.fromFile(filen)); android.content.Intent send = Intent.createChooser(shareIntent, null); BBAndroidGame._androidGame._activity.startActivity(send); } /Stu |