newcode
This commit is contained in:
@@ -694,12 +694,25 @@ public class GeoTagActivity extends AppCompatActivity implements OnMapReadyCallb
|
||||
|
||||
} catch (SocketException ex) {
|
||||
ex.printStackTrace();
|
||||
Intent intent = new Intent(
|
||||
GeoTagActivity.this,
|
||||
GeoTagStoreList.class);
|
||||
|
||||
startActivity(intent);
|
||||
|
||||
GeoTagActivity.this.finish();
|
||||
|
||||
} catch (Exception ex) {
|
||||
|
||||
|
||||
ex.printStackTrace();
|
||||
Intent intent = new Intent(
|
||||
GeoTagActivity.this,
|
||||
GeoTagStoreList.class);
|
||||
|
||||
startActivity(intent);
|
||||
|
||||
GeoTagActivity.this.finish();
|
||||
}
|
||||
|
||||
|
||||
@@ -719,13 +732,13 @@ public class GeoTagActivity extends AppCompatActivity implements OnMapReadyCallb
|
||||
|
||||
new GeoTagImageUpload(GeoTagActivity.this).execute();
|
||||
|
||||
Intent intent = new Intent(
|
||||
/* Intent intent = new Intent(
|
||||
GeoTagActivity.this,
|
||||
GeoTagStoreList.class);
|
||||
|
||||
startActivity(intent);
|
||||
|
||||
GeoTagActivity.this.finish();
|
||||
GeoTagActivity.this.finish();*/
|
||||
|
||||
}
|
||||
else if(!result.equals(CommonString.KEY_SUCCESS))
|
||||
@@ -843,11 +856,29 @@ public class GeoTagActivity extends AppCompatActivity implements OnMapReadyCallb
|
||||
catch (SocketException ex) {
|
||||
|
||||
ex.printStackTrace();
|
||||
|
||||
Intent intent = new Intent(
|
||||
GeoTagActivity.this,
|
||||
GeoTagStoreList.class);
|
||||
|
||||
startActivity(intent);
|
||||
|
||||
GeoTagActivity.this.finish();
|
||||
|
||||
}
|
||||
|
||||
catch (Exception ex) {
|
||||
ex.printStackTrace();
|
||||
|
||||
|
||||
Intent intent = new Intent(
|
||||
GeoTagActivity.this,
|
||||
GeoTagStoreList.class);
|
||||
|
||||
startActivity(intent);
|
||||
|
||||
GeoTagActivity.this.finish();
|
||||
|
||||
}
|
||||
|
||||
return "";
|
||||
@@ -883,10 +914,10 @@ public class GeoTagActivity extends AppCompatActivity implements OnMapReadyCallb
|
||||
|
||||
|
||||
|
||||
AlertMessage message = new AlertMessage(
|
||||
/* AlertMessage message = new AlertMessage(
|
||||
GeoTagActivity.this, getResources().getString(R.string.uploadeddata)
|
||||
+ result, getResources().getString(R.string.success), null);
|
||||
message.showMessage();
|
||||
message.showMessage();*/
|
||||
|
||||
Intent intent = new Intent(
|
||||
GeoTagActivity.this,
|
||||
@@ -896,17 +927,24 @@ public class GeoTagActivity extends AppCompatActivity implements OnMapReadyCallb
|
||||
|
||||
GeoTagActivity.this.finish();
|
||||
|
||||
Toast.makeText(getApplicationContext(),getResources().getString(R.string.success),Toast.LENGTH_LONG).show();
|
||||
|
||||
}
|
||||
else if(!result.equals(CommonString.KEY_SUCCESS))
|
||||
{
|
||||
|
||||
AlertMessage message = new AlertMessage(
|
||||
/* AlertMessage message = new AlertMessage(
|
||||
GeoTagActivity.this, AlertMessage.MESSAGE_DATA_NOT
|
||||
+ result, getResources().getString(R.string.failure), null);
|
||||
message.showMessage();
|
||||
message.showMessage();*/
|
||||
Toast.makeText(getApplicationContext(),getResources().getString(R.string.failure),Toast.LENGTH_LONG).show();
|
||||
Intent intent = new Intent(
|
||||
GeoTagActivity.this,
|
||||
GeoTagStoreList.class);
|
||||
|
||||
startActivity(intent);
|
||||
|
||||
GeoTagActivity.this.finish();
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user