So let's say the key for that preferences button is "AboutPrefKey".
How do I reference that key? Here's what I mean:

        @Override
        public boolean onMenuItemSelected(int featureId, MenuItem item) {
              switch( featureId ) {
              case ??????:
              startActivity( new
Intent( Intent.ACTION_VIEW ).setClass(this,AboutActivity.class) );
              break;
              }
        return super.onMenuItemSelected(featureId, item);
        }

-- 
You received this message because you are subscribed to the Google
Groups "Android Beginners" group.

NEW! Try asking and tagging your question on Stack Overflow at
http://stackoverflow.com/questions/tagged/android

To unsubscribe from this group, send email to
android-beginners+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-beginners?hl=en

Reply via email to