Advertisement
Guest User

Untitled

a guest
Jan 21st, 2016
82
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.52 KB | None | 0 0
  1. this.strResponse = clsMethods.getResponse("http://masterpay.in/mobile/Balance.aspx?UserName=" + this.SharedPrefs.getString("Username", null) + "&Password=" + this.SharedPrefs.getString("Password", null));
  2.  
  3. try {
  4. HttpResponse localHttpResponse = localDefaultHttpClient.execute(localHttpGet);
  5. Login.this.strResponse = EntityUtils.toString(localHttpResponse.getEntity());
  6. Log.i("info", Login.this.strResponse);
  7. }
  8. catch (Exception localException) {
  9. for (; ; ) {
  10. Login.this.strResponse = "Error";
  11. }
  12. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement