Page 1 of 1

Dropbox working on computer but not on android

Posted: Tue Jul 28, 2020 5:43 pm
by Opaquer
Hey guys!

So, I've been working on my Sudoku app for a while now and made some great progress, but I've hit yet another issue (surprise surprise!)

I've added dropbox connectivity, so you can send sudokus to other people (awesome!), and while it's working on my laptop when I'm testing it, it's not working when I move it over to my android. This is the code I've got going on for uploading sudokus to dropbox, more of less:

Code: Select all

global DBToken

on mouseUp
   put "/UploadedSudokus/" into folderPath
   dropboxListFolder DBToken, folderPath, false, false
   put it into testVar
   -- do other stuff and process it from here
   end mouseUp
For some reason this is 100% function running on my laptop, but for my phone it's not working. I can confirm that the folderPath is working fine, but once it gets to the dropboxListFolder (or any dropbox related function I'm trying to run on my phone), it just hangs and fails...

I've set up my standalone application settings to sign for development only, and told it that it requires internet, and while I can't imagine it needing anything else, I've been wrong plenty of times before (at this point I'm probably more statistically likely to be wrong than right, but hey - that's how you learn!)

Does anyone know if there's something weird happening with the code, or if it just doesn't work at all with android, or if there's another solution around?

Looking forward to hearing from everyone!

Thanks in advanced!

Re: Dropbox working on computer but not on android

Posted: Tue Jul 28, 2020 6:11 pm
by SparkOut
You might have guessed, I bet :)
Dropbox library.png

Re: Dropbox working on computer but not on android

Posted: Wed Jul 29, 2020 1:22 am
by Opaquer
Ah ha! That was absolutely the issue! I had for the app to automatically add inclusions, and couldn't even access the section of the settings where this was until I changed it to manual! It works like a dream now, thank you so much!