On Friday, January 10, 2014 9:19:19 AM UTC-6, Pravanjan Niranjan wrote:

> We have rest full integration with drive . 
>
> Every time i try to create  a file inside a particular folder this just 
> create in my default drive space.
>
>
>         JsonObject jsonObject = new JsonObject();
>
>         jsonObject.addProperty("title", "newfile.doc");
>
>         jsonObject.addProperty("mimeType", 
> "application/vnd.google-apps.document");
>
>         jsonObject.addProperty("parents", "["+parents+"]");
>
>         String responseString = 
> UrlFetchServiceUtil.GoogleDriveinFetch(driveURl, jsonObject.toString(), 
> "POST", "application/json",access_Token);
>
>
> This create file with default space . please help.
>
>
>
What type of object is paramMap? If it's the standard Java map 
implementation in java.util.*, it may not be serializing into valid 
JSON. Can you print out the contents of the jsonObject and post it here?


-----------------
-Vinny P
Technology & Media Advisor
Chicago, IL

App Engine Code Samples: http://www.learntogoogleit.com

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/google-appengine.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to