How to show an alert / notification to get user’s attention

How to show an alert / notification to get user’s attention

BY 18 Oct 2013 Web Application Development

In the web api, is there a way for a background running app to show an popup notification with sound and vibration even when the phone is locked? I mean kinda like a alert app. Is it possible? If it is, how? What are the essential API? Thanks in advance. 

Written by