I have a problem with one app.
I have a litlle .apk inside my .apk (application). Don't ask me why because one user want that way
Ok
This code works fine with info.apk (100 Kb)
But when I put a diffrent .apk (studio.apk - 3 Mb) the app stops working and debuger says:
Last Exception: java.io.IOException :BangHead: :BangHead:
Is there any way to copy larger files to sdcard or some storage to install that stupid .apk or I must say to user to download from internet and then install :BangHead: :BangHead:
I have a litlle .apk inside my .apk (application). Don't ask me why because one user want that way
Ok
This code works fine with info.apk (100 Kb)
B4X:
If File.Exists(File.DirAssets,"info.apk") Then
File.Copy(File.DirAssets, "info.apk", File.DirDefaultExternal,"info.apk")
End If
But when I put a diffrent .apk (studio.apk - 3 Mb) the app stops working and debuger says:
Last Exception: java.io.IOException :BangHead: :BangHead:
Is there any way to copy larger files to sdcard or some storage to install that stupid .apk or I must say to user to download from internet and then install :BangHead: :BangHead: