I have about 50 extra small files I want to package with my install for Android.
I recall reading a post about how to package extra files with the install
and then save them to folder on first run.
Any help finding this post would be greatly appreciated.
Packaging extra files in standalone and saving to folder?
Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller
-
- Posts: 1201
- Joined: Sun Apr 24, 2011 2:17 am
Packaging extra files in standalone and saving to folder?
All my best,
Barry G. Sumpter
Deving on WinXP sp3-32 bit. LC 5.5 Professional Build 1477
Android/iOS/Server Add Ons. OmegaBundle 2011 value ROCKS!
2 HTC HD2 Latest DorimanX Roms
Might have to reconsider LiveCode iOS Developer Program.
Barry G. Sumpter
Deving on WinXP sp3-32 bit. LC 5.5 Professional Build 1477
Android/iOS/Server Add Ons. OmegaBundle 2011 value ROCKS!
2 HTC HD2 Latest DorimanX Roms
Might have to reconsider LiveCode iOS Developer Program.
Re: Packaging extra files in standalone and saving to folder?
Hi Barry,
http://forums.runrev.com/phpBB2/viewtop ... standalone
instead of the stack you can add any file/s that way, test on startup of the app if the files are in your desired destination, if not copy them from (specialfoderPath("engine") to your desired location. This works on the iPhone, did not try it on Android, should work though.
Kind regards
Bernd
http://forums.runrev.com/phpBB2/viewtop ... standalone
instead of the stack you can add any file/s that way, test on startup of the app if the files are in your desired destination, if not copy them from (specialfoderPath("engine") to your desired location. This works on the iPhone, did not try it on Android, should work though.
Kind regards
Bernd
-
- Posts: 1201
- Joined: Sun Apr 24, 2011 2:17 am
Re: Packaging extra files in standalone and saving to folder?
Jeez, Bernd.
You rocked on both of those threads.
You were answering those queries like a chess master.
I'm considering moving to iOS just to be exposed to such great support.
Yet another reason to be jelous of iOS LiveCoders.
I've just spent the day sorting out the engine folder and what it means on Android.
And found out the hard way where the Copy Files dialog saves the folder and files on Android install.
Thanks for making it so freakin simple by suggesting I just copy my files from the engine folder
over to the my desired folder if they don't already exist.
Duh.
It's all fitting into place now.
For some reason I thought there was a technique to load my 50 really small files into a stack.
Kind of like importing a graphic.
Then on first run saving those 50 files to my desired folder if they didn't already exist.
But much easier just using the Copy Files dialog for including a folder and all it contains with a single entry.
Thanks again Bernd.
My Notes:
My apps for my own clients propriatary use and won't be part of the Markets.
I wonder if I can encrypt the 50 text files to protect them from a lost or stolen phone.
But thats another reasearch path.
You rocked on both of those threads.
You were answering those queries like a chess master.
I'm considering moving to iOS just to be exposed to such great support.
Yet another reason to be jelous of iOS LiveCoders.
I've just spent the day sorting out the engine folder and what it means on Android.
And found out the hard way where the Copy Files dialog saves the folder and files on Android install.
Thanks for making it so freakin simple by suggesting I just copy my files from the engine folder
over to the my desired folder if they don't already exist.
Duh.

It's all fitting into place now.
For some reason I thought there was a technique to load my 50 really small files into a stack.
Kind of like importing a graphic.
Then on first run saving those 50 files to my desired folder if they didn't already exist.
But much easier just using the Copy Files dialog for including a folder and all it contains with a single entry.
Thanks again Bernd.
My Notes:
My apps for my own clients propriatary use and won't be part of the Markets.
I wonder if I can encrypt the 50 text files to protect them from a lost or stolen phone.
But thats another reasearch path.
All my best,
Barry G. Sumpter
Deving on WinXP sp3-32 bit. LC 5.5 Professional Build 1477
Android/iOS/Server Add Ons. OmegaBundle 2011 value ROCKS!
2 HTC HD2 Latest DorimanX Roms
Might have to reconsider LiveCode iOS Developer Program.
Barry G. Sumpter
Deving on WinXP sp3-32 bit. LC 5.5 Professional Build 1477
Android/iOS/Server Add Ons. OmegaBundle 2011 value ROCKS!
2 HTC HD2 Latest DorimanX Roms
Might have to reconsider LiveCode iOS Developer Program.
-
- Posts: 1201
- Joined: Sun Apr 24, 2011 2:17 am
Re: Packaging extra files in standalone and saving to folder?
A good nights sleep after a very agrovating day.
I could write a routine that just
creates seperate text field for each text file
then import/url into .
Then I wouldn't have 50 extra text files on the engine folder.
I wonder, can I delete files from the engine folder even thou I can't create nor modify?
So I could use Copy Files in my install set, copy them to my app folder, then delete them from the engine folder.
I could write a routine that just
creates seperate text field for each text file
then import/url into .
Then I wouldn't have 50 extra text files on the engine folder.
I wonder, can I delete files from the engine folder even thou I can't create nor modify?
So I could use Copy Files in my install set, copy them to my app folder, then delete them from the engine folder.
All my best,
Barry G. Sumpter
Deving on WinXP sp3-32 bit. LC 5.5 Professional Build 1477
Android/iOS/Server Add Ons. OmegaBundle 2011 value ROCKS!
2 HTC HD2 Latest DorimanX Roms
Might have to reconsider LiveCode iOS Developer Program.
Barry G. Sumpter
Deving on WinXP sp3-32 bit. LC 5.5 Professional Build 1477
Android/iOS/Server Add Ons. OmegaBundle 2011 value ROCKS!
2 HTC HD2 Latest DorimanX Roms
Might have to reconsider LiveCode iOS Developer Program.