Please help to how can i set profile picture for my user in android app.
I would create a column in the
Users table and call it something like
profilePicture. The type of the column can be
STRING and you can store the URL of the profile picture. The URL would be for a file/image your app would upload using this API:
The API returns the URL of the file, which then you put into user’s account in the database.
Thank you for your response
I want to upload it thorough user via from storage.
Hello sir…can u please shere the code how we can use api to store and retrieve image…it will be very helpful to me…
Take a look at Mark’s comment above, by that link you can find an example how to store images, for retrieving, I believe, you can use a simple download.