<uses-sdk
android:minSdkVersion="5"
android:targetSdkVersion="10" >
+
<!-- targetSdkVersion *must* be <=10 so we can show the legacy "menu" button -->
</uses-sdk>
<meta-data
android:name="android.support.PARENT_ACTIVITY"
android:value="de.cwde.freeshisen.ShisenShoActivity" />
+
<intent-filter>
<action android:name="de.cwde.freeshisen.SETTINGS" />
<meta-data
android:name="android.support.PARENT_ACTIVITY"
android:value="de.cwde.freeshisen.ShisenShoActivity" />
+
+ <intent-filter>
+ <action android:name="de.cwde.freeshisen.HISCORE" />
+
+ <category android:name="android.intent.category.DEFAULT" />
+ </intent-filter>
</activity>
</application>
android:icon="@android:drawable/ic_menu_preferences"
android:title="@string/options">
</item>
-<!-- <item
+ <item
android:id="@+id/hiscore"
+ android:icon="@android:drawable/ic_menu_myplaces"
android:title="@string/besttimes">
</item>
- -->
<item
android:id="@+id/about"
android:icon="@android:drawable/ic_menu_info_details"
case R.id.undo:
case R.id.clean:
return view.onOptionsItemSelected(item);
+ case R.id.hiscore:
+ startActivity(new Intent("de.cwde.freeshisen.HISCORE", null));
+ return true;
case R.id.options:
- startActivityForResult(new Intent("de.cwde.freeshisen.SETTINGS", null), 0);
+ startActivity(new Intent("de.cwde.freeshisen.SETTINGS", null));
return true;
case R.id.about:
onAboutActivate();