iPhone GPS Information and Accelerometer with Sharing

Recently, I’ve been wanting to learn more about mobile development. I picked up an Objective-C book targeted for the Mac (iOS development is very similar) but the transition from Java and C++ to Objective-C’s methodologies was difficult for me. For a while, I put the book down because it wasn’t getting me anywhere. It did not do a good job of explaining MVC to someone who had never used it before and it didn’t do a good job at explaining the delegate pattern that is extremely common in the Cocoa and Cocoa Touch frameworks. I did not understand at all how it worked.

My interest piqued again when I saw Stanford University’s iTunes U series on iPhone Application Development. I decided to give the first two classes a whirl as I figured they might be good at introducing the way that Objective-C and the Cocoa frameworks function. It turns out that I was right and they were a great introduction. I didn’t even continue to watch the series and I just jumped straight into creating some simple applications.

The first application that I have created is a GPS sensor information app, with a minimal feature list. All the app will do is allow you to view a map and it has two other tabs, one showing GPS information along with your current address and another showing accelerometer data. Each of the last two tabs has buttons so that you can easily e-mail or message the information to someone.

This application turned out to be a good starting point for me with Cocoa Touch and I am now working on two more applications that follow along the GPS path. I will be creating a trip tracking application soon as well as a “live” online trip tracking application. Look out for these in the next six months, as they might actually be useful. ;)

Check out my GPS & Sensor Info app on the App Store.

4 thoughts on “iPhone GPS Information and Accelerometer with Sharing

  1. Congrats on making it to the app store!

    It’s funny that you should post this since I’ve been learning Objective-C recently. It’s different, but oddly rewarding.

    If I had an iPhone and ninety-nine cents, I’d buy it.

  2. What is the accuracy of your app? I’d pay the buck for it if you hadn’t redacted the location on the screenshot and I could tell if it was accurate beyond a second of LAT or LONG. We need an app for iPhone/iPad that will help us locate manholes on airfields, but the ~110 foot displayed accuracy of most apps doesn’t cut it. If you can give us raw data as accurate as the iPhone sensor can download from the geosats, it would be very beneficial. Please let us know. Thanks.

  3. The app will request the “best” information available from the device. This means it will use almost as much battery as a navigation app would. This also means that it is the most accurate an app can get. That being said it will not work wonders and magically make the GPS more accurate.

    I redacted the information because the information in the screenshot was where I previously lived.

    The app will not show the information in regular format but rather in a decimal format such as that which Google Maps uses. If you wish I can update the app to show both, as that might be useful.

    Dependent on conditions then phone can achieve a horizontal accuracy of about 10ft.

Leave a Reply