Android Question Suppress Display

peggjones

Active Member
Licensed User
Longtime User
Hello

I have an activity which runs when a user presses a button on a notification. I do not want to display anything just update something on a databse. How can I suppress the display of the icon and the application label?

Thanks
 

peggjones

Active Member
Licensed User
Longtime User
Yes the activity icon. What I want to happen is as follows

Activity message is displayed.
User pressed button.
Program runs to set a flag on an SQL database. I want this bit to happen without any interaction with the user ie nothing to display, no requirement for them to do anything.

Thanks
 
Upvote 0

peggjones

Active Member
Licensed User
Longtime User
I tried doing the database update then activity.finish and was left with a blank screen that required manual intervention to get rid of it. What I want is for the home screen to remain displayed and for no action to be required of the user.

Thanks
 
Upvote 0
Top