general:
am broadcast -a <Intent-Name> -n <Package>/<Receiver-Name-with-leading-dot> <Extras>
example:
am broadcast -a com.google.android.c2dm.intent.REGISTRATION -n de.example/.GCMBroadcastReceiver
--es "registration_id" "1234"
general:
am broadcast -a <Intent-Name> -n <Package>/<Receiver-Name-with-leading-dot> <Extras>
example:
am broadcast -a com.google.android.c2dm.intent.REGISTRATION -n de.example/.GCMBroadcastReceiver
--es "registration_id" "1234"
general:
am broadcast -a <Intent-Name> -n <Package>/<Receiver-Name-with-leading-dot> <Extras>
example:
am broadcast -a com.google.android.c2dm.intent.REGISTRATION -n de.example/.GCMBroadcastReceiver
--es "registration_id" "1234"
/** | |
* error type | |
*/ | |
typedef int state_t; | |
/** | |
* error states | |
*/ | |
#define STATE_SUCCESS (0) | |
#define STATE_NULL_PTR (1) |
package api | |
import ( | |
"appengine" | |
"github.com/Moddus/go-restful" | |
) | |
type Basic struct { | |
Version string | |
Message string |