This is my Firestore database Now here I want to retrieve Description and No. of Options which is saved in the form of an array, my code above prints other details of the data as well, with respect to the topic name selected hence I’ve used whereEqualTo(“Topic Name”, message)as my query(wher…
Tag: android
How can I get all the events of the buttons on a screen on android in a single method using the kotlin?
I am developing a Calculator for my android learning using kotlin. To get the numbers select to users, I need to set the code below: Is it possible to centrelize the event handling of all buttons in the single class or method? I would like to a generic solution to reduce the code Does anyone know a solution? …
Android: error: cannot find symbol packages.add(new MyAppPackage())
Please HELP!! I’m working on an app in react-native that involves using a native Calendar module. I’m trying to register this module with react native and I keep getting this error. This is how I’ve registered the module in MainApplication.java: This is the MyAppPackage.java file I’ve …
Why I see Do not request Window.FEATURE_SUPPORT_ACTION_BAR?
This is a simple app with a tag navigation. And I can’t open it with getting a mistake. A part of it is: And here is a 28-th and 29-th lines in MainActivity(the message above says mistake is in 29-th line): I tried to cope with the problem but all what I found is that I should add this code
How can i reverse my android studio to escape this PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException:..?
I recently updated my flutter version to 2.0.0 and it worked fine on iOS after updating the pub packages versions to the latest. It unfortunately didn’t work on Android and i thought of updating the Android studio. Since then I have been getting certificate errors and I have tried the following, specifi…
Recycler view shows only first item, even though onBindViewHolder and onCreateViewHolder run for all of them
As the title says; At first, onBindViewHolder only ran for the first item. Looking at questions and answers on this site indeed revealed that I needed to set the wrapping view’s height to wrap_content. This did fix the first issue and now logcat shows that all methods run properly; However, still, only …
Device rebooting when i click any EditText on login and sign-up screen
Every time I click the password or email EditText to type something, a few seconds pass and my phone starts rebooting I have tried the following: Making a new Android Studio project and puting the code there to see if the problem is with the project libraries Re-making the login layout but again i have the sa…
Why Google Vignette Ads not showing in Android WebView (Java)?
In the app there is a webview which views a webpage which has a vignette ad, but the ad is not shown in webview, its shown in other mediums, what may be the cause ? is there any policy that’s preventing it from appearing ? Answer Found that adding these lines enabled Vignette in webpage
RecyclerView Items cover entire screen
I’m trying to make a simple chat room in android studio, but for some reason each chat message covers the entire screen. I’m trying to follow the example here on github https://github.com/android/views-widgets-samples/tree/main/RecyclerView/ I’m sure it’s just something super simple, b…
Should WorkManager already be working when the app is killed, or does it need to have a foreground service attached? – Android Studio
Should WorkManager already be working when the app is killed, or does it need to have a foreground service attached? I have found no solution on what to do if the app using WorkManager is killed and won’t work anymore, so i think that I need to use a foreground service. Is this a good idea, or is there …