Show dialog

This commit is contained in:
Victor Shcherb 2016-12-09 09:42:58 +01:00
parent 723d301f6c
commit d7c858f2c8
2 changed files with 1 additions and 3 deletions

View file

@ -14,12 +14,10 @@
<activity
android:name="net.osmand.skimaps.SkiMapsActivity"
android:label="@string/app_name" >
<!--
<intent-filter>
<action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.LAUNCHER" />
</intent-filter>
-->
</activity>
</application>

View file

@ -44,7 +44,7 @@ public class SkiMapsActivity extends Activity {
builder.setPositiveButton(getString(R.string.shared_string_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:" + OSMAND_COMPONENT_PLUS));
Intent intent = new Intent(Intent.ACTION_VIEW, Uri.parse("market://search?q=pname:" + OSMAND_COMPONENT));
try {
stopService(intent);
startActivity(intent);