Subversion Repositories SmartDukaan

Rev

Rev 21185 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 21185 Rev 22377
Line 279... Line 279...
279
            super.onPostExecute(result);
279
            super.onPostExecute(result);
280
            try {
280
            try {
281
                String City=result.getString("city");
281
                String City=result.getString("city");
282
                String Pincode=result.getString("pincode");
282
                String Pincode=result.getString("pincode");
283
                String Mobile_number=result.getString("mobile_number");
283
                String Mobile_number=result.getString("mobile_number");
-
 
284
                if(City.equalsIgnoreCase("null")){
-
 
285
                    city.setText("");
-
 
286
                }
-
 
287
                else {
284
                city.setText(City);
288
                    city.setText(City);
-
 
289
                }
-
 
290
                if(Pincode.equalsIgnoreCase("null")){
-
 
291
                    pincode.setText("");
-
 
292
                }
-
 
293
                else {
285
                pincode.setText(Pincode);
294
                    pincode.setText(Pincode);
-
 
295
                }
-
 
296
                if(Mobile_number.equalsIgnoreCase("null")){
-
 
297
                    mobilenumber.setText("");
-
 
298
                }
-
 
299
                else {
286
                mobilenumber.setText(Mobile_number);
300
                    mobilenumber.setText(Mobile_number);
287
 
-
 
-
 
301
                }
288
            } catch (JSONException e) {
302
            } catch (JSONException e) {
289
                e.printStackTrace();
303
                e.printStackTrace();
290
            }
304
            }
291
        }
305
        }
292
 
306