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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 31, 20262026-05-31T19:29:02+00:00 2026-05-31T19:29:02+00:00

I am developing an application for proof of concept at school and I need

  • 0

I am developing an application for proof of concept at school and I need to develop a simple app that lets a parent track a child’s android device. I’ve figured out how to use GPS to get location updates now What is the best way to bridge the gap between parent’s device and the child’s device? How will the app know who is Parent and who is child? Also is it best to send the child’s data using getLastKnownLocation(best) to a remote server and then some how send to parent, or is there an easier way to do this?

Thanks in advance.

03/25/2012 ********Update***********************

Ok based on the advice from you guys I have the php code in a file

<?php
$thisString = $_POST["action"]; // Variable to receive the request from 
echo $thisString;
?>

and I send the string to the web-service with this code in a method

    HttpClient httpclient = new DefaultHttpClient();
    HttpPost httppost = new HttpPost("http://kre8tiveinspired.com/android/simpleTest.php");
    // This is the data to send
    String MyName = **"String Test"**; //any data to send
    try {
    // Add your data
    List<NameValuePair> nameValuePairs = new ArrayList<NameValuePair>(1);
    nameValuePairs.add(new BasicNameValuePair("action", MyName));

    httppost.setEntity(new UrlEncodedFormEntity(nameValuePairs));

    // Execute HTTP Post Request
    ResponseHandler<String> responseHandler = new BasicResponseHandler();
    String response = httpclient.execute(httppost, responseHandler);

    //This is the response from a php application
    String reverseString = response;
    Toast.makeText(this, "response " + reverseString, Toast.LENGTH_LONG).show();

    }...

It gives me a toast saying “response String Test”.
OK now it works but How will I send two different variables like long and lat. and then receive two different variables from the responseHandler when I execute the
httpclient.execute(httppost, responseHandler command.

  • 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-31T19:29:04+00:00Added an answer on May 31, 2026 at 7:29 pm

    You should probably have your app register an alarm that wakes a service installed with your app on the child phone. This service should send location data to a server which will push it to the parent phone. The app will also need to install a service on the parent phone to receive notifications.

    To decide which is the parent and which is the child you would most likely need to configure the app individually on each phone i.e. have the parent install the app on their phone and on the child phone and set the child phone as child and theirs as parent. You might password protect this setting. The other option would be to develop two apps, Where’s My Kid (tracking) and Where’s My Kid (parent).

    Finally, you need a system running on a server to manage the data coming from the child. It would then send relevant information to the parent device. You might also have the parent create an account and then have them log in on the parent and child devices so that the server knows where to send the information.

    This is not an easy project. If you are looking to build something commercial or distributive, it will require quite a bit of work. If it’s really only a proof of concept as you mentioned, you can cut some corners. Either way, what I outlined is pretty much the minimum you will need.

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

Sidebar

Related Questions

If I'm developing a proof-of-concept application, does it make sense to invest time in
I'm developing application for android. my application has very big size (APKfile) that is
I am developing application in N-Tier Architecture. as we all know that we need
I'm developing application that would communicate with a mobile app. My problem is as
I'm developing an application for Android tablet 3.0 that has one activity that should
I'm developing application with GWT 2 and would like to add float panel that
When developing an application that sends out notification email messages, what are the best
A few months back I put together a simple proof-of-concept piece of software for
I am developing application using phonegap in eclipse for android .I have created folder
I am developing application to filter logcat generated by android.I executed linux comand '/system/bin/logcat

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.