Solutions

Solutions for different problems, might not contain code

Android – Load a String into WebView

Snippets, Solutions
To load html data from a String into a WebView, you can use the following method: yourWebView.loadDataWithBaseURL("x-data://base", stringToLoadInWebView, "text/html", "UTF-8", null); Note that the UTF-8 charset might be different for…

Add image to email intent in Android

Snippets, Solutions
How to add image to an email intent in Android: // build a email sending intent Intent emailIntent = new Intent(android.content.Intent.ACTION_SEND); emailIntent.setType("image/png"); // set the email subject emailIntent.putExtra(Intent.EXTRA_SUBJECT, "email subject");…

Android AdMob Banner XML

Solutions, Tutorial
In the preview tutorial I explained how to add AdMob to your project, but we created the AdView in Java. So in this tutorial I will show you how to…
keyboard_arrow_up
sponsored
Exit mobile version