android notification 传值关键

android notification 传值关键在
onNewIntent方法里获取

@Override protected void onCreate(Bundle savedInstanceState) { processIntent(getIntent()); } @Override protected void onNewIntent(Intent intent) { processIntent(intent); }; private void processIntent(Intent intent){ //get your extras }

你可能感兴趣的