Monday, March 11, 2013

[android-developers] Trying to integrate with drive app, error occurs opening document

I am trying to integrate with the Drive App using the instructions here: https://developers.google.com/drive/integrate-android-ui.

I followed the instructions and now my app shows as an "open with (using google drive)" option when I select a file in the Drive app.  However, when I try to open with my app I get an error dialog that says:

"Oops... unable to open document.  Reason: internal error occured. please try again later"

Because the same file opens properly using other apps (the other apps aren't integrated with the Drive app, but they do open the file), I figure this might be because my app is not authorized properly.  My main concern is the applcaition id which the above link instructs me to add to my manifest xml.  It is not clear what this Id  is, but I assume it is the "client ID" from my OAuth2.0 client.  For me, this value looks something like(i changed some numbers/letters for privacy): 449637423441-e13a246wq7a0fuqgvremtjupk07vgf59.apps.googleusercontent.com

I have tried using this entire string as the ID in my manifest, using the portion prior to the first '.', and using the portion prior to the '-'; but with all 3 attempts I get the same error from the Drive app.

Any suggestions?

--
--
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscribe@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
---
You received this message because you are subscribed to the Google Groups "Android Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email to android-developers+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
 
 

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home


Real Estate