nicolino33 Active Member Licensed User Longtime User Jun 16, 2018 #1 Hello all, I'm not getting path of file or image from URI that I receive from whatsapp, URI comes like this: content://com.whatsapp.provider.media/item/66381 Can anyone help me to get the image or file path from it? I tryed various method, but never resolve...
Hello all, I'm not getting path of file or image from URI that I receive from whatsapp, URI comes like this: content://com.whatsapp.provider.media/item/66381 Can anyone help me to get the image or file path from it? I tryed various method, but never resolve...
DonManfred Expert Licensed User Longtime User Jun 16, 2018 #2 You dont need the path. You can use the given path and filename to access the file. Hiding the code you are using is of no help for us to help you. Upvote 0
You dont need the path. You can use the given path and filename to access the file. Hiding the code you are using is of no help for us to help you.
nicolino33 Active Member Licensed User Longtime User Jun 16, 2018 #3 I need to retrive the extension of file! Upvote 0
nicolino33 Active Member Licensed User Longtime User Jun 16, 2018 #4 this is the code: Code: Copy Private in As JavaObject = Activity.GetStartingIntent URI = in.RunMethod("getParcelableExtra", Array("android.intent.extra.STREAM")) Upvote 0
this is the code: Code: Copy Private in As JavaObject = Activity.GetStartingIntent URI = in.RunMethod("getParcelableExtra", Array("android.intent.extra.STREAM"))
Erel B4X founder Staff member Licensed User Longtime User Jun 17, 2018 #5 Maybe this information is included in the intent. Check Intent.ExtrasToString. If not then it is not available. Upvote 0
Maybe this information is included in the intent. Check Intent.ExtrasToString. If not then it is not available.
nicolino33 Active Member Licensed User Longtime User Jun 17, 2018 #6 Hi Erel, thanks for you reply, I have already checked but there is not, I have to extract the information from the bytes of the files…. Upvote 0
Hi Erel, thanks for you reply, I have already checked but there is not, I have to extract the information from the bytes of the files….