I set my textviews on my weather app to display the data for cities when searched on my search panel (i.e temp_out.setText(response.body().getMain().getTemp() + ” ℃”););. It works quite fine only that the textviews used to display those data still reflect on the app(i.e temp_out). I want to set it…
Tag: android
Trying to display arraylist in listview gets me this error unable to resolve contructor?
I imported an arraylist mEpisodeList from another class into my class to make a horizontal number scrollbar for available episodes , each number representing an episode I get this unable to resolve contructor error , here is the ArrayList mEpisodeList here is the mehtod Answer Your ArrayAdapter is expecting a…
How to integrate payment online method into my Android Studio app? [closed]
Closed. This question needs details or clarity. It is not currently accepting answers. Want to improve this question? Add details and clarify the problem by editing this post. Closed 1 year ago. Improve this question I’m a student and I have an Android Studio app for my course project. I want to integra…
Android java : Error on SQLiteDatabase db = this.getWritableDatabase();
Am a beginner at android java. Error on SQLiteDatabase db = this.getWritableDatabase(); line in ERROR : I already had called the getWritabledatabase in the insert function. But when I try to write again. It doesn’t work. Answer You need to pass a valid Context to your SQLiteOpenHelper constructor.
image are not showing in image view after selecting from gallery intent
I’m trying to select images from the gallery and upload them to firebase storage but after selecting the image it doesn’t show in the image view and the app get crash Note I’m using a fragment and not an activity Here is the Error Message Caused by: java.lang.NullPointerException: Attempt to…
Android Kotlin – Why does a Seekbar minimum value over 100 not work?
Hello everybody When i add a min value to my Seekbar which is over 100 it always shows an min value of 100. So for example my min value is 120 but it shows 120. I found out that i can use every value until 100 but no bigger value for my “min”. Does anyone know the reason? My code:
after update firebase I got on real device error in android error message > zzdk: keyset not found, will generate a new one
it works fine on emulater but in real device I got this error in the log caty zzdk: keyset not found, will generate a new one java.io.FileNotFoundException: can’t read keyset; the pref value GenericIdpKeyset does not exist and I have latest service-json file and I put the SHA-1 & SHA-256 Answer So i…
How to get the key of a pushed value
In Firebase Realtime Database on Android, I want to retrieve this id “-Mb1sSv-FCNr9ElxZIwN”. Answer It looks to me that KAsr … dhz1 is the user ID that comes from the authentication process. If so, that UID should also be added to your reference. So to be able to get this id “-Mb1sSv-F…
Dagger Hilt –Error: annotation @AggregatedRoot is missing a default value for the element ‘originatingRoot’–
Im using Dagger Hilt in my project and its not compilating. Checked everything in manifest and project files and have no idea what is happenning :/ EquipmentsApplication Cass Main Activity Manifest File Answer For some reason my versions of the implementation were not matching Old Version Rolled back to
Hilt :- Not able to use the @AndroidEntryPoint in the AppCompatActivity getting DefaultV iewModelFactories exceptions?
I want to use the Hilt in my project for getting the helper class object as the common for my activity. I have tried the below lines of code for it Manifest file entry My AppController class Please check my gradles file for it Please check my classPath entry below Now please check my NVModule Module class in …