是否可以从 调用方法Intent
?我需要调用我构建的通知方法,并且它必须在此活动中。
Intent locationNotific = new Intent("SendProximityIntent");
locationNotific.putExtra("RowID", id);
sendBroadcast(locationNotific);
PendingIntent lPendingIntent = PendingIntent.getActivity(this, 0,
locationNotific, 0);
lm.addProximityAlert((double) locationAlertGeoP.getLatitudeE6(),
(double) locationAlertGeoP.getLongitudeE6(),
(float) 999999999,(long) 100000, lPendingIntent);