Create Folder in Android

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

Moderators: Klaus, FourthWorld, heatherlaine, kevinmiller, robinmiller

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

Create Folder in Android

Post by Joe Kot » Fri Dec 16, 2011 5:30 am

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
Location: Bordeaux, France

Re: Create Folder in Android

Post by Dixie » Fri Dec 16, 2011 10:32 am

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 » Fri Dec 16, 2011 6:05 pm

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 » Mon Aug 13, 2012 7:51 am

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

Post Reply

Return to “Android Deployment”