Issue Looking for suggestions for fixing this production crash. Crashlytics and Play report that our app is crashing in a call to Typeface.createFromFile(File). I’m surprised to see a native callstack for this since we have the calling function wrapped in
Continue readingTag: android
What are the different Jetpack Compose phases executed as part of recomposition
Issue I’m looking at the Jetpack Compose Phases * and trying to mentally map how it applies to recomposition Assuming i have my viewmodel like this: data class MyDataClass( val contentA: String? = null, val contentB: String? = null, val
Continue readingRetrofit interceptor for JWT datastore in jetpack compose
Issue Sorry new to jetpack compose here, My interceptor for retrofit, uses old JWT value while making api calls from datastore. On relaunch it fetches latest and correct. But just after login, it uses old value of JWT from datastore.
Continue readingConvert Fingerprint Image to Template with Java
Issue I am trying to convert a fingerprint image with format jpg to a template using the library SourceAFIS https://sourceafis.machinezoo.com/ But I am receiving a few bytes that doesn’t look like template (Minutiae data), any suggestions to achieve this goal?
Continue readingConverting timestamp returns the wrong date – Kotlin
Issue I have this code val today = Calendar.getInstance().get(Calendar.DAY_OF_YEAR) val dueDay = Calendar.getInstance() dueDay.timeInMillis = 1708395041 val dueDate = dueDay.get(Calendar.DAY_OF_YEAR) val dateFormat = SimpleDateFormat("hh:mm a", Locale.getDefault()) val fullDateFormat = SimpleDateFormat("MMM dd, hh:mm a", Locale.getDefault()) Log.d("t","date ${fullDateFormat.format(Date(1708395041))) Why in logs I
Continue readinghow to create a hexagon shape with curved endsin Jetpack composeH
Issue I’ve attempted to create a hexagon shape in jetpack compose but could only achieve pointed ends, tried several methods with quadraticBezierTo and arcs but couldn’t achieve a result with curved ends. I’ve tried to look on the web but
Continue readingWhat's the difference between sharing files using WiFi direct and using a WiFi hotspot?
Issue Sharing files between two devices using WiFi can be done by using WiFi direct or creating a hotspot on one device and connecting other device to it. What is the basic difference between these two methods? In both the
Continue readingHow to remove bottom padding from bottom sheet in Jetpack Compose
Issue Screenshot Of Problem I am using Material 2 bottomsheet scaffold and while expanding bottom sheet i facing this issue, I haven’t apply any padding for bottom yet it appears and i tried many things but i was unable to
Continue readingGradle Kotlin DSL Files – Separate Config Files
Issue I’m currently in the process of migrating my groovy gradle files to kotlin. I have jacoco and sonarcloud integrated into my application. I have separate groovy gradle files for jacoco and sonar config and apply them to my build.gradle(:app)
Continue readingWhy does my App need android.permission.FOREGROUND_SERVICE_LOCATION?
Issue I have been working on various features on our Android 14 App using the latest version of Android Studio Hedgehog and Java over the past months. Whenever I completed a big feature, I published the App using Google’s Play
Continue reading