[PLUGIN] Dropbox

Post your completed addons to share with the community

Post » Tue Feb 05, 2013 6:09 pm

@NRABrazil

Thats correct.
When a user starts my app, the app connects to "their" dropbox, not mine.
Once they have logged in, they are asked for permission to connect this app to their dropbox account.
When they click "allow" the app restarts and now the dropbox plugin is connected.
From that point on the plugin stores information in the users own dropbox.
This makes it possible for players or app users to store their complete savegame online, and vice versa to download it anywhere else.
So anything u put into the webstorage, u can save/backup and do all kinds of fancy stuff with.
In my current understanding, this plugin combined with the webstorage is the best option to give players/users truly a savegame.
Its a relief to know i can simply delete my browser cashe, knowing that 2 clicks later im downloading my savegame again!

Ps: thanx for your tip to towards @cvp
That is indeed the best option for him.

Kind Regards.
Savvy001

B
56
S
20
G
13
Posts: 778
Reputation: 13,204

Post » Tue Feb 05, 2013 8:12 pm

@NRABrazil
Thanks for the suggestion, but that wouldnt work either.

I know i wrote "my dropbox" but i meant the users dropbox. So creating an mobile app which can display images from the users own dropbox account and not my own.
B
19
S
6
G
4
Posts: 342
Reputation: 4,392

Post » Tue Feb 05, 2013 8:30 pm

@cvp

Well that will only work if the user would upload his images first via your app.
But as that is not the way u need it, i think its a dead end "for now".

Kind Regards.
Savvy001
B
56
S
20
G
13
Posts: 778
Reputation: 13,204

Post » Tue Feb 05, 2013 8:41 pm

Yeah i also think its a dead end for now.

There are more options actually.

1. The user could copy images into the app folder in dropbox

2. or you could set the access to "all dropbox" instead of app folder and then access the photos folder in the users dropbox.
B
19
S
6
G
4
Posts: 342
Reputation: 4,392

Post » Tue Feb 05, 2013 9:04 pm

@Savvy001

Thank you for the prompt attention! But if you do not mind, I would like to clarify more.

When you said "When a user starts my app...", where is this app located?
- in a subfolder of the public folder in your Dropbox Account?
- anywhere else?

When you said "Once they have logged in...", what's happens if they do not already has a Dropbox Account?
- the Dropbox site teaches how to achieve one?
- your app say something?

Your app do explain, to user, that they need a Dropbox Account to use it?

Thanks again, in fact I could find this answers, by myself, but I am a bit busy and if you can help, I do appreciate.

Best Regards
B
90
S
5
G
8
Posts: 165
Reputation: 7,648

Post » Tue Feb 05, 2013 11:39 pm

@NRABrazil

Ill try and give Savvy a bit of a hand here. I might be able to help you with an answer.

1. The app can be located anywhere, does not need to be in dropbox.

2. Depending on the option you choose in the dropbox plugin you are either prompted on startup of the app or when you call the login function. You are then rerouted to a site hosted by dropbox which will ask the user if they want to allow the app to connect to there dropbox.
If you do not have a dropbox account the site you are rerouted to will tell you how to create one.

3. As for information about the user needing a dropbox account it is up to youself how you want to display it. But they will diffidently notice once they are asked to log in to there dropbox account :-)

Hope that clarifies your question.

Ragards
CVP
B
19
S
6
G
4
Posts: 342
Reputation: 4,392

Post » Wed Feb 06, 2013 7:13 am

@NRABrazil

My app is on my own hosted site.

@cvp
Thanx, your answers are correct.

Ps: having the user of your app upload more images later on gives a problem as the app must know the image names.
As in wich ones to load as URL.
How would u overcome this using the Dropbox plugin?

Kind Regards.
Savvy001
B
56
S
20
G
13
Posts: 778
Reputation: 13,204

Post » Wed Feb 06, 2013 9:16 am

@septeven

Is it possible to add a expression so we can set a textbox to " the amount downloaded/uploaded".
That way the user can see the downloading/uploading process.
At this point i can only show them: is uploading/downloading.
And download/upload complete.
Is it possible?

Kind Regards.
Savvy001
Savvy0012013-02-06 09:19:39
B
56
S
20
G
13
Posts: 778
Reputation: 13,204

Post » Wed Feb 06, 2013 11:23 am

Hi @Savvy001 and @cvp

Thanks for the answers! I understand better now.

@cvp do you know Pode FileReader Plugin?

FileReader

Maybe it could be helpfull to you.
B
90
S
5
G
8
Posts: 165
Reputation: 7,648

Post » Wed Feb 06, 2013 10:27 pm

@Savvy

Yet another problem discovered then :-)
I assumed that you could traverse a folder for its files and that you did not need to know the file name itself.

@NRABrazil
No i havent looked at the FileReader plugin. I will give it a look in the next days.
B
19
S
6
G
4
Posts: 342
Reputation: 4,392

PreviousNext

Return to Completed Addons

Who is online

Users browsing this forum: No registered users and 1 guest