- upload everything to webspace.
- create a folder tokens where the php-scripts are) and make it writeable
- make the folder where the php-scripts are writeable
- execute sample.php (http://basic4android.de/dbx/sample.php)
*big grins*
Questions?
PS: In fact i needed 15-30 minutes for all (including writing this post) to find the client and run the testexample with my credentials...
I can not believe that you did not found an working example!?
Maybe i was just in luck with my search and the first i found was working
I found a few (although I expected more) tutorials, the issue I had is that they all use 3rd party libs. And most of these libs only support File functions. I'm needing to use the Dropbox SDK and access DataStores .
Most of the tutorials I have seen say that the bad thing about Dropbox SDK's is that there isn't a PHP one, yet I look and there it is. So I am guessing it is quite new.
after starting with some errors (wrong syntax i used) and i needed to create a new app (my old app did not have access to datastores)
after creating the new app (WITH permissions for datastore) i got this working
See http://basic4android.de/dbx/sample.php
So i got no error(!) but also an empty list... I think it´s becaue i did not creaed a datastore before ;-)
Actually i´m in good thoughts that datastore should be possible with this clientphp.... I´ll try to do more additions to the class and sample (creating a DS for ex)...
I´ll package the files i´ve edited the next days. Today i dont have the time i suppose... Monday i have much less time too (it´s my cinema-day ;-)).
What i have understand so far is (i´m not sure; i think it is like this!):
The "I" in Adding Delta seems to be a command: I for Insert?
The second parameter is the tablename
the third parameter is the ID of this Row.
Then you can use an - i think - unlimited numbers of columns which will be written to the selected table.
What i did NOT understand actually; how to Update a row. And how to delete a row.