Hi,
My requirement:-
Whenever a Notification is received and clicked, the desired Activity should be displayed on the users App, and when the user press the back button, he should reach the HomePage.
I am able to get the above said requirement done via the solution provided in this thread by our friend DonManfred https://www.b4x.com/android/forum/threads/nb6-how-to-pass-multiple-information-using-tag.94639/
ie All notification will call HomePage and from HomePage Activity_Resume, based on the Notification type the required Activity is called.
Everything working fine except for one single Notification type. Here in this case the desired activity is not displayed instead it goes behind the HomePage ie the user sees the Activity ONLY when he closes the HomePage and leave the application.
The ONLY difference in this notification is that, I am calling an activity that contains a WebView. I send a URL via Message.Data and then this Activity displays that Webpage on the WebView. Now, this activity and webpage is displayed, but it goes behind the HomePage
I am puzzled why it is behaving so. Is there anything special to deal with when we call an activity that contains a Webview that loads an external webpage ?
Any hint in the right direction will be appreciated
My requirement:-
Whenever a Notification is received and clicked, the desired Activity should be displayed on the users App, and when the user press the back button, he should reach the HomePage.
I am able to get the above said requirement done via the solution provided in this thread by our friend DonManfred https://www.b4x.com/android/forum/threads/nb6-how-to-pass-multiple-information-using-tag.94639/
ie All notification will call HomePage and from HomePage Activity_Resume, based on the Notification type the required Activity is called.
Everything working fine except for one single Notification type. Here in this case the desired activity is not displayed instead it goes behind the HomePage ie the user sees the Activity ONLY when he closes the HomePage and leave the application.
The ONLY difference in this notification is that, I am calling an activity that contains a WebView. I send a URL via Message.Data and then this Activity displays that Webpage on the WebView. Now, this activity and webpage is displayed, but it goes behind the HomePage
I am puzzled why it is behaving so. Is there anything special to deal with when we call an activity that contains a Webview that loads an external webpage ?
Any hint in the right direction will be appreciated