Category: Android

How to: AdMob banner and interstitial ads in Android WebView apps

Want to monetize your Android WebView app with ads from AdMob? Yeah, this is how to do it: Download the WebView template for Android Studio here. Extract the zip folder and open the project in Android Studio. Open Config.java file: You can activate and deactivate banner and/or interstitial ads and define the interval of appearing interstitial

[GUIDE] Downloading PDF and Images in Android WebView apps

Want to use WebView to save PDF and image files to your users phone or tablet? This is the way to do it: Download the WebView for Android Studio here. Save PDF files by calling links with .pdf suffix: <a href="http://www.example.org/file.pdf">Link</a> Save images to the camera roll of the user by running this script on your

Change UserAgent in Android WebView apps

Want to identify WebView client accesses? Makes sense, you can use it for tracking/analytics purposes and for separating web browser and WebView client accesses to optimize/modify the style or content. The default WebView UserAgent looks like this: Mozilla/5.0 (Linux; U; Android 4.1.1; en-gb; Build/KLP) AppleWebKit/534.30 (KHTML, like Gecko) Version/4.0 Safari/534.30 (more information here). So let’s change

How to rename Android Studio packages

Take a look on this short how-to video clip to know how to rename your Android Studio package name for Google Play marketplace submission. ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Interested in all-inclusive WebView app service for iOS and Android? Check out the WeSetupYourWebViewApp.com service! ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++