Add Attachments to documents in android

29 views
Skip to first unread message

PRASANNA KUMAR

unread,
May 30, 2014, 6:32:23 AM5/30/14
to mobile-c...@googlegroups.com
Hi All,

I have seen that fixing issue regarding attachments here ,that's great news.

How we can do same thing in android by using Beta2 Api,pls help me in that


Thank's
prasanna

Andrew Reslan

unread,
May 30, 2014, 8:13:21 AM5/30/14
to mobile-c...@googlegroups.com
If you are compiling beta2 from source, you can apply the same patch and recompile.

PRASANNA KUMAR

unread,
Jun 2, 2014, 7:11:00 AM6/2/14
to mobile-c...@googlegroups.com
Hi Andrew,

thank's for reply.

I am using Eclipse, previously I was using an attachment code like below,

UnSavedVersionCustom uploadAttachments = new UnSavedVersionCustom(document,document.getCurrentRevision());

uploadAttachments.setAttachment(child.getName(),"image/jpeg", new FileInputStream(child));

uploadAttachments.save(true);

But now the latest code is saying that 


How we can do the suppose an attachment is new one(Image) ? or how we can get the latest jar file for eclipse(bcoz i can not recompile patch).

Please do the small  favor.
 
Thank's

prasanna

Andrew Reslan

unread,
Jun 2, 2014, 11:00:58 AM6/2/14
to mobile-c...@googlegroups.com
At the moment the patch is only available on master, so must be built from source.

Andy
Reply all
Reply to author
Forward
0 new messages