Step 1 : Open android studio . Now go to File->Settings->Plugins->Browse Plugins->Android WiFi ADB . Step 2 : Install it and restart . Step 3…
Month: August 2018
CrossPlatformInputInitialize.cs(91,34): error CS0619: `UnityEditor.BuildTargetGroup.WebPlayer’ is obsolete: `WebPlayer was removed in 5.4, consider using WebGL’
Step 1: Open the script Step 2 : just replace [java]BuildTargetGroup.WebPlayer[/java] to [java] BuildTargetGroup.WebGL[/java]
Android always run application in background even force killed
Create a service: [java]public class YourService extends Service { @Nullable @Override public IBinder onBind(Intent intent) { return null; } @Override public int onStartCommand(Intent intent, int…
android mediaRecorder.setAudioSource failed
Add this two permission on manifest [java] <uses-permission android:name="android.permission.RECORD_AUDIO" /> <uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" /> [/java] And make sure that permissions are granted. For marshmallow and later…
This Activity already has an action bar supplied by the window decor
Add this two line in your style.xml file : <item name=”windowActionBar”>false</item> to your theme declaration inside of your app/src/main/res/values/styles.xml. Also, if you’re using AppCompatActivity support library of version…
Android runtime permission – Read Phone State
Step 1 : Add this uses permission in manifest [java] <uses-permission android:name="android.permission.READ_PHONE_STATE"></uses-permission>[/java] As like this [java]</pre> <pre><?xml version="1.0" encoding="utf-8"?> <manifest xmlns:android="http://schemas.android.com/apk/res/android" package="com.arifhasnat.automaticcallrecorder"> <uses-permission android:name="android.permission.READ_PHONE_STATE"></uses-permission> <application…
could not load exp network response timed out
Run this two commands in project directory [java]npm install -g exp[/java] [java]exp start[/java]
Java design pattern – Introduction
What is design pattern : Java is a object oriented programming based language. Software developers are use OOP(Object oriented progamming) to maintain code and structure in…
JAVA_HOME is not set and no ‘java’ command could be found in your PATH windows
Step 1 : Right on my computer/This PC. Step 2 : Go to Advanced Settings Step 3. Go to Environment Variables Step 4. Select PATH…
React Native installation on Mac
Step one : First Visit this one http://arifhasnat.com/2018/08/10/react-native-1-installation-and-project-create/ Step two : Then open terminal and run this command to get react native command line [java] sudo…