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

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

php - Nothing but 'run(); ' when browsing to my local project, how do I fix this? -

php - How can I echo out this array? -