我需要知道我是否在智能手机收到推送通知时进行此通知,此通知未向用户显示,但智能手机开始向网络服务器发送gps位置。 抱歉我的英语非常糟糕。
答案 0 :(得分:0)
您可以通过 BroadcastReceiver
接收推送通知时执行任何操作 @Override
protected void onMessageReceived(Context context, Intent intent) {
//i suppose sendGPS is the function that let you send your location
sendGPS();
}