Solutions for different problems, might not contain code

  1. Home
  2. chevron_right
  3. Solutions
  4. (Page 7)

Android Keep The Screen On

Snippets, Solutions
You surely want to keep the screen of your phone ON and you don’t know how to do this, otherwise you wouldn’t be on our blog đŸ˜›  But, you are…

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…