Live data from Hacker News

Where to start - programming for mobile phones

news.ycombinator.com

11–15 of 15 posts

Re: Where to start - programming for mobile phones

#11
post #9

Started reading 'The Objective-C 2.0 Programming Language' ( http://developer.apple.com/documentation/Cocoa/Conceptual/Ob... ) today for an iPhone library I have to write and I was wondering if there was a big difference between objective-c 1.0 and 2.0 (I can't seem to find any books on 2.0 at my university library). Also, can anyone recommend a good cocoa book?

Objective-C 2.0 introduced garbage collection and "properties", as well as a new enumeration syntax.

The best beginning Cocoa book is "Cocoa Programming for Mac OS X", found here: http://www.amazon.com/exec/obidos/ASIN/0321503619/bignerdran...

It's a great book, and a huge number of mac developers got started with it. The new version (which has Obj-C 2.0, Leopard, and other updates) just came out a few weeks ago.

Re: Where to start - programming for mobile phones

#12
post #9

Started reading 'The Objective-C 2.0 Programming Language' ( http://developer.apple.com/documentation/Cocoa/Conceptual/Ob... ) today for an iPhone library I have to write and I was wondering if there was a big difference between objective-c 1.0 and 2.0 (I can't seem to find any books on 2.0 at my university library). Also, can anyone recommend a good cocoa book?

No, there isn't a huge difference between Obj-C 1.x and 2.0.

2.0 brings you object properties (just syntactic sugar), object iteration (for x in ...), and garbage collection (but not on the iPhone).

http://theocacao.com/document.page/510 is a good overview of the new features.

Re: Where to start - programming for mobile phones

#14

This is the only Android book I'm aware of. I haven't read it though so I can vouch for it's quality. http://pragprog.com/titles/eband/hello-android The only supported language on Android is Java, so I'd stick with that.

There's this book too:

http://commonsware.com/Android/index.html

Re: Where to start - programming for mobile phones

#15
post #10

If you want your app to run on majority of cell phones out there J2ME (Java 2 Micro Edition) is currently your best bet. It may not be as feature rich as IPhone SDK or Google Android but it is probably the most ubiquitous platform for cell phones today. You can download a free WTK (Wireless Tool Kit) from java.sun.com and there are good tutorials on the same site for J2ME beginers. One thing to remember is if you mak…

In theory J2ME has wide distribution, but in reality, the platform is highly fragmented.

I agree that the platform is pretty tightly locked down, and both of these issues make the platform useless for real development. If you want to write anything other than a Tetris clone, stick with an open platform.

Post reply on HN