public void LoadInfos() { mProgress = ProgressDialog.show( this, this.getText(R.string.loading), this.getText(R.string.loadingtext), true, false); int catid = getIntent().getExtras().getInt("id"); SharedPreferences pref = PreferenceManager.getDefaultSharedPreferences(this); String terminal = pref.getString("terminal", "phone"); String sdk = Build.VERSION.SDK; String lang = getApplicationContext().getResources().getConfiguration().locale.getISO3Language(); try { Tools.queryWeb( Functions.getHost(getApplicationContext()) + "/categories/applications.php?page=" + pageFree + "&order=" + order + "&catid=" + catid + "&lang=" + lang + "&sdk=" + URLEncoder.encode(sdk, "UTF-8") + "&paid=0&terminal=" + URLEncoder.encode(terminal, "UTF-8") + "&ypass="******"/categories/applications.php?page=" + pagePaid + "&order=" + order + "&catid=" + catid + "&lang=" + lang + "&sdk=" + URLEncoder.encode(sdk, "UTF-8") + "&paid=1&terminal=" + URLEncoder.encode(terminal, "UTF-8") + "&ypass=" + Functions.getPassword(getApplicationContext()), parserPaid); } catch (UnsupportedEncodingException e) { e.printStackTrace(); } }