Google Analytics v4 API Android

Implementing Google Analytics v4 API Android, Google Analytics provides powerful digital analytics for anyone with a web presence, large or small. It’s one of the most powerful digital analytics solutions available – and it’s free for anyone to use.
I will show you the step by step methods to Implementing Google Analytics v4 API Android.

Step 1 : The Application Class File, Google Analytics v4 API Android.

Create a class with name MyApplication.java (you can create a class with any name, Here I am using this). And put the below code

Continue reading

Styling Android TextView Simple Code

Styling Android TextView is simple with four attribute of TextView. And those attributes are :

  • shadowColor
  • shadowDx
  • shadowDy
  • shadowRadius

 android:shadowColor

The shadowColor will set a specified color shadow behind the text. The value for shadowColor attribute must be anyone of these forms : “#rgb“(#09f), “#argb“(#709f), “#rrggbb“(#0099ff), or “#aarrggbb“(#7F0099ff).

Continue reading

Android Activity Fullscreen Simple Code Snippet

To make an Android Activity Fullscreen, There is two ways:

  1. With java code in your Activity file.
  2. With xml code in your AndroidManifest.xml file.
Android Activity Fullscreen with Java code

Android Activity Fullscreen with Xml code

Continue reading