R rafaelmotaquintana Active Member Licensed User Jun 19, 2018 #1 Im trying to test the attached project, listed here https://www.b4x.com/android/forum/threads/dropbox-sdk-v2-java.74019/ Program opens the browser, but I get the following error from dropbox: It seems the app you're using submitted a bad request. if you'd like to report this error to the app's developer, include the information below this app is not valid. I have not modified anything in project B4A Ver. 8.00 Attachments DropboxV2Example1-Auth.zip DropboxV2Example1-Auth.zip 10.7 KB · Views: 298
Im trying to test the attached project, listed here https://www.b4x.com/android/forum/threads/dropbox-sdk-v2-java.74019/ Program opens the browser, but I get the following error from dropbox: It seems the app you're using submitted a bad request. if you'd like to report this error to the app's developer, include the information below this app is not valid. I have not modified anything in project B4A Ver. 8.00
R rafaelmotaquintana Active Member Licensed User Jun 19, 2018 #2 **Solved: I have to replace 'xxx' with app dropbox id, in program and in manifest. Upvote 0
R rafaelmotaquintana Active Member Licensed User Jun 19, 2018 #3 I have this weird situation. I have a dropbox ID, lets say 'eqdjvoq2nyvm123', everything was working fine. Suddenly, I am beginning to get this message when program request permission to dropbox before opening browser android.view.WindowManager$BadTokenException: Unable to add window -- token null is not for an application at android.view.ViewRootImpl.setView(ViewRootImpl.java:853) at android.view.WindowManagerGlobal.addView(WindowManagerGlobal.java:337) at android.view.WindowManagerImpl.addView(WindowManagerImpl.java:91) . . . This happens even with the sample project posted above. But if I change the ID, lets say, a letter, the app open the browser normally and says that the App ID was not found. I can't image whats happening. Upvote 0
I have this weird situation. I have a dropbox ID, lets say 'eqdjvoq2nyvm123', everything was working fine. Suddenly, I am beginning to get this message when program request permission to dropbox before opening browser android.view.WindowManager$BadTokenException: Unable to add window -- token null is not for an application at android.view.ViewRootImpl.setView(ViewRootImpl.java:853) at android.view.WindowManagerGlobal.addView(WindowManagerGlobal.java:337) at android.view.WindowManagerImpl.addView(WindowManagerImpl.java:91) . . . This happens even with the sample project posted above. But if I change the ID, lets say, a letter, the app open the browser normally and says that the App ID was not found. I can't image whats happening.
DonManfred Expert Licensed User Longtime User Jun 20, 2018 #4 rafaelmotaquintana said: I have this weird situation Click to expand... Which you should post in a new thread. The question from #1 is answered (by you) and fixed. Make sure to have ALL occurences of Code: Copy config.Initialize("",token,"","de-de",5) adapted. The "" should contain you ClientIdentifier. There are two. One in Activity create and one in activity resume. Update them all. PS: You don´t need UPPPERCASE in the Threadtitle. The Productname is Dropbox Last edited: Jun 20, 2018 Upvote 0
rafaelmotaquintana said: I have this weird situation Click to expand... Which you should post in a new thread. The question from #1 is answered (by you) and fixed. Make sure to have ALL occurences of Code: Copy config.Initialize("",token,"","de-de",5) adapted. The "" should contain you ClientIdentifier. There are two. One in Activity create and one in activity resume. Update them all. PS: You don´t need UPPPERCASE in the Threadtitle. The Productname is Dropbox