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 8916741
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 15, 20262026-06-15T05:19:12+00:00 2026-06-15T05:19:12+00:00

My problem is, i keep track of users location per second, and it makes

  • 0

My problem is, i keep track of users location per second, and it makes 60 values in an array in a minute. I wrote a simple php in my server to save the data to a mysql table.
Because of the nature of the connection (as far as i know) , i can save a record per one request with simple httppost object on android side.(request is like : xxx.com/writelocation.php?lat=33.76&lon=45.0&alt=12000)
I tried to solve this by using asynctask but it didnt work. Connection is slow and data is heavy.It takes more than a second for the connection to complete and at every second a new record comes.I am looking for a way to send multiple values at once, at every minute or so.So far, i couldn’t find a solution other than using direct access to a remote database.
But my hosting does not provide remote access to my mysql database.

I need a clever and cheap solution for my problem 🙂 what do you suggest? is using remote database(by database hosting)only solution?

Thanks in advance.

  • 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-06-15T05:19:13+00:00Added an answer on June 15, 2026 at 5:19 am

    Json encoding is very fast and the bandwish consuming is really small. I suggest to yo to use json to send those data and then to parse the json on the server side and insert the data in the database.

    To understand more abou json in android, see http://www.vogella.com/articles/AndroidJSON/article.html

    What do you think about ?

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

Sidebar

Related Questions

I keep running into the following problem: (System.Console.ReadLine ()).Split [|'('; ')'|] |> Array.filter (fun
I'm using ASP.NET Session State to keep track of logged in users on my
I have a web service which allows the users to upload and keep track
I am writing a simple app to keep track of the periods when my
On one of my sites I must keep track of users that are online.
My app uses LocationListener to keep track of the current location. So long as
I'm having this problem where I keep getting this error in my console: *
I keep coming back to this problem, since there doesn't seem to be a
I keep running into this design problem, and I'm not happy with my solution
The problem: In my database I keep some account numbers in form: PL83102044760000870200961284 Now

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.