So I have a firebase database structured like this Database Structure Now what I’m trying to do is get a ListView that displays the names of the sampleusers that belong to a user. For example, based on the above image, if the currently logged in user has the UserID ‘VHLV8kuc3LNtkPhnj2EUtV9Dpil2’, then the ListView should display ..
Good evening! I am looking to add Firebase cloud messaging to my project (Android, Java). I have followed the documentation https://firebase.google.com/docs/cloud-messaging/android/client#retrieve-the-current-registration-token to a tee, but am still having issues retrieving the messaging token. Android studio claims Cannot resolve method ‘getToken’ in ‘FirebaseMessaging’ and will not compile. I assume I need to write a method getToken(), ..
I’d like to customize the FirebaseUI style for the login activity. I used a bit of this github. So far so good but I’d like to take off the shadow below the action bar. I tried taking off the elevation but still showing up. <style name="LoginTheme" parent="FirebaseUI"> <item name="android:textColorPrimary">@android:color/black</item> <item name="colorPrimary">#FFFFFF</item> <item name="colorPrimaryDark">#FFFFFF</item> <item name="colorAccent">#000000</item> ..
I’m developing a Social media application which the user can open a live stream in the LiveStreamActivity. The problem is how to delete the live stream information from Firebase if the user doesn’t close it properly? Example: When the user close the app while the LiveStreamActivity is open. I think it is something must done ..
I’m building an android app and currently integrating Flutterwave into my app for payment. I am adviced NEVER to put my Flutterwave API keys on my app. So how do i hide these keys. I’m using Retrofit for my network operations. Thanks i’m a newbie to this. Source: Android..
i have a login page on my android app and i want to show a pop up message when information is wrong or edittext is empty i know how to check if informations is correct or not but when i submit empty value or any text text on edittext the app crash and i get ..
I need some expert help to explain me how I can create a feed similar to facebook in android. I want to display all users posts in a single feed. I would like to show videos posts, images, blog posts, text only, live streams, etc. Thanks! <3 Source: Android..
I want user to login only once in the system, any users who have already signed up or logged in into the system should directly navigate to the dashboard of the android app. How can i do that? Source: Android Studio..
In my android app I have a function to download files from my firebase storage, and when I am downloading I display a progress bar that gets updated using the downloader "onProgressListener" function, only problem is that it gets called very rarely, meaning that the downloads will go something like 0%->43%->89%->100%. Now I am not ..
I am writing an android application which is car parking reservation. The users need to choose time, date and level before they start searching for available parking. My problem is, I don’t know how to code in android studio for booking function by using firebase database. Is there any solution to solve my problem? Source: ..