cancel
Showing results for 
Search instead for 
Did you mean: 

Uploading file to nuxeoserver from android

Ravi_Gupta
Champ in-the-making
Champ in-the-making

Hi All, While uploading file from Android using "nuxeo-Android-Connector" i'm getting Exception like "Binary request are not supported". I'm resceiving this exception from defaultsession.java file of nuxeo-android-connector package. i'm using "Nuxeo Android simple client project" 4.0.0 Please help me for solving the issue.

12 REPLIES 12

Hi Tiry,

Hi Tiry,

Artmoni_Mobile
Champ on-the-rise
Champ on-the-rise

Hi Ravi,

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.

Did you solve it for you?

        Document imageDoc = documentMgr.createDocument(pictureBook, "Picture", "test");
        FileUploader uploader = session.getAdapter(FileUploader.class);
        uploader.storeAndUpload("BID", "1", fb, new AsyncCallback<Serializable>() {
            
            @Override
            public void onSuccess(String executionId, Serializable data) {
                Log.i(TAG, "success");                    
            }
            
            @Override
            public void onError(String executionId, Throwable e) {
                Log.i(TAG, "errdroior");                    
                
            }
        });
Getting started

Attention: Blogs & Forums are in READ-ONLY mode from Oct 9-19 as we transition to our new platform. Learn more.

Find what you came for

We want to make your experience in Hyland Connect as valuable as possible, so we put together some helpful links.