This is the code I'm running. It's copied from Erel's post. Nothing happens after the manager.LinkAccount statement is executed.
Thanks.
Sub Process_Globals
Private manager As DbxAccountManager
Private key As String = "aaa"
Private secret As String = "bbb"
End Sub
Sub Globals
End Sub
Sub Activity_Create(FirstTime As Boolean)
If FirstTime Then
manager.Initialize(key, secret, "manager")
End If
Activity.LoadLayout("1")
End Sub
Sub Button1_Click
manager.LinkAccount
End Sub
Sub Manager_AccountReady (Success As Boolean)
Log("Account Ready: " & Success)
If Success Then
For Each FileInfo As DbxFileInfo In manager.ListFiles("/")
Log(FileInfo.Name & ", " & FileInfo.IsFolder)
Next
End If
manager.DownloadFile("/", "john.abcDB", File.DirRootExternal, "john.abcDB")
End Sub
Sub Manager_DownloadCompleted (Success As Boolean, LocalDir As String, LocalFileName As String)
Log("DownloadCompleted: " & Success)
End Sub