Proper Usage of Intents. Intent intent=new Intent(Intent.ACTION_SEND); Use Fragments when it requires. Fragments are not having UI and not requires any permission to access. It will give best UI development for phones and Tablets. Avoid ANR(Application Not Responding) calls ANR will come when long running process is running on Main thread. Run those in Background thread or any other. Use Proper libraries and when it needed, and build gradle file proper Not understanding Bitmaps/Avoiding the usage of Bitmaps Not Setting minSdkversion, compileSdkversion and targetSdkVersion in build.gradle file Not optimizing bandwidth usage/ poor Memory Management Not developing your apps with different sizes / Your apps is not compatible with all devices (screens) / UI (User Interface) is not compatible with all sizes of devices Not having an idea about the user interaction with app/ not thinking whether the app is user-friendly or not (Because everyone may not use your app the same way you would use it) When we are writing code for any app, it should be easy to understand and readable to any other developer because we have to work with a team. We should specify the code with comments explaining your coding lines. We should keep in mind some points as below: We should follow the naming conventions provided by Java coding standards because Java would be your basic language for Android apps development Use full English descriptors that accurately describe the variable, field, class or interface. Each and every function should be commented properly Each block of code must be surrounded by try-catch block so that the application does not crash There has to be separate packages for Activities, Constant Data and Class Data Objects for the application. Progress dialog should be used wherever there is some heavy processing or network operation running Use custom styles and themes to make the UI consistent throughout the application if the UI is customized as per the client requirements
Fix Error: Use JsonReader.setLenient(true) for Malformed JSON
Hide/Disable soft keyboard on Activity launch: Android
How to get screen size (width,height) in Android?
How to install/ uninstall apk by command line ADB
Open PDF in Google Drive with Intent in Android - RRutors
How to convert DP to Pixel and Pixel to Dp?
How to get a contact image using a phone number in android?
How to reduce APK package size?
How to find Android Device UDID or unique ID?
What are the notifications available in android?
What is the difference between match_parent and fill_parent?
Add Jar/Library Files as Dependency in Android Studio
Android Studio project R can't find
Fix Behavior Subclass BottomSheetBehavior Exception - RRutors
What is "shared preferences" in Android ?
What is NetworkOnMainThread Exception?
How to Get bitmap from drawable: Android
What is ANR? How to avoid and resolve it?
What is Application?
How to save activity State in Android?
Fix Android Emulator Kill Error When Running Your App
How to start a new activity on button click
FragmentPagerAdapter deprecated, Since API 27.1.0 FragmentPagerAdapter is deprecated.
Emulator: emulator: ERROR: Can't find 'Linux version ' string in kernel image file: Andr
Explain Fragment Life Cycle
What is Android?
How to copy database from assets folder in android using kotlin
What are Android Versions available?
Check List for Generate Signed APK Android
What is Android Fragments?
Extract Date and Time from Long Type Variable - RRutors
ERR_ACCESS_DENIED in Android Webview with sdk 30
How to avoid multiple button click at same time in android?
How do i load image from drawable folder in Jetpack Compose?
Set Activity to Fullscreen Mode in Android - RRutors
How to validate email address in Android with Kotlin?
What happens next when the device switches between portrait and landscape?
How can i comment inside xml file in android studio?
INSTALL_FAILED_INVALID_APK: Split lib_slice_9_apk was defined multiple times. It is possible that th
How to get complete address from latitude and longitude?