Android Banner Ads Google AdMob

In the below example, we are displaying Google AdMob Banner Ads on its layout. build.gradle: In the build.gradle file, we will add the below google ads dependencies. compile ‘com.google.android.gms:play-services-ads:8.4.0’ apply plugin: ‘com.android.application’   android { compileSdkVersion 28 defaultConfig { applicationId "com.example.radioapp" minSdkVersion 23 targetSdkVersion 28 versionCode 1 versionName "1.0" testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner" } buildTypes { release … Read more

Android Google AdMob

There are mainly three types of Google Ads these are: Banner ads Interstitial ads Rewarded Video ads Banner Ads: The rectangular text or image ads occupying a small spot in the app’s layout are considered as Banned Ads. When users are interacting with the app, the Banner ads stay on the layout. These ads refresh … Read more

Android Google Map Search Location using Geocoder

The Geocoder class is used to search locations in the Google Map API and to handle geocoding and reverse geocoding. The process to convert the street address into a coordinate (latitude, longitude) is called Geocoding. The process to convert a coordinate (latitude, longitude) into an address is called Reverse geocoding. Methods of Geocoder class: List<Address> … Read more

Android Google Map Displaying Current Location

The Google Map API key needs to be generated to display and place a marker at the user current location. Along with that, we also need to implement some interfaces and their callbacks methods. Callback methods in Google Map: OnMapRreadyCallback: Invoked when its instance is set on the MapFragment object. When the map is ready … Read more

Android Google Map

In Android, we can integrate Google maps in an application to display the current location, navigate location direction, to search location, and for many more such purposes. Android also provides the facility to customize Google Maps if required. Types of Google Maps: Different types of Google maps give a different view on the map. We … Read more

Android Web Service Tutorial

To authenticate or save the information in an external database like oracle, MySQL, PostgreSQL, SQL server using other applications developed in java, .net, PHP, etc., languages, a restful web service application is created in android. What is Web Service? For exchanging information between two or more different types of applications, irrespective of their language or … Read more

Android Animation

With parameters like start value, end value, size, time duration, rotation angle, etc., Tween Animation performs the desired animation on an object. Tween Animation in Android is provided by a class called Animation, to be applied to any type of object. In Android, various classes and interfaces are present in the android. animation package, for … Read more

Android Simple Graphics

To draw graphics, the android.graphics.Canvas is used in android that provides methods to draw oval, rectangle, picture, text, line, etc. Along with the canvas, the android.graphics.Paint class is used to draw the objects. The information about the color and style are included in the Paint class. Example: In the below example, we are using the … Read more

Android Sensor Tutorial

To monitor the three-dimensional device movement or to monitor the change in the environment of the device, the Sensors are used. In Android, we can work with different types of sensors, using the Sensor API. Types of Sensors: There are three types of sensors in Android. These are: Motion Sensors: To measure the acceleration forces and … Read more

Android Camera Tutorial

To capture the pictures and videos, the camera is used. To control a camera in Android, the methods of the camera API are used. To work on camera in Android, we can choose either of the ways mentioned below: By Camera Intent By Camera API Understanding basic classes of Camera Intent and API: The Camera … Read more