Logged in as Guest   Sun, Oct. 21st, 7:35 AM.      
 
 
Web hazelware.luggle.com
 

Cross Platform Code for Handheld Devices (Part 1)
The first two companies that I worked at out of college were both multimedia game companies where the importance and cost savings of cross platform code were highly stressed. Both of the companies' core business was around "Edutainment" titles for Windows and Macintosh, and I learned a lot about hardware abstraction and many of the ways that C++ allows you to write cross-platform code. (I'll go more into that in a later article.)
There are many, many articles littered around the web about the hows and whys of writing cross-platform code, so I won't go into those here.
Well, both of the companies that I worked for ended up being dot-com-bubble-burst casualties, and my wife was pregnant, so I was forced to join Corporate America. Anyway, I landed a job working for GE Security where they hired me to be their lead PDA developer. This introduced me first to the Palm OS, next WindowsCE, and eventually to Symbian development. Over that time, I became somewhat familiar with the different development communities, and I discovered that the idea of cross-platform code is generally a foreign concept to handheld developers. (The sole exception to that seems to be in game development.)
This brings me to the crux of my post for today which is that I firmly believe that cross-platform is possible in handheld development. From my experience, you need to be willing to invest in a framework abstraction of your core code, but once you have done that, you can quickly get a return on that investment by being able to write application code that can simply be recompiled to a different OS. Of course there is a rigor that needs to be followed by not introducing non-portable code into the application code, but with practice and a solid code base, it is pretty easy to do. To illustrate what/how this might look, I have built a simple Mandelbrot viewer using my framework and compiled it for the Palm OS and for the MS Smartphone platform. You can take a look at the application code here if you want to see how much code we're talking about. Oh, and the binaries are (PalmOS) here and (Smartphone) here. What do you think? Am I nuts? Is this old hat to you? Let me know.

-Jon
Submitted by bosshogg on Wednesday the 31st 1970f December 1969, at 04:00

 
Recent Entries:
I'm BACK!!!!!!
Code Monkey
Cool 3D Code Snippet From My Former Life
YouTube: The Revival of the Internet Time Killer
WhereMate Released
Palmasaurus Released As Freeware
VM-Plus Beta
Handspring Undocumented APIs
Posting Malaise
PhoneShield Released!!!

Archive:
October - 2007
August - 2007
July - 2007
June - 2007
May - 2007
April - 2007
December - 2006
November - 2006
September - 2006
August - 2006
July - 2006
March - 2006
February - 2006
January - 2006
December - 2005
November - 2005
October - 2005
September - 2005
August - 2005
July - 2005
June - 2005
May - 2005
April - 2005
February - 2005
January - 2005
December - 2004
November - 2004
October - 2004
September - 2004
August - 2004
July - 2004
June - 2004
May - 2004
April - 2004
March - 2004