Posts

Showing posts with the label Android Studio

Integrate Google Sign In in Android Studio

Image
Today I'll teach you how to Integrate Google SignIn in android studio. First for signIn we need Internet Permission. So add Internet permission. <uses-permission android:name="android.permission.INTERNET" /> Then we go to activity_main.xml. <?xml version="1.0" encoding="utf-8"?> <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" xmlns:app="http://schemas.android.com/apk/res-auto" xmlns:tools="http://schemas.android.com/tools" android:id="@+id/main_layout" android:layout_width="match_parent" android:layout_height="match_parent" android:background="#000000" android:weightSum="4"> <ProgressBar android:id="@+id/progressBar" android:layout_width="0dp" android:layout_height="0dp" android:layout_marginBottom="8

Screen Recorder in Android Studio

Image
Today I'll teach you how to make a screen recording app in android studio. Screen Recording feature is available only for API level above or equal 21(LOLLIPOP) . Before Lollipop app must require root permission to record screen. You can also the whole project Download Project Follow the below instructions :- 1) Add the Storage permission and audio permission in your Android Manifest file. <uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE"/> <uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE"/> <uses-permission android:name="android.permission.WRITE_INTERNAL_STORAGE"/> <uses-permission android:name="android.permission.RECORD_AUDIO"/> Your android manifest will look like below:- <?xml version="1.0" encoding="utf-8"?> <manifest xmlns:android="http://schemas.android.com/apk/res/android" package="com.san