Bring the Phonegap app to the fore

I'm developing an HTML5 phone conversation app (which will be installed on both Andriod and iOS) and wondering how can I bring my app to the foreground after the user has switched to another app?

For example, there is a new notification coming from the server, and I want to activate my application and bring it to the front for the user's attention (just like someone calls you on Viber, your screen splashes with a call screen)

Viber Incoming Call

Thanks everyone in advance!

+3
android ios cordova


source to share


No one has answered this question yet

Check out similar questions:

1665
How can I get the UITextField to move upward when there is a keyboard - when starting editing?
958
How do I change the name of an iOS app?
nine
Local Phonegap Storage
4
Android Phonegap app - bringing activity to the foreground
3
Bring activity to foreground alert only if it is in the background
3
Phonegap - transition from background to foreground
2
PhoneGap + jQuery Mobile on Android - Loading Screen
2
Is there a way to bring the app to the foreground when receiving a push notification?
1
Stop app from going to foreground on startup
0
Phonegap App and LocalStorage



All Articles
Loading...
X
Show
Funny
Dev
Pics