Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 828757
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 15, 20262026-05-15T03:46:27+00:00 2026-05-15T03:46:27+00:00

In the microblogging application I am developing I wish to show an user image

  • 0

In the microblogging application I am developing I wish to show an user image beside each post in the timeline. The images are small in size(max 50*50 dip) and are not more than 10 in number. I’ve two approaches in my mind.

1) Allow user to chose an image from Gallery on signing up. Send the image to the server and on subsequent signups load the image from the server. I’m worried whether this approach is doing too much unnecessary work.

2) The same method is same as above in first step but this time the image is not send to the server but a key value associated with the image is sent to the server. On subsequent signups, after obtaining the key from the server the specific image is loaded from gallery.

I am not sure whether the second approach is possible. Any corrections on this aspect would be much appreciated.

Also, Is it possible to store an image in SharedPreferences?

Any new approach to handle this problem better are welcome.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-15T03:46:28+00:00Added an answer on May 15, 2026 at 3:46 am

    I think it clearly depends on what your trying to do. If you want to make the account available on other devices (so that the user can sign in in his account and use his image even if he’s not using his mobile phone) then you should clearly upload the images to the server. But in this case, I wouldn’t upload the images from the gallery directly, but first i would scale it to the necessary size and then upload this new image to the server.

    Your second approach has a major drawback, your storing the key on the server, but this doesnt help a lot if the users signs in from a different device. Very pobably, this device won’t have the same image, so the key is really useless. And if the user is always using the same phone, then I think it would be better if you just store the path to the image in the Shared Preferences.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm building a small twitter style microblogging service where users can follow other users
I am developing a microblogging platform in which I need to populate the page
I have been using Titanium for an Android application that does some microblogging through
I'm trying to install Laconica , an open-source Microblogging application on my Windows development
I will do microblogging web service (for school, so don't blast me for lack
I've watched this video from Google I/O 2009: http://www.youtube.com/watch?v=AgaL6NGpkB8 where Brett shows microblogging example.
I need to integrate vBulletin 4.0.3 Publishing Suite with status.net microblogging platform. The first
As part of the college mini-project, I am developing a micro-blogging platform for Android.
I'm currently writing a set of unit tests for a Python microblogging library, and
I'm working on a client-side Java application for which I want to create a

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.