@@ -2,8 +2,8 @@
|
||||
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
package="com.TwentyCodes.android.LocationRinger"
|
||||
android:installLocation="internalOnly"
|
||||
android:versionCode="143"
|
||||
android:versionName="5ad5cb4" >
|
||||
android:versionCode="146"
|
||||
android:versionName="7a726f2" >
|
||||
|
||||
<uses-sdk android:minSdkVersion="7"/>
|
||||
|
||||
|
||||
@@ -93,5 +93,6 @@
|
||||
<string name="my_location">My location</string>
|
||||
<string name="map_mode">Map Mode</string>
|
||||
<string name="current_ringer">Current Ringer:</string>
|
||||
<string name="preparing_ringer">Prepearing New Ringer</string>
|
||||
|
||||
</resources>
|
||||
@@ -66,6 +66,7 @@ public class ListActivity extends Activity implements OnItemClickListener, OnCli
|
||||
@Override
|
||||
public void onActivityResult(final int requestCode, final int resultCode, final Intent intent) {
|
||||
super.onActivityResult(requestCode, resultCode, intent);
|
||||
mProgress.dismiss();
|
||||
|
||||
if (resultCode == RESULT_OK) {
|
||||
|
||||
@@ -109,6 +110,7 @@ public class ListActivity extends Activity implements OnItemClickListener, OnCli
|
||||
|
||||
@Override
|
||||
public void onClick(final View v) {
|
||||
mProgress = ProgressDialog.show(this, "", getText(R.string.preparing_ringer), true, true);
|
||||
final Intent i = new Intent(this, RingerInformationActivity.class);
|
||||
startActivityForResult(i, ACTIVITY_CREATE);
|
||||
}
|
||||
@@ -251,7 +253,6 @@ public class ListActivity extends Activity implements OnItemClickListener, OnCli
|
||||
|
||||
final ProgressDialog progress = ProgressDialog.show(this, "", getText(R.string.loading), true, true);
|
||||
|
||||
// post to social sites in a new thread to prevent ANRs
|
||||
new Thread(new Runnable() {
|
||||
@Override
|
||||
public void run() {
|
||||
|
||||
Reference in New Issue
Block a user