Click here to Skip to main content
15,867,330 members
Please Sign up or sign in to vote.
3.40/5 (2 votes)
See more:
hi how to implement code for displaying alert messages for every 5 minuets one new message as a alert type in the back ground process.(i mean if we receive a message then after 5 minuets another new message here my intention is i able to see all alerts it mean i able to see last messages and previous messages at a time) so kindly help me to over come from this problem
Posted
Comments
[no name] 28-Jul-11 10:35am    
Question is not clear, please rephrase your question.
Mike DiGiovanni 11-Oct-12 11:06am    
Are you looking for popup dialogs? Or to use the built in Notifications?

1 solution

Override onBackPressed() method and write code for alert dialog with button and text.When ever u click on back button the dialog will pop up.if u want to finish the activity when click on that alert dialog button call finish method.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900