Можно ли вызвать метод из 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);