Notes from Bordertown Labs with posts regarding software development for the iPhone, Ruby on Rails, tips and code.
» Contact with inquiries.
Visualize your geodata in augmented reality with 3DAR by Spot Metrix. |
iPhone 4 vs. Droid X: A Head-to-Head Comparison (via iPhone 4 vs. Droid X: A Head-to-Head Comparison - PCWorld)
Steve Jobs at WWDC 2010 demonstrating the iPhone 4’s new 3 axis gyroscope (via CNETTV)
Researchers at the Georgia Institute of Technology have announced the availability of a developer preview of Kamra, a mobile browser based on open web standards. The first augmented reality browser for the KHARMA (KML/HTML Augmented Reality Mobile Architecture) development platform, Kamra offers users multiple simultaneous augmented content overlayed on top of a live video scene.
The sample code provided in this package reflects the state of the code as of WWDC 2010. For the most up to date sample code see the Reference Libraries at http://developer.apple.com.
See http://developer.apple.com/videos/wwdc/2010/ for slides and videos.
Very impressive real time physics engine.
Lagoa Multiphysics 1.0 - Teaser (by Thiago Costa via @anselm)
The MPMoviePlayerController was changed (since OS 3.2). It now contains a ‘view’ property that you must add to your view hierarchy, don’t forget to set the frame size as well. EDIT: Sorry, that was a bit premature. Here’s how I play movies on the iPhone now.
if ([UIViewController instancesRespondToSelector:@selector(presentMoviePlayerViewControllerAnimated:)])
{
// >= SDK 3.2
MPMoviePlayerViewController *movieVC = // init
...
[someController presentMoviePlayerViewControllerAnimated:movieVC];
}
else
{
// pre SDK 3.2
MPMoviePlayerController *moviePlayer = // init
...
[moviePlayer play];
}
In normal conditions (*), in iPhone OS 4.0, when Home is pressed, your app will go to the background but will NOT be kept running. It’ll be suspended, then resumed whenever the user gets back to it (whether via the Home screen, a URL being opened, or the new task switcher).
(*) Normal conditions are:
* You’re on iPhone 3GS or iPod touch 3rd gen or (presumably, but not Apple-announced) iPad when 4.x for it hits the scene this Sept.
* Your app is linked against (read: the Base SDK setting is) 4.0 or later.
* You haven’t opted out of backgrounding by adding the UIApplicationExitsOnSuspend key to Info.plist and setting it to boolean YES.
* You haven’t requested any particular background service. (See below.)