G GaryK4 Member Licensed User Longtime User Jan 14, 2014 #1 (2) questions: Under files in B4A, I added a file like myfile.txt. It appears in the apk file. I want this file to be installed so that I can reference it. How do I do that? On my last program the apk was named result.apk I thought it was supposed to be named pachage_name.apk? How do I set the apk name?
(2) questions: Under files in B4A, I added a file like myfile.txt. It appears in the apk file. I want this file to be installed so that I can reference it. How do I do that? On my last program the apk was named result.apk I thought it was supposed to be named pachage_name.apk? How do I set the apk name?
NJDude Expert Licensed User Longtime User Jan 14, 2014 #2 1- Read about File.Copy, however, if you want to just read it you can just do that, read the documentation I posted on the link. 2- Make sure you don't have any spaces in your project name. Upvote 0
1- Read about File.Copy, however, if you want to just read it you can just do that, read the documentation I posted on the link. 2- Make sure you don't have any spaces in your project name.
G GaryK4 Member Licensed User Longtime User Jan 14, 2014 #3 NJDude said: 1- Read about File.Copy, however, if you want to just read it you can just do that, read the documentation I posted on the link. 2- Make sure you don't have any spaces in your project name. Click to expand... I can not find the file on my device after installing, so I don't know how file copy would help. I do have spaces in my project name - Thanks, that was easy. Upvote 0
NJDude said: 1- Read about File.Copy, however, if you want to just read it you can just do that, read the documentation I posted on the link. 2- Make sure you don't have any spaces in your project name. Click to expand... I can not find the file on my device after installing, so I don't know how file copy would help. I do have spaces in my project name - Thanks, that was easy.
NJDude Expert Licensed User Longtime User Jan 14, 2014 #4 I think you haven't read the documentation , files added to the APK will be in File.DirAssets. Upvote 0
G GaryK4 Member Licensed User Longtime User Jan 14, 2014 #5 NJDude said: I think you haven't read the documentation , files added to the APK will be in File.DirAssets. Click to expand... I guess that I had preconceived notions that there had to be a searchable file. Sorry! Thank, that did the trick. Upvote 0
NJDude said: I think you haven't read the documentation , files added to the APK will be in File.DirAssets. Click to expand... I guess that I had preconceived notions that there had to be a searchable file. Sorry! Thank, that did the trick.