This might be a stupid question that I’ve tried very hard to find the answer with no success. I have a fragment that contains a recyclerView. The fragment is in the mainActivity which contains my custom toolbar and a bottonNavigationMenu. I’ve also made a search filter view for the recyclerView that works. The problem is this: When I hit on
Tag: android
R.layout.activity_noconnection error in android studio
I recently changed my package name using this method. but now when im trying to create a new activity its giving me an error on R.layout.activity_noconnection (on R). then i pressed alt+enter to fix the error it imported “import OldPackageName.R” and that fixed the issue, so that means my old package name is still there in in the program .
Java / Kotlin – best approach for fast pixel wise image operations
Overall Problem – I want to do fast image modification in Android, and my current naive solution is too slow I’m building an Android app that will involve fast modification of streaming images. I am running it on a Samsung Galaxy S10. I’m new to Android, Java, and Kotlin, so please forgive any ignorance on my part. I’ve successfully decoded
How to receive additional information by using firebase in android
When the user signs up the first time, I use sendEmailVerification by the following code: and here is useAccount.java Firebase information after signing up and as you can see All the information was received accurately. But I want to receive additional information when user first use the app. SO i tried to receive additional info by following code and this
Why are complex emojis not merged but split up when drawn on Android canvas?
I want to implement an emoji selector for my keyboard app Keyboard Designer. To do so I want to draw emojis based on unicodes in hexadecimal format. The emoji “u1F636u200Du1F32BuFE0F” is shown correctly when I write it in the text field (two eyes behind a cloud), but when I draw it on my canvas, it looks like two separate emojis
Java.lang.UnsupportedOperationException Android Studio
My app keeps on crashing on launch because of several errors. java.lang.InvocationTargetException java.lang.UnsupportedOperationException Here is the logcat error for the second exception. From the last line it says my error is from my MAFTextViewBold.kt file } What could be causing the error? It was compiling before but after I did a factory reset on Android Studio I could not ran
java.lang.NumberFormatException: For input string: “5.3”
when running this code i am getting this java.lang.NumberFormatException: For input string: “5.3” Exception. how can we resolve this type of exception.any other way we can handle this without try and catch? value can be any thing.it’s not fixed that it will always be float.it can be integer and double too.is there any way we can handle all three no
How to move all records from one location to another in Firestore Database (Android Studio)
How to move all Firebase database records (not a specific record with an id) from a specific location to another. Code for moving certain records: Database structure: , Answer Method: Move data from Firestore Database (not Realtime Database) to new collection in Android Studio
Firebase Verify Badge [closed]
Closed. This question is not reproducible or was caused by typos. It is not currently accepting answers. This question was caused by a typo or a problem that can no longer be reproduced. While similar questions may be on-topic here, this one was resolved in a way less likely to help future readers. Closed 2 months ago. Improve this question
I got the following error while pulling data from android studio Firebase
I could not understand the problem. It gave such an error when trying to pull the information from the Realtime Database or code.firebasteki to the screen, what is the problem? Book MainActivity RecyclerView_Config FirebaseDatabaseHelper firebase E/AndroidRuntime: FATAL EXCEPTION: main Process: com.example.phonebook, PID: 14998 com.google.firebase.database.DatabaseException: Failed to convert value of type java.lang.Long to String at com.google.firebase.database.core.utilities.encoding.CustomClassMapper.convertString(CustomClassMapper.java:426) at com.google.firebase.database.core.utilities.encoding.CustomClassMapper.deserializeToClass(CustomClassMapper.java:217) at com.google.firebase.database.core.utilities.encoding.CustomClassMapper.deserializeToType(CustomClassMapper.java:179) at