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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 23, 20262026-05-23T09:24:33+00:00 2026-05-23T09:24:33+00:00

So I have a pretty simple problem, which I have no idea how to

  • 0

So I have a pretty simple problem, which I have no idea how to go about (kinda of new for everything here). I am developing an iPhone app that I intend to use only myself – so think small for now :)Let’s say all my app is doing is tracking my location every hour. All I want to do, is to be able to read this information not on the iphone, say on a file on my computer. How can I send this information from my app to a personal computer? I am guessing that I will need to set up some server / database or something on my personal machine?

Can someone please help with a quick step by step on how to go about that? I literally have no clue where to start…

Thanks!

  • 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-23T09:24:33+00:00Added an answer on May 23, 2026 at 9:24 am

    You’ll need to have a listener somewhere to send your data to. For instance, you could set up a communication class in your project which would be responsible for serving as the medium between your applications. You would then set up a listener on a server, or your machine that would listen for requests.

    iPhone > Communication Class > Web service
    (.NET in this case)

    You can use the NSURLConnection object to serve this purpose. E.g.

       - (void) sendSomethingToServer:(NSString*)myData{
            NSString*url = [[NSString alloc]initWithFormat: @"http://example.com/service.asmx/RecordData?myData='%@'", myData];
            [self createRequest:url];
            [url release];
        }
    

    http://example.com/service.asmx/RecordData being the location and method on your web service.

    Here’s a generic request method I created which sets the headers as a JSON packet.

    - (void) createRequest: (NSString*)urlFormatted {
        NSLog(@"Request Sent");
        NSURL *url = [NSURL URLWithString: urlFormatted];
        NSMutableURLRequest *request =[NSMutableURLRequest requestWithURL: url];
    
        [request setHTTPMethod:@"GET"];
        [request setValue:@"application/json; charset=UTF-8" forHTTPHeaderField:@"Content-Type"];
    }
    

    And on the back-end, on your web server, you would have a method that recieves the data. Obviously you could use any technology you wanted on the server. In this example, I’m using .NET on Mono e.g.

    [WebMethod(Description = "Generic Client Data)]
    [ScriptMethod(UseHttpGet = true, ResponseFormat = ResponseFormat.Json)]
    public string RecordData(string myData)
    {
      // Do something with data
    }
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a pretty simple problem. Basically I have an array called $list that
I am new to JS and I have a pretty simple-seeming problem. I want
I have a pretty simple ASP.NET Web Form that looks a bit like the
I have a pretty simple question which perhaps someone familiar with Server/Client design &
I have a pretty simple case which I started solving using foreach(), but then
I have a pretty simple problem, in wich I try to exchange an object
I have a pretty simple problem with a not-so-obvious solution. I have a relational
Very stuck on a problem which I thought would be pretty simple. As an
I have a pretty simple HTML form where users can enter in information about
i have pretty simple simple question (i hope so). How do i change the

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.