JGiunta Member Oct 14, 2021 #1 Hello, I am a new developer, and i'm trying to share a big .zip file between two of my apps, without letting the user know. Now, the problem lies here: -Since some of the phones where these apps won't have an external storage (SD cards), i can't use GetSafeDirDefaultExternal. -Since the file is quite big (about 100 MB), i can't pass it using intents. (I have read the limit is 1 MB per intent, and have tried this (DonManfred's last answer) and confirmed it doesn't work) -Since the user shouldn't know that i'm passing the files, i can't use any prompts or anything that lets him choose the file. Thank you for your time!
Hello, I am a new developer, and i'm trying to share a big .zip file between two of my apps, without letting the user know. Now, the problem lies here: -Since some of the phones where these apps won't have an external storage (SD cards), i can't use GetSafeDirDefaultExternal. -Since the file is quite big (about 100 MB), i can't pass it using intents. (I have read the limit is 1 MB per intent, and have tried this (DonManfred's last answer) and confirmed it doesn't work) -Since the user shouldn't know that i'm passing the files, i can't use any prompts or anything that lets him choose the file. Thank you for your time!
Erel B4X founder Staff member Licensed User Longtime User Oct 15, 2021 #2 JGiunta said: Since the file is quite big (about 100 MB), i can't pass it using intents. (I have read the limit is 1 MB per intent, and have tried this (DonManfred's last answer) and confirmed it doesn't work) Click to expand... This is the relevant example: https://www.b4x.com/android/forum/t...om-your-app-with-file-provider.70458/#content You can use a custom action, it will start an activity in your app, which you will then immediately close. Upvote 0
JGiunta said: Since the file is quite big (about 100 MB), i can't pass it using intents. (I have read the limit is 1 MB per intent, and have tried this (DonManfred's last answer) and confirmed it doesn't work) Click to expand... This is the relevant example: https://www.b4x.com/android/forum/t...om-your-app-with-file-provider.70458/#content You can use a custom action, it will start an activity in your app, which you will then immediately close.