Has anyone has experience with the DropBox API? I have finally got my App up and going and it's running like a dream.. only one problem ; I can't find sufficient documentation on how to store and access the accessToken so when a user closes their session they have to re-autheticate by going and typing their access code into my JOptionPane and only than are they allowed to upload/download have access to my methods.
What I would like to do is store the accessToken in a String and then call it when the user chooses the method such as "UPLOAD" so he/she doesn't re-autheticate the app instead the String is called and the user requires no authentication. Now I have found documentation online but it doesn't address my question specifically and the documentation around dropbox how-to's is quite poor to be frank...
What I have tried is using a FileInputStream and saving the file locally but can't call upon it in a method to work and its just starting to look like java-mumbo is there an efficient and clean way to accomplish this specified task? thank you for your contribution in advance.
SOLVED! if anyone want to use this in the future to avoid hunting for right for it, took me a while to find the documentation... code is not perfect and is my rough copy(working code) for now but will be perfected in the near future
There are 29 Knuts in one Sickle, and 17 Sickles make up a Galleon. 42 tiny ads in a knut: