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
Key Points to remember while develop the Android Application.
Android Activity FullScreen - How to set activity to fullscreen mode in Android?
How to avoid multiple button click at same time in android?
Explain Fragment Life Cycle
How to Get bitmap from drawable: Android
How to convert DP to Pixel and Pixel to Dp?
What is the Different Between val and var in Kotlin?
How can i comment inside xml file in android studio?
How to check Android version?
How to save activity State in Android?
What are symmetric and asymmetric encryption in the way Android interacts with the server?
Invoke-customs are only supported starting with android 0 --min-api 26
INSTALL_FAILED_INVALID_APK: Split lib_slice_9_apk was defined multiple times. It is possible that th
How to get an image resource by it's name in android?
What is NetworkOnMainThread Exception?
Intent for Drive PDF Viewer - How to open PDF in Google Drive with intent
Could not inflate Behavior subclass android.support.design.widget. BottomSheetBehavior How resolve
Emulator: emulator: ERROR: Can't find 'Linux version ' string in kernel image file: Andr
What is ANR? How to avoid and resolve it?
Android Studio project R can't find
How do I check in SQLite whether a table exists?
How to Generate signed apk with android studio
How do I generate random numbers in Dart?
How to extract date and time from Long type variable in Kotlin on Android "
What is Android Fragments?
How to get complete address from latitude and longitude?
What happens next when the device switches between portrait and landscape?
How to Exit android app on back pressed?
What is Intent? What is the difference between an implicit intent and an explicit intent?
How to get a contact image using a phone number in android?
How to copy database from assets folder in android using kotlin
What are Android Versions available?
What is Application?
How to get screen size (width,height) in Android?
How to reduce APK package size?
How To Set Text Color Programmatically Android TextView?
ERR_ACCESS_DENIED in Android Webview with sdk 30
What is "shared preferences" in Android ?
'constructor Handler()' is deprecated. Deprecated in Java, How to use Handler() class in And
How do i load image from drawable folder in Jetpack Compose?