Monday, April 19, 2010

My blog has been moved!

So I am officially moved out of this Blogger account, so please check out my NEW and ACTIVE blog account on Tumblr: http://connordenman.tumblr.com

Thanks!

Monday, March 22, 2010

VATviewer iPhone App

Today my first iPhone application officially got approved into the AppStore: VATviewer. VATviewer is a simple VATSIM live map/listing application for the online controllers and pilots. It also provides a simple airport search to find various data such as weather (METARs), airport name, flights, etc.

Check it out:
itms://itunes.apple.com/us/app/vatviewer/id361334638?mt=8

Thank you!

Tuesday, March 16, 2010

iPhone SDK - Easily check for an internet connection

So, I have found that the simplest way to check for an internet connection in the iPhone SDK is not via the "Reachability" classes that are provided through the Apple iPhone example projects.

The easiest is as demonstrated through my video tutorial:



Simply put, you can create an NSString from a URL (in this case it is http://google.com), and check to see if that string then exists or not.

Thanks for visiting my blog!

Sunday, March 14, 2010

iTunes Connect Code Signing Solution

Drum line please...

I finally figured out the solution for uploading my first iPhone App (VATviewer) to iTunes Connect without getting any Code signing error.

After successfully adding your iPhone Distribution profile and provisioning profile to your project, make sure to add the string "--keychain login.keychain" to "Other Code Signing Flags" (access this by going to Project->Edit Project Settings->Build and ensuring that your Distribution profile is selected).

That was my final solution, but I cannot guarantee that it will be the solution to your iPhone SDK uploading problems.

Good Luck!

Connor

iPhone SDK Distribution Pains

So here I am, finalizing an application that I have been working on for a few weeks. It has been a long process learning Objective-C and the iPhone SDK, but I finally have the application ready for upload to iTunes Connect (the AppStore). But, little did I know that Apple's code-signing certificates, provisions, etc.  are even more of a pain than the coding and development process.

I have added and re-added provisioning profiles to both my device and XCode, added certificates to KeyChain, etc., and I have built my application and Zipped it. I have tried multiple times to upload the application binary using Apple's website and the Application Loader, but each time I receive a message telling me that the binary was not code signed properly.

I have tried everything based off of google searches, but with no success. The final thing that I am going to try is to install the newest version of XCode and the iPhone SDK v3.2 Beta, and see if anything is fixed.

Does anybody have any other suggestions?

Android SDK anyone?

Sunday, January 31, 2010

KABQ (Albuquerque Int'l sunport, NM) LiveATC Feed

A bit off of my normal topics, but I am currently hosting an Albuquerque International Sunport area LiveATC feed that currently has 4 or 5 Albuquerque approach sectors, ABQ tower, ground, delivery, and also the different pilot unicoms for the smaller uncontrolled airports in the area.

If you are in the Albuquerque area, or you are just curious about the air traffic control and pilot comms around the airport, this is a great resource for you.

On a side note: If you live in the Albuquerque/Rio Rancho/Bernalillo/Los Lunas area and you have a scanner, I would like to know. Reason being is that I have been wanting somebody to at some point host a 'parallel' feed for the Double Eagle airport local control tower. Or, a feed for Albuquerque Center would be awesome!

The link: http://liveatc.net/search/?icao=kabq

Wednesday, January 27, 2010

Setting Crontabs in Mac OS X

It has been a while since I last posted, but I have a new tutorial for everybody... Settings cron jobs through the "crontabs" command in an SSH terminal.

To start, open up the terminal, and type ssh myUsername@myUrl. The terminal program will then prompt you for your password to access the remote server.

Once you have been successfully authenticated and logged into your remote server, you may then begin sending commands to it.

The basic crontab commands:

crontab -l   (display the currently loaded cron jobs on the server)

crontab -e   (add, edit, and delete individual cron jobs on the server, this will be displayed as a table)
  • Once this command has been issued, you simply begin typing text to invoke the INSERT mode.
  • Example cron: */5 * * * * http://myurl.com/index.php
    • This cron simply runs the "http://myurl.com/index.php" url every 5 minutes
    • Use the format [minutes (0 - 59)] [hours (0 - 23)] [day of month (1 - 31)][month (1 - 12)][day of week (0 - 6)] [COMMAND]
  • When you are done editing your scheduled cron jobs, simply press ESC, and type :wq to save the changes to the server.
  • That is it for editing crons!

crontab -r   (CAUTION: removes all crontabs stored on the server's crontab file)

crontab -v   (display the last time the crontab file was edited on the server)


If you do not want to type ssh myUsername@myUrl each time you connect, go into the Mac OS X terminal 's top bar and go into the "Shell" drop-down. Once there go to "New Remote Connection..." and add your remote server's details through the graphical interface.

Thanks for visiting my blog!