How do I add avatar/profile pic in an app? [closed] - android

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 5 years ago.
Improve this question
I am making an app in a college project. I am using firebase for the first time for authentication. What is the best way of storing images for users profiles?
When the are on their profile page I want them to be able to add a picture (like whatsapp for example) but I'm unsure how this works with firebase
Thanks for any help in advance

Firebase have a Cloud Storage too.
If you need to save a profile pic, you can add an image on firebase cloud storage and save image URL in your real-time database.
In this way, when you load user profiles you can retrieve information and load image by URL (you can use Picasso library to make it easy)

Related

How to store images and some text in android app [closed]

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 1 year ago.
Improve this question
I'm about to make an android app something like "fun places to visit in my city" where u can see photos and description of the place.
I thought something like store all images in drawable folder, and create list of data class.
But the app will be very heavy?
I dont know which is the best way to store data and images locally. Any suggestion?
If you wish to keep app light maybe the better approach would be to store them somewhere on cloud and load them using library like picasso.
Storing them directly in the app truly can increase apk size a lot because you also should store different sizes of every images if you are following guidelines.

Xamarin.Android RecyclerView fed with Database [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 3 years ago.
Improve this question
How can I fill a RecyclerView in Xamarin Android with a SQL Server database that has images and information about the images?
Or if not a SQL Server database but with an API.
Could you please share some tutorial doing this? I can't find anything that is not local (using drawable folder images).
I'm looking a result like this (image):
So, once again, the problem with this result is that is made with a local-drawable folder-images list, and I need to feed the RecyclerView with an API that has the exact same information and images.
Step 1: First you should create WEB API Interface in SQL server into Mobile Application.
Step 2: After that WEP API creation you need to config in Xamarin Android Project.
Here given below link, i have explained step by step implementation Recyclerview
https://xmonkeys360.com/2018/01/24/create-android-recyclerview-using-material-design/

Android pdf upload to firebase [closed]

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 5 years ago.
Improve this question
I'm making an app which has a feature to upload a pdf file through the app and another user can also download the uploaded file and use it, so can anybody tell me how to do it?
You can create a Server Side or Admin App to upload pdf to Firebase by using Admin Sdk. Then You can use Firebase Storage to upload files then retrieve pdf url from storage and save it to Firebase Database. After that you can retrieve that data and download it from database by using Download Manager.

What database can i use for a wallpaper app? [closed]

Closed. This question is opinion-based. It is not currently accepting answers.
Want to improve this question? Update the question so it can be answered with facts and citations by editing this post.
Closed 6 years ago.
Improve this question
I'm developing a wallpaper app but I dont exactly know which database I can use to store the images (SQLite or MySQL) .Can you please help me if you have some experience in this domain ?
You should not use a DB to directly store the images as BLOBs, they can get very very bulky.
Instead use any of the above DB and save the Links to your images with your images actually being stored elsewhere.
Good places to store images would be Dropbox, drive etc..
Also there are good CDN providers which allow you to save images and also provide image manipulation as well as caching features.
i use cloudinary...
Also i will suggest you to use Picasso/Fresco/Universal Image Loader for actually handling the images in your app... They will deal with caching/memory and other issues and save you a lot of trouble
The DB is really upto you.. hope this helps

Sync data to server in background like dropbox , evernote does [closed]

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 8 years ago.
Improve this question
I am building a photo app in android where user will click no of photos and send it to server and if internet goes out in the middle of uploading it will save the photo in sqlite database.
Now i want that photos to automatically uploaded to server whenever the internet came back even if the app is not running. Can anyone suggest how it can be achieved?
I saw dropbox automatically upload the photos even the app is not running. I want similar functionality. Please suggest a way.
all you have to do is run a background service which will check if your database table has rows in it then if exists it will continue the upload and delete every row after it's completion from the table
EDIT
your service can't remain working if your app is fully closed from the Manager, I suggest you use the "Syncing to the Cloud" functionality check Here it contains the neccessary mechanism Majority of the apps use it DropBox also I think

Categories

Resources