I have created Service which contains several notifications in the foreground to indicate its status (searching, lock, disabled... etc.). I would like a way to add a PendingIntent which points to the activity that called my service (there may be several activities that can call or bind to this service). Is there a way to relay the activity class where the StartService(Intent) was called, via the Intent.
My intention is to not hard code the activity class(es) into the service, but instead pull the .class from the intent, in the services onStartCommand(...).