Pages

Wednesday 20 December 2017

Android click on push notification create new activity instead of resume same activity from background

To solve this issue you need to change android:launchMode="singleTop" in AndroidMenifest.xml file for that activity.

Android Webview loaddata not changing content second time

Android Webview's loaddata method have issue.
use following way to load data to webview

webView.loadDataWithBaseURL(null, htmlContent, null, "utf-8", null);