Basically its code from famous 7 part audio exploring on trailsinthesand.com
Many people are unable to run that code on 3.1.2 SDK for that reason here’s a full project file for them.
Things you should know about this project/app.
- It works in simulator aswell, (tested on 3.1.2 SDK)
- Not much modified from original version of trailsinthesand.com, (just record and play)
- Remove/change [UIAppDelegate setStatusText:] in audioRecorder.m for use with your project.
- Use [audioRecorder getFileLocation] if you want to get recorded aif file location.
- Credit goes to trailsinthesand.com
Download the source below (xcodeproj)

download iPhone audioRecorder project
If you are working on Google maps API and using routes/directions
this will help you decode route polylines
works on MAC OS X and iPhone SDK
-(NSMutableArray *)decodePolyLine: (NSMutableString *)encoded {
[encoded replaceOccurrencesOfString:@"\\\\" withString:@"\\"
options:NSLiteralSearch
range:NSMakeRange(0, [encoded length])];
NSInteger len = [encoded length];
NSInteger index = 0;
NSMutableArray *array = [[NSMutableArray alloc] init];
NSInteger lat=0;
NSInteger lng=0;
while (index < len) {
NSInteger b;
NSInteger shift = 0;
NSInteger result = 0;
do {
b = [encoded characterAtIndex:index++] - 63;
result |= (b & 0x1f) << shift;
shift += 5;
} while (b >= 0x20);
NSInteger dlat = ((result & 1) ? ~(result >> 1) : (result >> 1));
lat += dlat;
shift = 0;
result = 0;
do {
b = [encoded characterAtIndex:index++] - 63;
result |= (b & 0x1f) << shift;
shift += 5;
} while (b >= 0x20);
NSInteger dlng = ((result & 1) ? ~(result >> 1) : (result >> 1));
lng += dlng;
NSNumber *latitude = [[NSNumber alloc] initWithFloat:lat * 1e-5];
NSNumber *longitude = [[NSNumber alloc] initWithFloat:lng * 1e-5];
CLLocation *loc = [[CLLocation alloc] initWithLatitude:[latitude floatValue] longitude:[longitude floatValue]];
[polyLines addObject:loc];
NSLog(@"%f,%f",[latitude floatValue],[longitude floatValue]);
[loc release];
[latitude release];
[longitude release];
}
return array;
}
Developing with Xcode is not all gold, sometimes you get diarrhea.
Like “failed to upload *.app” to your iPhone device for debug.
Solution is to restart your Xcode.
dont bother disconnecting and reconnecting your iPhone.
If still same error
then check if you are misusing .plist file, just try bringing it back to stock.
Delete app manually and try clean and build.
installed php 5.2.11 on windows 2003 IIS 6.0 (ISAPI)
encountred following error on phpinfo()
Invalid access to memory location
FIX:
check directory write permissions for following paths in php.ini
upload_tmp_dir="C:\Temp"
session.save_path="C:\Temp"
error_log="C:\temp\php-errors.log"
paths on your php.ini might be different
experiencing slow mac osx?
good news is you are not alone, and easy to diagnose. just open Activity Monitor via spotlight.

activity monitor spotlight
Sort by %CPU usage and quit the app acting as a sucker.

mac osx activity monitor
For me it was MSN messenger taking about 155% of cpu usage, (if that is possible)
nice move MS.
happy hunting
Get lottery results fast on your iPhone, from list of over 500 different lotteries from all over the world.
United States
Australia
Belgium
Canada
Ireland
Germany
New Zealand
Poland
Portugal
South Africa
Spain
Switzerland
UK
Download it from Lotteries or Lotteries Free
Continue reading ‘Lottery Results Application for iPhone’