Category: Android

Category: Android

Easiest way to Play Gif Image On Android Activity
September 29, 2019 Android, Programming ismithpasha

The easiest way to play any GIF image on an Android Activity or View is by using “webview”. Here is the Git link for the source code. https://github.com/ismithpasha/PlayGifOnAndroidActivity

Read More
Easiest way to Get current location offline – Java Android
September 24, 2019 Android, Programming ismithpasha

App Permissions to ‘AndroidManifest.xml’ file. Code: activity_main.xml Code: MainActivity.java In location setting it has to be high accuracy or GPS only. This piece of code will work. App Permissions for the version lower than lollipop will automatically approved. For marshmallow and higher version app needs runtime permission. Courtesy: https://stackoverflow.com/questions/46906017/getting-location-offline

Read More
Keyboard Shortcuts for Android Studio
August 1, 2019 Android, Programming ismithpasha

Android Studio includes keyboard shortcuts for different actions. Here is some default keyboard shortcuts of Android Studio for Windows/Linux and Mac operating systems. Find: ctrl + F in Windows/Linux and cmd + F in Mac Replace: ctrl + R in Windows/Linux and cmd + R in Mac Find class: ctrl + N in Windows/Linux and cmd + O in Mac Find file: ctrl + shift+

Read More
Simple QR Code Scanner – Android
June 23, 2019 Android, Programming ismithpasha

Git Link: https://github.com/ismithpasha/QRCodeScanner Code MainActivity.java: Code activity_main.xml

Read More