I want to do a simple alert as per given time from the application,alert is also show if phone is locked. and when press ok then go to application view(if phone is locked). if we can not navigate to the application programmatically, then i can do manually do the screen unlock. but when i do the unlock the application should open. so is there any way to do like this?
Yes i know the i can do it with local notification but my question is : when i click "View detail" or any other button + my phone is locked - so can i go to my app.
I think your are looking for Local Notifications see About Local Notifications and Push Notifications