AnsweredAssumed Answered

Alfresco and android

Question asked by rahmanibilel on May 14, 2014
Latest reply on May 15, 2014 by rahmanibilel
I have installed alfresco community  4.2.e and i want to connect it with android, so i 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, "");
        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 :


help me please, thank you