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
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… Read More »
Git Link: https://github.com/ismithpasha/QRCodeScanner Code MainActivity.java: Code activity_main.xml
Recent Comments