Is your application the main name of the com.nyapp.gcm or com.myapp package?
In terms of manifest resolution, you use com.myapp.gcm, and in the recipient intent filter category, you use com.myapp.
In both places you should have the same package, which is the main package of your application.
source share