Android Question sending message to waiting queue (OnActivityResult)

Lyndon Bermoy

Active Member
Licensed User
Good day.

I have experienced this on the log file when I programmed my dropbox. It can now download and upload in the dropbox.

But my problem here is that, when i have an app in the dropbox that has the full permission of files (any type of files can be uploaded), I always encounter this error "sending message to waiting queue (OnActivityResult), running waiting messages (1), and now i can't upload a db file on the dropbox -_-

But when, i changed the app on the Dropbox on the permission list, it will not undergo the log file stated above.

this is the code:

Sub Process_Globals

  Private manager As DbxAccountManager
  Private key As String = "6sfz1ltyhf4a519"
  Private secret As String = "4n6nu9khg2btsq9"

End Sub

Sub Globals

   Private Button1 As Button
End Sub

Sub Activity_Create(FirstTime As Boolean)
  If FirstTime Then
  manager.Initialize(key, secret, "manager")
    File.Copy(File.DirAssets, "books6.db" ,File.DirRootExternal, "books6.db")
   '  SQL1.Initialize (File.DirDefaultExternal,"books6.sqlite",False)

  End If
End Sub

Sub Button1_Click
  ' SQL1.Close
End Sub

Sub Manager_AccountReady (Success As Boolean)
  Log("Account Ready: " & Success)
  If Success Then
     ToastMessageShow("Link to Dropbox successfull ...",False )
    manager.UploadFile(File.DirRootExternal,"books6.db", "/", "books6.db")

     ToastMessageShow("Unable to Link to Dropbox  ...",False )
   End If
End Sub

Sub Manager_DownloadCompleted (Success As Boolean, LocalDir As String, LocalFileName As String)
  Log("UploadCompleted: " & Success)
End Sub
How to fix this? Please help :)

Lyndon Bermoy

Active Member
Licensed User
But sir @Erel after displaying "sending message to waiting queue (OnActivityResult), running waiting messages (1)", there's no output when clicking the button. Means that it cannot upload a file on dropbox.