rebranding to osmand plus. Put changed string on the top
This commit is contained in:
parent
6ef41f2dbd
commit
d6def716ad
4 changed files with 19 additions and 18 deletions
|
@ -1,6 +1,6 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
package="net.osmand" android:installLocation="auto" android:versionName="0.5.2" android:versionCode="25">
|
||||
package="net.osmand.plus" android:installLocation="auto" android:versionName="0.6.1" android:versionCode="30">
|
||||
<application android:icon="@drawable/icon" android:label="@string/app_name"
|
||||
android:debuggable="false" android:name=".activities.OsmandApplication" android:description="@string/app_description">
|
||||
<activity android:name=".activities.MainMenuActivity"
|
||||
|
|
|
@ -227,7 +227,7 @@
|
|||
<string name="follow_route">Следовать по маршруту</string>
|
||||
<string name="mark_final_location_first">Отметьте сначала точку назначения</string>
|
||||
<string name="get_directions">Маршрут</string>
|
||||
<string name="gps_status_app_not_found">Приложение Gps status не найдено</string>
|
||||
<string name="gps_status_app_not_found">Приложение Gps status не найдено. Искать на маркете</string>
|
||||
<string name="show_gps_status">GPS статус</string>
|
||||
<string name="opening_hours">Рабочие часы</string>
|
||||
<string name="opening_changeset">Открытие пакета правок</string>
|
||||
|
|
|
@ -1,5 +1,7 @@
|
|||
<?xml version="1.0" encoding="utf-8" standalone="no"?>
|
||||
<resources>
|
||||
<string name="gps_status_app_not_found">GPS status application not installed. Search in Market?</string>
|
||||
|
||||
<string name="voice_is_not_available_msg">Voice guidance is not available. Please go to settings, choose preferrable voice data or download it.</string>
|
||||
<string name="voice_is_not_available_title">Voice data is not specified</string>
|
||||
<string name="trace_rendering_descr">Use this flag to check rendering performance</string>
|
||||
|
@ -231,7 +233,6 @@
|
|||
<string name="follow_route">Follow to the route</string>
|
||||
<string name="mark_final_location_first">Please select destination first</string>
|
||||
<string name="get_directions">Directions</string>
|
||||
<string name="gps_status_app_not_found">GPS status application not installed. Search in Market?</string>
|
||||
<string name="show_gps_status">Show GPS status</string>
|
||||
<string name="opening_hours">Opening hours</string>
|
||||
<string name="opening_changeset">Openging changeset...</string>
|
||||
|
|
|
@ -66,6 +66,7 @@ import android.app.Notification;
|
|||
import android.app.NotificationManager;
|
||||
import android.app.PendingIntent;
|
||||
import android.app.ProgressDialog;
|
||||
import android.content.ActivityNotFoundException;
|
||||
import android.content.ComponentName;
|
||||
import android.content.DialogInterface;
|
||||
import android.content.Intent;
|
||||
|
@ -1009,21 +1010,20 @@ public class MapActivity extends Activity implements IMapLocationListener, Senso
|
|||
startActivity(intent);
|
||||
} else {
|
||||
AlertDialog.Builder builder = new AlertDialog.Builder(this);
|
||||
builder.setMessage(getString(R.string.gps_status_app_not_found))
|
||||
.setPositiveButton(
|
||||
getString(R.string.default_buttons_yes),
|
||||
new DialogInterface.OnClickListener() {
|
||||
@Override
|
||||
public void onClick(DialogInterface dialog,
|
||||
int which) {
|
||||
Intent intent = new Intent(
|
||||
Intent.ACTION_VIEW,
|
||||
Uri.parse("market://search?q=pname:" + GPS_STATUS_COMPONENT));
|
||||
startActivity(intent);
|
||||
}
|
||||
})
|
||||
.setNegativeButton(getString(R.string.default_buttons_no), null)
|
||||
.show();
|
||||
builder.setMessage(getString(R.string.gps_status_app_not_found));
|
||||
builder.setPositiveButton(getString(R.string.default_buttons_yes),
|
||||
new DialogInterface.OnClickListener() {
|
||||
@Override
|
||||
public void onClick(DialogInterface dialog, int which) {
|
||||
Intent intent = new Intent(Intent.ACTION_VIEW, Uri.parse("market://search?q=pname:" + GPS_STATUS_COMPONENT));
|
||||
try {
|
||||
startActivity(intent);
|
||||
} catch (ActivityNotFoundException e) {
|
||||
}
|
||||
}
|
||||
});
|
||||
builder.setNegativeButton(getString(R.string.default_buttons_no), null);
|
||||
builder.show();
|
||||
}
|
||||
return true;
|
||||
// } else if (item.getItemId() == R.id.map_mark_point) {
|
||||
|
|
Loading…
Reference in a new issue