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

  • Home
  • SEARCH
  • 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 3846884
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 19, 20262026-05-19T16:27:58+00:00 2026-05-19T16:27:58+00:00

i am creating an app that is like a mini social network app, with

  • 0

i am creating an app that is like a mini social network app, with users, that can be friends of other users. Each user haves email, fullName, etc… but now i want to implement and give to the user the possibility to select a image from the images directory of the phone and make it his profile image.

That image have to be sent to the remote server and all the other users will see that image when open the description of that friend.

On my app i am using JSON and PHP to connect from my app to the remote database, then i supose that i have to transform the image into a String and add a row on the remote database representing the String of the image.

I have no idea of how to do this, and i can’t find any easy help on google or here, all i am finding is too hard for me or is not what i am searching for.

Code examples 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-19T16:27:59+00:00Added an answer on May 19, 2026 at 4:27 pm

    Don’t have time to do a code sample, but at work, we did something similar of transmitting a photo through a soap web service (i know you are using json, but the implementation could be the same).

    Basically, take your image and encode it in Base64 (will translate the image to a string). On the other side, you decode the Base64 string into the image. So you can store that string in your database and stream it to the ‘friends’ (possibly even store it on their devices and check for different string each sign on).

    Unfortunately I worked on the front side of that project so I don’t know the details, but there is a wealth of information on google, so hopefully this is a good starting point.

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

Sidebar

Related Questions

I am creating a small console app that needs a progress bar. Something like...
I'm creating a web app that I would like to be able to translate
I'm creating an app that uses a disk to browse files and such, like
I'm new to Core Data. I'm creating an app that will allow a user
I am creating a simple app that let's the user view movies after clicking
I'm creating an app that needs to be accessed by both a web front
I'm creating a small app in ASP.NET MVC that generates ics (iCal) files based
I am creating an app that needs to know the current status of dynamically
I'm creating and app that will rely on a database, and I have all
I'm creating an app that uses VBO's for drawing. The app draws line segments

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.