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 readingTag: java
ImageView setOnClickListener Not Work (Java/Android)
Issue Im having some problem with Click Listener on Image View I try to log some text if I click on the button But it not work at all Here is my code, Hope u can help me: ChatHeadService.java ImageView
Continue readingAfter the second press, I need to return the button to its original state and so that it can work again
Issue @Override public void onClick(View view) { editText.setVisibility(View.VISIBLE); editText.setEnabled(true); name.setVisibility(View.INVISIBLE); button1.setText("Confirm"); button1.setOnClickListener(new View.OnClickListener() { @Override public void onClick(View view) { editText.setVisibility(View.INVISIBLE); editText.setEnabled(false); name.setVisibility(View.VISIBLE); button1.setText("Edit"); } }); } }); I wanted to change the information of the button from "edit" to
Continue readingProgrammatically Install APK on Android 12 – " Permission to access file: /storage/emulated/0/xxxx.apk is denied "
Issue With Android Studio, Java language, I write an application that install a package which APK is /eduphone/eduphone.apk On Android 12 I get the following error on Logcat : Permission to access file: /storage/emulated/0/Download/eduphone/eduphone.apk is denied I tried several solutions
Continue readingWebrtc android native error #AddStream is not available with Unified Plan SdpSemantics. Please use AddTrack instead
Issue I am working on audio video calling application using web-rtc dependency implementation ‘com.dafruits:webrtc:113.0.0’ on these line public void addLocalStream(MediaStream stream) { //pc is for peerconnection if (pc == null) return; Log.d("dds_test", "addLocalStream"); pc.addStream(stream); } I am getting this error
Continue readingCustom scrollable timepicker in android Kotlin
Issue I want to create a time picker as shown in the image. I have tried varoious fields but it didnt work. Solution Thank you @Ranjithkumar, but I needed that in bottom sheet with am pm. and I have created
Continue reading"Error type 3 Error: Activity class {} does not exist" ,Error type 3 Activity class does not exist " while launching Activity
Issue Recently I renamed my android project package name, then when I ran the project it gave these two errors: Error type 3 Error: Activity class {} does not exist Error type 3 Activity class does not exist I checked
Continue readingConvert hex color value ( #ffffff ) to integer value
Issue I am receiving hex color values from a server (in this form, #xxxxxx , example #000000 for black) How do I convert this to an integer value? I tried doing Integer.valueOf(“0x” + passedColor.substring(1, passedColor.length())) to get an even more
Continue readingThis and super keyword usage in android
Issue I am new to android and java and i can not get my head around understanding why in android “this” keyword is sometimes used and not “super”? Also how can you call parent methods without “this” or “super” keyword.
Continue readingAndroid deprecation and warning suppression best practice?
Issue What’s the best way to implement around deprecated APIs in Android without over-suppressing warnings? This is really more a general Java question, but it keeps coming up in the Android context. In Android (java) code, it is common for
Continue reading