Tech Thought

Tech tips, hints, and general musings. PHP, Perl, Mysql, Javascript, AJAX, JSON, Linux, Mac OSX

Entries Tagged ‘iphone’

How-To: Convert UIImage to Greyscale Equivalent

Here’s a simple code snippet for converting a UIImage to a greyscale equivalent:

-(UIImage *) convertToGreyscale:(UIImage *)i {

int kRed = 1;
int kGreen = 2;
int kBlue = 4;

int colors = kGreen;
int m_width = i.size.width;
[...]

Leave a Comment

What does iPhone OS 3.0 Mean for your Apps?

Recently I was involved in a podcast regarding the iPhone OS 3.0 upgrade. We looked at all the new features (and some upcoming ones in v3.1) and discussed how they relate to new features clients can develop in their apps.
You can hear more here:
What does iPhone OS 3.0 Mean for Your Apps [...]

Leave a Comment

How-To: Convert NSData to NSString

How do you convert an NSData object into it’s string representation?  Should be easy, right?  It is, when you know how…
NSString* theString = [[NSString alloc] initWithData:theData encoding:NSASCIIStringEncoding];

Leave a Comment

iPhone UIScrollView with UIImageView have issues Interface Builder

Ever wanted to have an image view in a scrollview? Sure, you could directly add it using code, but wouldn’t it be nice to do it in Interface Builder?
If you’re like me, you like to leave on the defaults unless absolutely necessary. I had an issue where I added an image view to the scroll [...]

Leave a Comment

iPhone: Bugged UINavigationController? View doesn’t Scroll.

Developing a networked iPhone application, I had two views that were very similar – so similar in fact that they were copies of one-another with “Sending” renamed to “Receiving”. The idea was to get them both working with different XIB files, and then modify them.
The code to load the sending view (from the main app [...]

Leave a Comment

WWDC 2009 Update: Keynote Summary for iPhone

WWDC: Today’s keynote included many things we already knew about the iPhone, and few things we didn’t. Here’s a quick summary from the team at WSP Online – on site at the Keynote in Moscone Center, San Francisco CA.

Leave a Comment

BudTrap: An easy way to solve iPhone/iPod headphone tangles

The guys at BudTrap have a great idea.  Create a device, which clips into your iPhone/iPod, stops your headphone getting tangled, and costs just $5 – with $1 being donated to charity.  On top of which, you get 5 additional “buddy” devices which you can share with your friends.

They are also into working out how [...]

Leave a Comment

NRL Live on your iPhone – Finally!

I’m not sure about you, but we’re well into the 2009 NRL season and the lack of a decent dedicated NRL app has been something that has bugged me.  The AFL has had dedicated iPhone Apps since the start of the season, while the NRL has been stuck with rubbish apps that simply link to [...]

Leave a Comment

How-To: Detect if users have turned off the iPhone GPS

Simple and common situation.  You have an app that needs to use the GPS to function correctly.  However, users have the last say in this and can simply say “No” when the iPhone asks them if your application asks to turn on the GPS.  If you don’t deal with this situation, then it’s likely that [...]

Leave a Comment

A solution to: Application failed codesign verification

Okay, so you’ve spent months working hard on your iPhone project, and you finally go gold.  You get sign off from your client, you’ve squashed the last of your bugs and you think “I’m ready to submit this bad boy!”.  You package it up for release as per Apple’s instructions, and then try and upload [...]

Comments (4)

AFL iPhone: Footy 2009 available now

WSP Online Solutions have just launched Footy 2009 – a fantastic fully featured AFL app which is now available on the App Store.   You can purchase it from the App Store here.
It features:

Latest AFL news fully licensed from the ABC, displaying full news articles within the App.
Live Scores including game details, goal kickers, possession [...]

Comments (2)

Fairfax Radio News – As Featured by Apple

One of my favorite applications for the iPhone, Fairfax Radio News, is currently being featured by Apple in the New section of the App Store in Australia:

Fairfax Radio News provides the latest national 3 minute radio news bulletin (for Australia) direct to your iPhone – and it’s updated 24/7. Very handy when you are on the [...]

Leave a Comment

How-To: Fix ‘Verification Failed’ error (0xe8000001) iPhone Adhoc Distribution

I have had huge problems trying to provide my iPhone Applications to friends using the Adhoc Distribution method.  I thought I was following Apple’s instructions down to the letter:

Obtain an Adhoc Distribution Provisioning Profile
Install provisioning profile in XCode
For my project, create a new build profile called “Adhoc Distribution” copied from the “Release” build setting
Set the code [...]

Comments (6)

EIATRACK launches iPhone Application

EIATRACK today launched an iPhone application to compliment their subscription web service.

The iPhone Application provides subscribers with the following features on their iPhone:

Reg Alerts
Special Reports
Subject and Substance Reports
Events

The application is a free download from all users and can be accessed from the iTunes App Store.  EIATRACK has further information on their website.

Leave a Comment

UIScrollView not working – scrolling doesn’t work

Okay, so I’ve just spent the last few hours trying to work out why my UIScrollView won’t scroll! The secret, I’ve found, is the following:
- (void)viewDidLoad {
    [super viewDidLoad];

    // Setup scroll view
    [scrollView
setContentSize:CGSizeMake(backgroundImage.frame.size.width,
[...]

Comments (8)

How-To: Resolve _CGRectZero Errors developing for iPhone

If you are getting compile time errors regarding _CGRectZero in the UITableViewController, it’s probably because you don’t have the Core Graphic Framework included in your project.  To resolve this problem, try the following steps:

In your project, expand the “Targets” section
Double click on the name of your application
A window will popup.  Click the “General” tab
Click the [...]

Comments (1)

How-To: Automatically sync your iTunes library with all your computers

I’ve come across a problem – my main computer (a MacBook Pro) has all my music on it, and is hooked up to my iPhone. But I’ve just got a nice big flat screen TV and its connected to my stereo. So I want to be able to play music/movies I buy on [...]

Leave a Comment

iPhone 2.0.2 Available on iTunes Now – Fixes optus iPhone issues?

Apple has just released iPhone firmware version 2.0.2 via iTunes. Simply plug your iPhone into your computer and you will be prompted to update. As usual, all we know at this stage is that it contains bug fixes however hopefully we’ll find out more as time goes on…
Update: it’s rumoured that this update [...]

Leave a Comment

WSP Offers Australian Based iPhone Application Development

WSP Online Solutions, a division of WSP Environmental, today launched its Australian based iPhone development services.  iPhone application development is somewhat of a niche market, given that Objective-C (the language used to development native iPhone applications) is not commonly used outside of the Mac community.  As a result, the Australian based iPhone development community is [...]

Leave a Comment

iPhone 2.0.1 Firmware update causes Carrier Update 0xE8000001 Error

I’ve just updated the firmware on my iPhone to version 2.0.1 (after much buzz on the web about its speed improvements).  The update applied fine, and my phone does seem a bit more responsive – however it throws an error regarding my carrier settings update failing each time I connect the iPhone to my computer.
See [...]

Leave a Comment