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
How to install/ uninstall apk by command line ADB
How to copy database from assets folder in android using kotlin
What happens next when the device switches between portrait and landscape?
What are symmetric and asymmetric encryption in the way Android interacts with the server?
How to validate email address in Android with Kotlin?
How to get screen size (width,height) in Android?
What is NetworkOnMainThread Exception?
How to reduce APK package size?
What is Context?
Emulator: emulator: ERROR: Can't find 'Linux version ' string in kernel image file: Andr
How to add jar/library files as a dependency in Android studio gradle file
How to get a contact image using a phone number in android?
What is Android Fragments?
How to get an image resource by it's name in android?
How to check Android version?
FragmentPagerAdapter deprecated, Since API 27.1.0 FragmentPagerAdapter is deprecated.
Invoke-customs are only supported starting with android 0 --min-api 26
How do i load image from drawable folder in Jetpack Compose?
What is ANR in android?
What is Intent? What is the difference between an implicit intent and an explicit intent?
'constructor Handler()' is deprecated. Deprecated in Java, How to use Handler() class in And
Permission denied for window type 2010 in Marshmallow device
Could not inflate Behavior subclass android.support.design.widget. BottomSheetBehavior How resolve
Intent for Drive PDF Viewer - How to open PDF in Google Drive with intent
How to Get bitmap from drawable: Android
Error: Use JsonReader.setLenient(true) to accept malformed JSON at line 1 column 1 path
Key Points to remember while develop the Android Application.
How to stop EditText focus at Activity startup in Android?
What are the notifications available in android?
How To Set Text Color Programmatically Android TextView?
Duplicate files during packaging of APK” build.gradle issue: Android Studio
Explain Fragment Life Cycle
ERR_ACCESS_DENIED in Android Webview with sdk 30
How to save activity State in Android?
What is Android?
How can i comment inside xml file in android studio?
How do I generate random numbers in Dart?
How to start a new activity on button click
Android FCM not receiving notifications when app is removed from background
What are Android Versions available?