i've read this : https://www.odoo.com/forum/help-1/question/v8-authentification-json-query-has-changed-solved-44073
i've tried to get the sid ( using json queries) from /web/session/get_session_info but i've got nothing , here is the code:
static final String REQUEST_AUTHENTICATE1 = "/web/session/get_session_info";
HttpClient httpClient = new DefaultHttpClient();
JSONRPCHttpClient jsonRPC_client = new JSONRPCHttpClient(httpClient, HOST + REQUEST_AUTHENTICATE1);
jsonRPC_client.setConnectionTimeout(2000);
jsonRPC_client.setSoTimeout(2000);
jsonRPC_client.setEncoding("UTF-8");
try {
//set params to send to OpenERP to create the connection
JSONObject jsonParams = new JSONObject();
jsonParams.put("db", DATABASE);
jsonParams.put("login", USER);
jsonParams.put("password",PASSWORD);
//Do the connection with openERP
JSONObject json_result = jsonRPC_client.callJSONObject(method, jsonParams);
Log.d(TAG, "We are connect to OpenERP, session id: " + json_result.getString("session_id"));