Monday, March 24, 2008

First dollar donation received, THANK YOU

Delete iTunes in Mac OS X

Back up your ~/Music/iTunes library

To delete iTunes. On OS X, you can do that with:
# rm -rf /Applications/iTunes.app
# rm -rf /System/Library/PrivateFrameworks/MobileDevice.framework
# mv ~/Music/iTunes ~/Music/iTunes.7.6

Open Tool Chain for apple SDK available now

This allows you to build the 1.2.0 iPhone arm binary from source code using Open Tool Chain and the low level APIs.

That means you must have a 1.2.0 firmware iPhone and Apple iPhone SDK to test.

Read this
http://www.zdziarski.com/

sdk header can be obtained from here
svn co http://iphone-dev.googlecode.com/svn/branches/include-1.2-sdk

this is how to setup the build environment
http://iphone-dev.org/howto:using_sdk_with_toolchain_headers

try to build this from source
cvs -z3 -d :pserver:cvs@cvs.zdziarski.com:/usr/local/cvsroot co nesapp

Sunday, March 9, 2008

Modify iPhone SDK simulator Aspen

Although you have to pay if you want to run the iPhone debugger and have to wait for firmware 1.2.o update in order to have SDK binary run in your iPhone.  This is what can be done in the iPhone SDK beta with simulator Aspen

(1) Add Camera icon in the Aspen Simulator (despite iSight is not working in Aspen)
copy iPhone's
/Applications/MobileSlideShow.app/Info.plist
to Mac's 
/Developer/Platforms/AspenSimulator.platform/Developer/SDKs/AspenSimulator1.2.sdk/Applications/MobileSlideShow.app/
(2) Import your camera roll from your iPhone to the Simulator
iPhone's
/var/mobile/Media/DCIM
to Mac's 
/Users/[yourusername]/Library/Application Support/Aspen Simulator/User/Media/DCIM
(3) Add webclip in Simulator and change the webclip icon and change background in the Simulator
/Users/[yourusername]/Library/Application Support/Aspen Simulator/User/Library/WebClips
(4) Develop your own programs in XCode 3.1 or install the sample application from http://developer.apple.com/iphone/samples/index.action and run them in the simulator
(5) Install 3rd-party program manually in Mac



No Music Version

If you find this info useful, please consider to $1 by clicking the Donate button.

Friday, March 7, 2008

My first Hello iPhone Program from SDK


Create a US iTunes account now,then you can get your iPhone Application from AppStore in June.

Wednesday, March 5, 2008

Check iPhone Bootloader and Firmware Version

Please refer to this article

download sendmodem from there
Here is my iPhone's Output

# sendmodem "AT+XGENDATA"
Sending command to modem: AT
------.+
AT
OK
Sending command to modem: AT+XGENDATA
-..+
AT+XGENDATA
+XGENDATA: "
",
"DEV_ICE_MODEM_04.03.13_G",
"EEP_VERSION:208",
"EEP_REVISION:1",
"BOOTLOADER_VERSION:3.9_M3S2",1,0

OK