Create Folder in Android

The place to discuss anything and everything about running your LiveCode on Android

Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller

Post Reply
Joe Kot
Posts: 37
Joined: Wed Sep 14, 2011 2:49 pm

Create Folder in Android

Post by Joe Kot »

I would like to create a "users" folder to keep my user information separate from other files in the "documents" or "data" folders on an Android. I've tried the command - create folder "documents/users" but this has not worked. Any recommendations or insights is appreciated. 2nd question - Is it ok to use the "data" folder on an Android to store information. Thanks - Joe Kotlinski
Dixie
Livecode Opensource Backer
Livecode Opensource Backer
Posts: 1336
Joined: Sun Jul 12, 2009 10:53 am

Re: Create Folder in Android

Post by Dixie »

Joe...

Code: Select all

       set the defaultfolder to specialFolderPath("documents")
      if there is not a folder "soundbites" then create folder "soundbites"
be well

Dixie
Joe Kot
Posts: 37
Joined: Wed Sep 14, 2011 2:49 pm

Re: Create Folder in Android

Post by Joe Kot »

Dixie - That works great. Thanks for the help.
Joe
Nick Johnson
Posts: 16
Joined: Fri Jun 29, 2012 8:05 am

Re: Create Folder in Android

Post by Nick Johnson »

A nice interesting doubt with the exact solution. What else you want in a thread....
Post Reply