android - How to store multiple ParseFile objects in single ParseObject -


my question similar post "storing multiple parsefile objects in single parseobject", can't resolve on own

parseobject pobject = new parseobject();     arraylist<parsefile> pfilelist = new arraylist<parsefile>(); (string thumbpath : thumblist) {    byte[] imgdata = convertfiletobytearray(thumbpath);    parsefile pfile = new parsefile("mediafiles",imgdata);    pfilelist.add(pfile);     }     pobject.addall("mediafiles", pfilelist);     pobject.saveeventually(); 

and hector ramos answered question:try uploading parsefiles using save method before associating them parse object.

can tell me how change piece of code? appreciate kindly help.


Comments

Popular posts from this blog

Email notification in google apps script -

c++ - Difference between pre and post decrement in recursive function argument -

javascript - IE11 incompatibility with jQuery's 'readonly'? -