When creating a glympse for the first time in an Activity, I call
start()
which is required before
sendTicket()
The glympse doesn't show up in notifications until after I hit send in the glympse wizard. Great, that works.
After stopping a glympse using the normal code given in the wrapper class
_glympse.stop()
_glympse = null
it stops. Great, that works too.
Now when I want to show the wizard again to create a new glympse, I have to call
start()
before I call
sendTicket()
The problem is that after I call start() and before I hit "send" in the glympse wizard, a notification shows up in android with the time remaining on the previously stopped glympse. I don't want that notification to be there.
How do I make sure the previously stopped glympse does not show up in Android's notifications when I am creating a new one?