Uncategorized

Android status bar turns white and does not show content behind it

So it turns out we need remove the [java] <item name="android:statusBarColor">@android:color/transparent</item>[/java] in styles.xml(v21).

Uncategorized

Google Admob implementation : Interstitial

Before Follow this tutorial please first complete the project configuration about how to integrate admob in android .  GOOGLE ADMOB IMPLEMENTATION ON ANDROID PROJECT   Step 1 :Create an interstitial ad object Interstitial ads are requested and shown by InterstitialAd… Continue Reading…

Uncategorized

Unity touch to swipe left right forward and back(down) : mobile input for android and IOS – Complete Script

[java] using UnityEngine; public class Swipe : MonoBehaviour { private Vector2 fingerDown; private Vector2 fingerUp; public bool detectSwipeOnlyAfterRelease = false; public float SWIPE_THRESHOLD = 20f; public GameObject gameObeject; public float moveSpeed = 200f; void Start(){ //Rigidbody rb = GetComponent<Rigidbody>(); }… Continue Reading…

Uncategorized

Execution failed for task

‘:app:transformDexArchiveWithExternalLibsDexMergerForDebug’. > com.android.builder.dexing.DexArchiveMergerException: Unable to merge dex Error:Execution failed for task Solution : Step 1 : Clean Step 2 : Rebuild if the you are facing the following problem update google service class path.

Uncategorized

Error:Execution failed for task

Error:Execution failed for task ‘:app:transformDexArchiveWithDexMergerForDebug’. > com.android.build.api.transform.TransformException: com.android.dex.DexException: Multiple dex files define Lcom/google/android/gms/internal/measurement/zzws;   update the google-service plugin to: classpath ‘com.google.gms:google-services:3.3.0’

Uncategorized

Error:Execution failed for task ‘:app:processDebugGoogleServices’. > Please fix the version conflict either by updating the version of the google-services plugin (information about the latest version is available at https://bintray.com/android/android-tools/com.google.gms.google-services/) or updating the version of com.google.android.gms to 11.4.2.

Solution : Check all google version is same. If google play service is different then others then there may create conflict. Firebase and others google services should be in same version. Example : [java] dependencies { implementation fileTree(dir: ‘libs’, include:… Continue Reading…

Uncategorized

Google Admob implementation on android project

All are described here here https://developers.google.com/admob/android/quick-start. I am only arrange step by step procedure- Step 1 : Example project-level build.gradle (excerpt) add this on build.gradle(global) in repositories brackets [java] maven { url "https://maven.google.com" } [/java] as like – [java] allprojects… Continue Reading…

Uncategorized

Android multiple runtime permission

Step -1 : Add the permissions on Menifest. [java] &amp;amp;amp;amp;amp;amp;lt;uses-permission android:name="android.permission.RECORD_AUDIO" /&amp;amp;amp;amp;amp;amp;gt; &amp;amp;amp;amp;amp;amp;lt;uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" /&amp;amp;amp;amp;amp;amp;gt; &amp;amp;amp;amp;amp;amp;lt;uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE"&amp;amp;amp;amp;amp;amp;gt;&amp;amp;amp;amp;amp;amp;lt;/uses-permission&amp;amp;amp;amp;amp;amp;gt; [/java] Step 2 : Request for permissions [java] //Permission function starts from here private void RequestMultiplePermission() { // Creating String Array with Permissions.… Continue Reading…

Uncategorized

Unity google admob implementation

Part 1 : Go to the git repository and download/clone it https://github.com/googleads/googleads-mobile-unity Part 2:  Download unity google admob latest plugin https://github.com/googleads/googleads-mobile-unity/releases Part 3 Create a Unity Project and import the plugin Part 4: Go to following directory of the repository… Continue Reading…

Uncategorized

Unity play background music without restart the music when scene reloaded

Step 1:   Create an empty game object named like BackgroundMusic. and add a tag name like “BackgroudMusic”. Step 2: Add a AudioSource and attach a music on that. Step 3:  Create C# script named Background music or anything else .… Continue Reading…

September 2018
M T W T F S S
« Aug   Oct »
 12
3456789
10111213141516
17181920212223
24252627282930

Site Statistics

  • Users online: 0 
  • Visitors today : 2
  • Page views today : 2
  • Total visitors : 3,424
  • Total page view: 3,838