Mar 6 2008

iPhone and iPod Touch SDK

At a press conference earlier today, Apple released the much anticipated native SDK for the iPhone.

iPhone applications will be created using Cocoa. To develop native applications for the iPhone, developer will be using the XCode IDE and the newly released iPhone SDK and iPhone simulator. Third party applications will be made available through an iPhone App Store. The applications developed on the iPhone SDK also work on the iPod Touch.

The App Store is the exclusive distribution channel to deliver applications to the iPhone. From the press conference, it is reported that the developer picks the price of the application and get to keep 70% of the sales. The developer can release applications for free to the end user, Apple will not put charge fee for free applications.

The SDK is available right now, but the App Store might not be released to end users until sometime after June, perhaps in the next upgrade release of the iPhone kernel and software.

The iPhone SDK is free but Apple has a iPhone Developer Program starting at $99. At this point it is not entirely clear what you get from the iPhone Developer Program, but I imagine that you need to be in the program for you to actually sell your applications on the App Store.

At the press conference, John Doerr of the Kleiner Perkins Caufield & Byers venture capital firm said, “best way to predict the future is to invent it. At Kleiner, we say the second best way is to fund it.” Doerr announced a $100 million iFund to fund companies and ventures developing application for the iPhone and iPod touch.

Apple had a few demos at hand at the press conference, which all seemed to make use of the iPhone’s great touch ui, touch gestures, and accelerometer.

Back in July of last year, I was at the iPhone Dev Camp where I had a small part in developing Tilt, perhaps the first iPhone motioned controlled game for the iPhone. Having full access to the accelerometer and location data will open the possibilities for a wide array of new applications.

Prior to the SDK being freely available, the only option for custom applications for the iPhone was web development.

Technorati Tags: , , , , , , , ,


Dec 11 2007

TechKnow Year In Review 2007

It is that time of year where we reflect on the accomplishments of the passing year and look forward to the one to come. Here is a window into the past year in technology through this year’s popular posts on TechKnow Juixe.

Top 5 Top Lists

Software Development

Java

JavaScript

Ruby

Ruby Shoes

Ruby on Rails Plugins

Windows Tips

Mac OS X Tips

Year In Review

Seasons Greetings

Technorati Tags: , , , , , , , , , , , ,


Nov 4 2007

Mac OS X Boot Camp

Boot Camp allows you to run Microsoft Windows on your Mac, natively just as you would on any laptop from Dell or HP. In essence, boot camp allows you to start and run either OS X or Windows on your Apple hardware.

Boot Camp is easy to set up and configure and perhaps that is why I was unable to find any tutorials or instructions on how to set it up, so that is why I am writing this post.

Before you begin, I would recommend you back your data.

If you are using Mac OS X Leopard, just launch Boot Camp Assistant located under the Applications | Utilities folder. Select ‘Create or remove a Windows partition’ to create a separate disk partition to install Windows on. Select the size for the Windows partition.

Once you have created the partition, you can insert an ‘authentic’ Windows installation CD and restart your system. You should use Windows XP with SP2 or Windows Vista. When your computer restarts, it will ask to load from the CD which takes you through the Windows installation process. Before the installation can begin, you will be prompted to select the partition to install Windows to, select the partition with BOOT CAMP in the name. Be careful not to delete or install over you Mac OS X partition.

Once you have installed Windows, insert your OS X Leopard installation CD to install the required drivers for your Apple hardware. At this point, you should have both Windows and Mac OS X installed on your Mac. To switch from one operating system to another, restart you computer and hold down the Option key. Holding down the Option key will allow you to choose which system to start. If you don’t hold down the Option key you will boot using the default system.

It is also a good idea to update your Windows installation with the latest security patches. After I installed Windows I had to restart Windows twice; once to get 86 patches including IE 7, and the second time to get additional patches for IE 7. I’ve discovered that Windows security is an oxymoron!

To change the default operating system which your computer boots from, you can use the Startup Disk application found under the System Preference in Mac OS X. In Windows launch the Boot Camp application in the Control Panel and select the default system on the Startup Disk tab.

It is great that I can boot either OS X or Windows on my Mac, but I would prefer if Apple would provide the same level of Boot Camp support for Ubuntu!

Technorati Tags: , , , , ,


Oct 11 2007

Mac OS X Screen Grab

I recently mentioned how to grab a screen shot of an application window on Windows XP. On Mac OS X you can also capture a screen shot of a window but its definitely is not as simple as Windows since it does not come with a Print Screen key. Mac OS X comes with a Grab utility (under Applications | Utilities | Grab) which an capture the whole screen, a selected window, or a selected rectangular area of your screen.

You can also grab a screen shot by using the Preview application. Open the Mac OS X Preview application and select the File | Grab | Window menu to capture a screen shot of a selected application window.

Technorati Tags: , , , , ,


Jul 9 2007

iPhone Dev Camp

iPhone Development

The iPhone Dev Camp started on Saturday by a nice presentation by Chritopher Allen, a MacHack veteran, regarding what is known about the iPhone from a web developer’s perspective. What is known is that the iPhone uses web standards (HTML, XHTML, CSS, JavaScript, PDF and Quicktime). Web 2.0 best practices apply for the iPhone, such as the proper use and sepration of HTML, CSS, and JavaScript. Christopher recommends avoiding the use of Flash, SVG, Java applets, embedded video, custom x.509 certificates, and framesets. Christopher also states the the finger is not a mouse and you need to design accordingly with large enough buttons and links with plenty of space between each other.
Fingers can do more than the traditional point and drag cursor such as double tap, touch and hold, one or two finger drag, flick, and pinch.

It might come as a surprise but many of JavaScript events don’t work, such as onscroll, onkeydown, onkeypress, onmousemove, etc. Some web development recommendations for the iPhone are to use columns and small blocks in the layout, such as floating divs. You should also use the tel: and mailto: protocols in links. You can also integrate with Google Maps simply by adding your location search to maps.google.com/maps? URL.

The current activity on the the iPhoneWebDev Google Groups seems to be focused around iPhone specific development libraries, implementing the infamous back button, debugging JS, optimizing application for low bandwidth, and hacking the viewport. There is also a series of open questions such as, what level of support is there for the canvas tag? What level of persistent storage is available, cookies? The right questions will lead to the right answers. I have also published a great list of available iPhone development resources.

Most of time at the iPhone Dev Camp was spent developing a collaborating for the hack-a-thon. This was a working camp focused on developing some really cool applications on the iPhone.
Continue reading


Jan 10 2007

SF Ruby Meetup

I attended last nights San Francisco Ruby group meet up held at CNET. The theme of last nights meeting was Lightning Talks and Mini Hack Session. I was only able to attend for the Lighting Talks.

Rich Collins started off the lightning talks with a presentation of his new Ruby on Rails plugin Simply Presentable. In the meeting Rich said that Simply Presentable is an alternative to Simply Helpful, and view helpers in general. Simply Presentable introduces Presenter classes in your Rails projects, in addition to the already existing Model, View, and Controller classes. The Presenter class knows how to render the model, an active record instance, based on its state such as is it a new record or an existing record in the database.
Continue reading