Archive for July, 2009

How to deal with iPhone Device Provisioning without Stabbing Your Eyes Out

  • Twitter
  • Facebook
  • Digg
  • Reddit
  • StumbleUpon
  • del.icio.us
  • Google Bookmarks

Introduction
So for any developer than has joined the iPhone Development program and attempted to throw their app on their phone, the process of provisioning is a familiar and likely painful process. Like many developer you may have several projects going on possibly for several organizations. You can think of provisioning as the paper work your app needs to fill out in order to “board” your phone. The process involves ____ steps:

Get an iPhone Developer Account
Create a certificate request
Download your approved …

July 31st, 2009 Posted by: (ELC) - posted under:Articles - View Comments READ MORE

iPhone Development: Where is all the $$$

  • Twitter
  • Facebook
  • Digg
  • Reddit
  • StumbleUpon
  • del.icio.us
  • Google Bookmarks

Hey guys,
So this is the first post we are doing that is more about developers than about developing. The Guardian put up a great article today talking about the app store, developers and what is driving sales. The app store has most certainly solidified itself, at least for the time being, as the most dominant mobile application distribution system; but what does the future of the “App Economy” look like?
The App Store is really …

July 29th, 2009 Posted by: (ELC) - posted under:Articles - View Comments READ MORE

Getting Images From The iPhone Photo Library Or Camera Using UIImagePickerController

  • Twitter
  • Facebook
  • Digg
  • Reddit
  • StumbleUpon
  • del.icio.us
  • Google Bookmarks

This will be a simple tutorial showing you how to access the iPhone’s photo library as well as the camera. Since the 3.0 update, the methods for picking photos have been deprecated. So this will be a 3.0 and above tutorial.
We will be creating an applicaiton that will allow you to pick a photo from the library or camera and display it on the screen. Here is a screenshot of what the app will look like:

July 28th, 2009 Posted by: (ELC) - posted under:Tutorials - View Comments READ MORE

Programmatically Getting a Screencapture of any UIView

  • Twitter
  • Facebook
  • Digg
  • Reddit
  • StumbleUpon
  • del.icio.us
  • Google Bookmarks

Introduction
Hey guys. This post is in response to a comment made in my last post about NSTimers. Techy asked if we could do a post on how to take screenshots programmatically using the iPhone SDK. For this minor project we will be creating a small web browser application that will start at www.google.com, and have a button on a toolbar at the bottom to take a picture of the web view and save …

July 27th, 2009 Posted by: (ELC) - posted under:Snippets - View Comments READ MORE

iPhone Programming Tutorial: Animating A Game Sprite

  • Twitter
  • Facebook
  • Digg
  • Reddit
  • StumbleUpon
  • del.icio.us
  • Google Bookmarks

One thing I have noticed about many of the games in the app store is they lack animation. Of course, the huge companies like Sega and PopCap have some pretty amazing animation, but what about us indie iPhone game developers?

Well, Apple has made it quite simple to do animations. I really feel this method is often overlooked. I will show you in just a few lines of code, how to completely animate your game images. I will walk you through …

July 24th, 2009 Posted by: (ELC) - posted under:Tutorials - View Comments READ MORE

NSTimer: The Poor Man’s Threading – Code Snapshot

  • Twitter
  • Facebook
  • Digg
  • Reddit
  • StumbleUpon
  • del.icio.us
  • Google Bookmarks

Introduction
Hey guys. So usually the posts we put up here involve screencasts and presentations, but we are going to start also posting small less time consuming pieces for the site. Today I bring to you a small project involving NSTimers. Today we are going to build an app that represents a horse race. We will create a view with 6 small UIView squares with a blue background at the bottom of the screen, we will use a timer to move …

July 23rd, 2009 Posted by: (ELC) - posted under:Snippets - View Comments READ MORE

Voices That Matter iPhone Conference | Special iCodeBlog Reader Discount

  • Twitter
  • Facebook
  • Digg
  • Reddit
  • StumbleUpon
  • del.icio.us
  • Google Bookmarks


Calling all iPhone Developers.  Pearson Education has hooked iCodeBlog up with a sweet discount to this year’s Voices That Matter iPhone developers conference.  The conference will take place in Boston starting October 17th.  Here is some info from them (Including a coupon code for our readers)
Coming to you direct from Addison-Wesley Professional, which has published some of the leading books in the field, the Voices That Matter: iPhone Developers Conference is taking place October 17-18 in Boston! …

July 22nd, 2009 Posted by: (ELC) - posted under:Articles - View Comments READ MORE

Code Snippet: Prevent The iPhone From Sleeping

  • Twitter
  • Facebook
  • Digg
  • Reddit
  • StumbleUpon
  • del.icio.us
  • Google Bookmarks

The code below will prevent the iPhone from dimming its screen and ultimately going to sleep. Use it wisely as you don’t want your application becoming notorious for being a battery hog

[UIApplication sharedApplication].idleTimerDisabled = YES;

Happy iCoding!

July 22nd, 2009 Posted by: (ELC) - posted under:Snippets - View Comments READ MORE

Anyone else having issues with MPMoviePlayerController in iPhone OS 3.0?

  • Twitter
  • Facebook
  • Digg
  • Reddit
  • StumbleUpon
  • del.icio.us
  • Google Bookmarks

Ok, so I’m currently updating an application for work and am getting some strange behavior with MPMoviePlayerController when trying to stream video.  The problem is:
When the user presses the “Done” button on the player during the buffering stage (right after it finishes saying “loading video…” but before the video starts playing), the player hides and the audio (for the video) begins to play in the background.  At this point, there are 3 ways for it to stop.

Start playing another video
Press …

July 21st, 2009 Posted by: (ELC) - posted under:Articles - View Comments READ MORE

Server Upgrade Aftermath

  • Twitter
  • Facebook
  • Digg
  • Reddit
  • StumbleUpon
  • del.icio.us
  • Google Bookmarks

The server upgrade is finally complete.  And as a result, iCodeblog is faster and more reliable than ever. We have just finished linking back up the assets (videos, screenshots, etc…) and are ready to start blogging again.
For those of you who are wondering what hosting we decided to go with…  Well, we want to wait a few months and see how things go before disclosing this. But I can honestly say, we are very happy with the speed increase.
So stay …

July 17th, 2009 Posted by: (ELC) - posted under:Articles - View Comments READ MORE