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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 20, 20262026-05-20T11:18:26+00:00 2026-05-20T11:18:26+00:00

Project Description: I have to make an application in android which gets the Latitude

  • 0

Project Description: I have to make an application in android which gets the Latitude and Longitude from GPS and forward their location with identification to server. On the server end there should be web page which continuously receives the messages from the Android application and shows the location on Google maps.

Suppose there are 10 Android devices at different places in which our application is running. On the Server end we have to show 10 markers on Google maps at the location of devices.

What I have Done: I have made an application in android which gets Lat and Long from GPS. I’m familiar with socket programming on android. I’ve implemented the web page on the server end which has Google maps and shows the markers.

Confusion:

  1. How can I make a server?

  2. How can I transfer data from Android to server and what application required at server end which receive the data from Android. Is any desktop or console application needed which bind it-self at particular port of server, or web page is enough for me to achieve this target.

  3. What protocol do I have to use? UDP, TCP/IP, or use the HTTP or HTTPS steam directly?

I just need some direction about my problem because I have never worked in Android and Client Server Communication. If you think this question is vague then please recommend a book about networking or any which you think is suitable for this type of problem.

  • 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-20T11:18:26+00:00Added an answer on May 20, 2026 at 11:18 am

    A common setting can be like this:

    Have following things:

    • A file (PHP) at server’s end, whose sole purpose is to inject the data (lat,lng) received from android devices into a MySql database
    • A file (PHP) at server’s end whose sole purpose is to fetch you the data (lat,lng) from the MySql databse. This file should receive a timestamp as its argument and return all the values of lat,lng who have been saved after that timestamp (For this, your database must store timestamp)
    • A file (HTML+JS) which just handles the map thing, has an AJAX call implemented which polls the second file at regular intervals with a timestamp value to get new lat,lng values. and when it gets the values, it plots them on the map
    • On the Android devices, make your app in a way that it keeps sending its location to the first PHP file at a particular time interval.

    This way, you get what you wanted.

    On the other note, If we talk about client-server architecture, a client sends the request and gets the response. that’s it. for this, client accesses a server side script to get those responses. same way, your android app accesses a particular server side script and gets the response. That’s it.

    In the case when you want to implement server initiated communication to android, you’ll have to use push mechanism, like Cloud to Device Messaging (C2DM)

    Cheers.

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

Sidebar

Related Questions

I have created a new MVC2 project using the ASP.NET MVC2 Web Application, which
I'm trying to add KKGridView to my project. I've followed thier description from github
I am new to android platform. I am working on a project in which
I have an AIR application in which I have to start some native applications
So, we have a project using the Three20 Library from Facebook ( http://github.com/facebook/three20 ),
I've a question for CakePHP about its architecture. I've an application, which will have
I'm working on a project where I need to make a Flex application that
I've created a simple Project model with four attributes: Project name:string description:text complete:boolean user_id:integer
A simple description of our architecture for the school project we are doing: -we
when loading this project: (defproject incanter 1.0.0-SNAPSHOT :description FIXME: write description :dependencies [[org.clojure/clojure 1.3.0]

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.