Show dialog
This commit is contained in:
parent
723d301f6c
commit
d7c858f2c8
2 changed files with 1 additions and 3 deletions
|
@ -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>
|
||||
|
||||
|
|
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue