B4A. just point me, please:
i have a service that streams network audio. when user moves away from main to check email while still continuing to listen to the radio, a notification indicates that if she taps it, the service will stop the audio play (not the service, just the play). whether or not she changes back to main app later is up to her. but tapping the notification stops the audio.
i get the impression that i can only stop the audio but starting up the main activity again and have it tell the service to stop the audio (use setinfo2 to trigger activity_resume and extract tag). is this correct?
is there a way to call a sub in the service by tapping the notification and not having to switch task back to main? tks
-go
i have a service that streams network audio. when user moves away from main to check email while still continuing to listen to the radio, a notification indicates that if she taps it, the service will stop the audio play (not the service, just the play). whether or not she changes back to main app later is up to her. but tapping the notification stops the audio.
i get the impression that i can only stop the audio but starting up the main activity again and have it tell the service to stop the audio (use setinfo2 to trigger activity_resume and extract tag). is this correct?
is there a way to call a sub in the service by tapping the notification and not having to switch task back to main? tks
-go