AnsweredAssumed Answered

Android and Alfresco

Question asked by rahmanibilel on May 14, 2014
Hello,
I have installed alfresco community  4.2.e and i want to connect it with alfresco, so ti used cmis for android but when i run my appliation in emulator i find the error message : "the application has stopped unecpectedly please try agin"

i my configuration file i add this line <uses-permission android:name="android.permission.INTERNET" /> but i alwas have the problem


my code :

SessionFactory sessionFactory = SessionFactoryImpl.newInstance();
      
        Map<String, String> parameter = new HashMap<String, String>();
        parameter.put(SessionParameter.USER, "admin");
        parameter.put(SessionParameter.PASSWORD, "admin");
       parameter.put(SessionParameter.ATOMPUB_URL, "http://192.168.1.36:8080/alfresco/cmisatom");
      
        parameter.put(SessionParameter.BINDING_TYPE, BindingType.ATOMPUB.value());
        Repository repository = sessionFactory.getRepositories(parameter).get(0);
        parameter.put(SessionParameter.REPOSITORY_ID, repository.getId());
       
        Session session = sessionFactory.createSession(parameter);
      
//————————————————


jar files :

chemistry-opencmis-android-client-0.11.0.jar
slf4j-android-1.6.1-RC1.jar


help me please, thank you

Outcomes