Reputation: 646
In my application I want to fetch all audio files from Apps/App Folder using Dropbox api. I have used sync api and Datastore api but I am not able to create App folder inside 'Apps/'. Please any one help me to find where I am wrong.
Thanks.
Upvotes: 0
Views: 2810
Reputation: 5681
Once you authenticate the app within iOS it should create the folder for you, it's root dir would be '/'. As seen on their docs:
http://www.dropbox.com/developers/core/start/ios
Near the bottom? This will show you how to list all files.
EDIT:
From the link you gave me:
"With a file system in hand, you can start reading and writing files (represented by a DBFile). If you're using the App folder permission, your App Folder won't contain any files when a user first links with your app, but it's easy to create one."
https://www.dropbox.com/developers/reference/devguide#app-permissions
"App folder
A dedicated folder named after your app is created within the Apps folder of a user's Dropbox. Your app gets read and write access to this folder only and users can provide content to your app by moving files into this folder. Your app can also read and write datastores using the Datastore API."
Upvotes: 2