<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Uploading file to nuxeoserver from android in Nuxeo Forum</title>
    <link>https://connect.hyland.com/t5/nuxeo-forum/uploading-file-to-nuxeoserver-from-android/m-p/318064#M5065</link>
    <description>&lt;P&gt;Hi Ravi,&lt;/P&gt;
&lt;P&gt;did you find your answer? I encounter same issue during picture attachement.
I try this code below without success and don't undestand storeAndUpload attributes.&lt;/P&gt;
&lt;P&gt;Did you solve it for you?&lt;/P&gt;
&lt;PRE&gt;&lt;CODE&gt;        Document imageDoc = documentMgr.createDocument(pictureBook, "Picture", "test");
        FileUploader uploader = session.getAdapter(FileUploader.class);
        uploader.storeAndUpload("BID", "1", fb, new AsyncCallback&amp;lt;Serializable&amp;gt;() {
            
            @Override
            public void onSuccess(String executionId, Serializable data) {
                Log.i(TAG, "success");                    
            }
            
            @Override
            public void onError(String executionId, Throwable e) {
                Log.i(TAG, "errdroior");                    
                
            }
        });
&lt;/CODE&gt;&lt;/PRE&gt;</description>
    <pubDate>Fri, 24 Jan 2014 01:24:58 GMT</pubDate>
    <dc:creator>Artmoni_Mobile</dc:creator>
    <dc:date>2014-01-24T01:24:58Z</dc:date>
    <item>
      <title>Uploading file to nuxeoserver from android</title>
      <link>https://connect.hyland.com/t5/nuxeo-forum/uploading-file-to-nuxeoserver-from-android/m-p/318052#M5053</link>
      <description>&lt;P&gt;Hi All,
While uploading file from Android using "nuxeo-Android-Connector" i'm getting Exception like
"&lt;STRONG&gt;Binary request are not supported&lt;/STRONG&gt;". I'm resceiving this exception from defaultsession.java file of nuxeo-android-connector package.
i'm using "Nuxeo Android simple client project"  &lt;MODELVERSION&gt;4.0.0&lt;/MODELVERSION&gt;
Please help me for solving the issue.&lt;/P&gt;</description>
      <pubDate>Fri, 16 Mar 2012 10:26:35 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/nuxeo-forum/uploading-file-to-nuxeoserver-from-android/m-p/318052#M5053</guid>
      <dc:creator>Ravi_Gupta</dc:creator>
      <dc:date>2012-03-16T10:26:35Z</dc:date>
    </item>
    <item>
      <title>Re: Uploading file to nuxeoserver from android</title>
      <link>https://connect.hyland.com/t5/nuxeo-forum/uploading-file-to-nuxeoserver-from-android/m-p/318053#M5054</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;</description>
      <pubDate>Fri, 16 Mar 2012 11:38:01 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/nuxeo-forum/uploading-file-to-nuxeoserver-from-android/m-p/318053#M5054</guid>
      <dc:creator>Julien_Carsique</dc:creator>
      <dc:date>2012-03-16T11:38:01Z</dc:date>
    </item>
    <item>
      <title>Re: Uploading file to nuxeoserver from android</title>
      <link>https://connect.hyland.com/t5/nuxeo-forum/uploading-file-to-nuxeoserver-from-android/m-p/318054#M5055</link>
      <description>&lt;P&gt;&lt;IMG src="https://connect.hyland.com/upfiles/Upload.png" alt="alt text" /&gt;
&lt;IMG src="https://connect.hyland.com/upfiles/defaultSession.png" alt="alt text" /&gt;&lt;/P&gt;
&lt;P&gt;&lt;IMG src="https://connect.hyland.com/upfiles/pom.gif" alt="alt text" /&gt;&lt;/P&gt;</description>
      <pubDate>Sat, 17 Mar 2012 10:47:49 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/nuxeo-forum/uploading-file-to-nuxeoserver-from-android/m-p/318054#M5055</guid>
      <dc:creator>Ravi_Gupta</dc:creator>
      <dc:date>2012-03-17T10:47:49Z</dc:date>
    </item>
    <item>
      <title>Re: Uploading file to nuxeoserver from android</title>
      <link>https://connect.hyland.com/t5/nuxeo-forum/uploading-file-to-nuxeoserver-from-android/m-p/318055#M5056</link>
      <description>&lt;P&gt;Hello Julien Carsique,&lt;/P&gt;</description>
      <pubDate>Sat, 17 Mar 2012 10:57:21 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/nuxeo-forum/uploading-file-to-nuxeoserver-from-android/m-p/318055#M5056</guid>
      <dc:creator>Ravi_Gupta</dc:creator>
      <dc:date>2012-03-17T10:57:21Z</dc:date>
    </item>
    <item>
      <title>Re: Uploading file to nuxeoserver from android</title>
      <link>https://connect.hyland.com/t5/nuxeo-forum/uploading-file-to-nuxeoserver-from-android/m-p/318056#M5057</link>
      <description>&lt;P&gt;I have downloaded the code from nuxeo site version is 5.4&lt;/P&gt;</description>
      <pubDate>Sat, 17 Mar 2012 11:08:04 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/nuxeo-forum/uploading-file-to-nuxeoserver-from-android/m-p/318056#M5057</guid>
      <dc:creator>Ravi_Gupta</dc:creator>
      <dc:date>2012-03-17T11:08:04Z</dc:date>
    </item>
    <item>
      <title>Re: Uploading file to nuxeoserver from android</title>
      <link>https://connect.hyland.com/t5/nuxeo-forum/uploading-file-to-nuxeoserver-from-android/m-p/318057#M5058</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;You should have a look at the sample application.
Post (binary upload) is supported, but not via a direct Automation call.&lt;/P&gt;
&lt;P&gt;There are mainly 2 reasons for that :&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;Android SDK does not provide native support for Multipart encoding
(and I was too lazy to rewrite one)&lt;/LI&gt;
&lt;LI&gt;Putting all binary data in the same request may not be very effective from a network point of view
( at least from a mobile device)&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;That's why in the sample client and application, the binary resources are uploaded separately and simply referenced in the Automation call.
This means the cinematic is :&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;you do simple Http Post on /automation/batch/upload for each file&lt;/LI&gt;
&lt;LI&gt;you call the automation operation using the batchId used for upload&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;You can take a look at BlobWidgetWrapper that is used to have a file upload widget.&lt;/P&gt;
&lt;P&gt;Hope this helps.&lt;/P&gt;
&lt;P&gt;Tiry&lt;/P&gt;</description>
      <pubDate>Mon, 19 Mar 2012 16:16:49 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/nuxeo-forum/uploading-file-to-nuxeoserver-from-android/m-p/318057#M5058</guid>
      <dc:creator>Thierry_Delprat</dc:creator>
      <dc:date>2012-03-19T16:16:49Z</dc:date>
    </item>
    <item>
      <title>Re: Uploading file to nuxeoserver from android</title>
      <link>https://connect.hyland.com/t5/nuxeo-forum/uploading-file-to-nuxeoserver-from-android/m-p/318058#M5059</link>
      <description>&lt;P&gt;Hi Thierry Delprat,&lt;/P&gt;</description>
      <pubDate>Tue, 20 Mar 2012 07:14:14 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/nuxeo-forum/uploading-file-to-nuxeoserver-from-android/m-p/318058#M5059</guid>
      <dc:creator>Ravi_Gupta</dc:creator>
      <dc:date>2012-03-20T07:14:14Z</dc:date>
    </item>
    <item>
      <title>Re: Uploading file to nuxeoserver from android</title>
      <link>https://connect.hyland.com/t5/nuxeo-forum/uploading-file-to-nuxeoserver-from-android/m-p/318059#M5060</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;The BlobWidgetWrapper is part of the nuxeo-android-connector.&lt;/P&gt;
&lt;P&gt;There is some documentation about the principles [here][1], but for your specific question the best solution is probably to take a look at the sample code.&lt;/P&gt;
&lt;P&gt;=&amp;gt; build nuxeo-android-connector, nuxeo-android-connector-ui and nuxeo-android-sample&lt;/P&gt;
&lt;P&gt;you have everything demonstrated inside the sample :&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;view a document&lt;/LI&gt;
&lt;LI&gt;edit a document (including blob upload)&lt;/LI&gt;
&lt;LI&gt;manage caching&lt;/LI&gt;
&lt;LI&gt;...&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;Tiry
[1]: &lt;A href="http://doc.nuxeo.com/x/GoWE" target="test_blank"&gt;http://doc.nuxeo.com/x/GoWE&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 20 Mar 2012 10:24:15 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/nuxeo-forum/uploading-file-to-nuxeoserver-from-android/m-p/318059#M5060</guid>
      <dc:creator>Thierry_Delprat</dc:creator>
      <dc:date>2012-03-20T10:24:15Z</dc:date>
    </item>
    <item>
      <title>Re: Uploading file to nuxeoserver from android</title>
      <link>https://connect.hyland.com/t5/nuxeo-forum/uploading-file-to-nuxeoserver-from-android/m-p/318060#M5061</link>
      <description>&lt;P&gt;Hi Tiry,&lt;/P&gt;</description>
      <pubDate>Tue, 20 Mar 2012 10:54:22 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/nuxeo-forum/uploading-file-to-nuxeoserver-from-android/m-p/318060#M5061</guid>
      <dc:creator>Ravi_Gupta</dc:creator>
      <dc:date>2012-03-20T10:54:22Z</dc:date>
    </item>
    <item>
      <title>Re: Uploading file to nuxeoserver from android</title>
      <link>https://connect.hyland.com/t5/nuxeo-forum/uploading-file-to-nuxeoserver-from-android/m-p/318061#M5062</link>
      <description>&lt;P&gt;Doc Url is : &lt;A href="http://doc.nuxeo.com/x/GoWE" target="test_blank"&gt;http://doc.nuxeo.com/x/GoWE&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;i'll try to check the build, but the code you need is inside nuxeo-android-connector.&lt;/P&gt;
&lt;P&gt;Tiry&lt;/P&gt;</description>
      <pubDate>Tue, 20 Mar 2012 12:01:55 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/nuxeo-forum/uploading-file-to-nuxeoserver-from-android/m-p/318061#M5062</guid>
      <dc:creator>Thierry_Delprat</dc:creator>
      <dc:date>2012-03-20T12:01:55Z</dc:date>
    </item>
    <item>
      <title>Re: Uploading file to nuxeoserver from android</title>
      <link>https://connect.hyland.com/t5/nuxeo-forum/uploading-file-to-nuxeoserver-from-android/m-p/318062#M5063</link>
      <description>&lt;P&gt;Hi Tiry,&lt;/P&gt;</description>
      <pubDate>Tue, 20 Mar 2012 13:20:24 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/nuxeo-forum/uploading-file-to-nuxeoserver-from-android/m-p/318062#M5063</guid>
      <dc:creator>Ravi_Gupta</dc:creator>
      <dc:date>2012-03-20T13:20:24Z</dc:date>
    </item>
    <item>
      <title>Re: Uploading file to nuxeoserver from android</title>
      <link>https://connect.hyland.com/t5/nuxeo-forum/uploading-file-to-nuxeoserver-from-android/m-p/318063#M5064</link>
      <description>&lt;P&gt;Hi Tiry,&lt;/P&gt;</description>
      <pubDate>Tue, 20 Mar 2012 13:36:25 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/nuxeo-forum/uploading-file-to-nuxeoserver-from-android/m-p/318063#M5064</guid>
      <dc:creator>Ravi_Gupta</dc:creator>
      <dc:date>2012-03-20T13:36:25Z</dc:date>
    </item>
    <item>
      <title>Re: Uploading file to nuxeoserver from android</title>
      <link>https://connect.hyland.com/t5/nuxeo-forum/uploading-file-to-nuxeoserver-from-android/m-p/318064#M5065</link>
      <description>&lt;P&gt;Hi Ravi,&lt;/P&gt;
&lt;P&gt;did you find your answer? I encounter same issue during picture attachement.
I try this code below without success and don't undestand storeAndUpload attributes.&lt;/P&gt;
&lt;P&gt;Did you solve it for you?&lt;/P&gt;
&lt;PRE&gt;&lt;CODE&gt;        Document imageDoc = documentMgr.createDocument(pictureBook, "Picture", "test");
        FileUploader uploader = session.getAdapter(FileUploader.class);
        uploader.storeAndUpload("BID", "1", fb, new AsyncCallback&amp;lt;Serializable&amp;gt;() {
            
            @Override
            public void onSuccess(String executionId, Serializable data) {
                Log.i(TAG, "success");                    
            }
            
            @Override
            public void onError(String executionId, Throwable e) {
                Log.i(TAG, "errdroior");                    
                
            }
        });
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Fri, 24 Jan 2014 01:24:58 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/nuxeo-forum/uploading-file-to-nuxeoserver-from-android/m-p/318064#M5065</guid>
      <dc:creator>Artmoni_Mobile</dc:creator>
      <dc:date>2014-01-24T01:24:58Z</dc:date>
    </item>
  </channel>
</rss>

