Dropbox working on computer but not on android

Got a LiveCode personal license? Are you a beginner, hobbyist or educator that's new to LiveCode? This forum is the place to go for help getting started. Welcome!

Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller

Post Reply
Opaquer
Posts: 247
Joined: Wed Aug 14, 2013 8:24 am

Dropbox working on computer but not on android

Post by Opaquer » Tue Jul 28, 2020 5:43 pm

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!

SparkOut
Posts: 2946
Joined: Sun Sep 23, 2007 4:58 pm

Re: Dropbox working on computer but not on android

Post by SparkOut » Tue Jul 28, 2020 6:11 pm

You might have guessed, I bet :)
Dropbox library.png

Opaquer
Posts: 247
Joined: Wed Aug 14, 2013 8:24 am

Re: Dropbox working on computer but not on android

Post by Opaquer » Wed Jul 29, 2020 1:22 am

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!

Post Reply