A androgene New Member Apr 18, 2012 #1 Hello, I'm want to send a file, located in sdcard, with the Intent method. Via share... I suppose the problem is about uri of the file, i'm not sure. This code didn't work, the share method appears but no file is sended : Code: Copy Dim i As Intent i.Initialize(i.ACTION_SEND, "") i.SetType("*/*") i.PutExtra("android.intent.extra.STREAM", "file:///sdcard/MyFile.bin") i.WrapAsIntentChooser("Share via") StartActivity(i) How to send any file with Intent ?
Hello, I'm want to send a file, located in sdcard, with the Intent method. Via share... I suppose the problem is about uri of the file, i'm not sure. This code didn't work, the share method appears but no file is sended : Code: Copy Dim i As Intent i.Initialize(i.ACTION_SEND, "") i.SetType("*/*") i.PutExtra("android.intent.extra.STREAM", "file:///sdcard/MyFile.bin") i.WrapAsIntentChooser("Share via") StartActivity(i) How to send any file with Intent ?
Erel B4X founder Staff member Licensed User Longtime User Apr 19, 2012 #2 For some reason you appear as an unlicensed user in the forum. Please contact [email protected] in order to fix it. Upvote 0
For some reason you appear as an unlicensed user in the forum. Please contact [email protected] in order to fix it.