@SdkConstant
, AFAIK, is from the Android OS source code itself, or things built into a revised version of that OS.
For your purposes, just comment them out.
Currently I have simply added the following intent filter to my test activity, however pressing the hardware button produces no result.
That is because, based on the @SdkConstant
lines, those are used for broadcasts, not starting activities. Try implementing a BroadcastReceiver
that listens for them.