Many Java developers are looking at new dynamic languages, such as Groovy and JRuby, mostly because of the freedom and rapid development that a dynamic language allows. Some of my colleagues are also looking at Cocoa and feel daunted at the sight of Objective-C. Here I will use a small example that is easy and [...]
Bridging the Gap Between Java and Cocoa
March 24th, 2009 by Fredrik Olsson — Architecture, Embedded, Java, Tips & Tricks
Tags: design patterns, frameworks, iphone, mobile, objective-c, programming, ruby
UIToolbars in iPhone OS 2.x
March 22nd, 2009 by Fredrik Olsson — Cocoa, Embedded, Tips & Tricks
The new release of iPhone OS 3.0 adds some nice API:s for managing a contextual toolbar. This is well needed as toolbars in the current iteration of iPhone OS is not only poorly documented, it is also quite hard to do right. So I will go over how to do toolbars the right way, for [...]
Tags: apple, design patterns, frameworks, iphone, mobile, objective-c, open source, programming, tutorial
Hidden methods in Sony Ericsson Java Platform
March 9th, 2009 by Fredrik Olsson — Embedded, Java, Tips & Tricks
It is no secret that the published interfaces for MIDP classes in any JavaME Platform is only a subset of what in reality is there. Most of the native calls needed to interact with the underlying native platform, and other helper methods, are hidden from us. Mostly for good, and sometimes for bad… The Anecdotal [...]
Tags: frameworks, mobile
Finding Subview of a Particular Class in Cocoa
February 24th, 2009 by Fredrik Olsson — Embedded, Tips & Tricks
Many of the UIView subclasses in Cocoa, and especially Cocoa Touch are created by combining many different simple views into a more complex view. UITableViewCell is a good example, concisting of almost a dozen subviews, UIImageView for the image, UILabel for the text, etc. It is often nice to be able to reuse existing functionality [...]
Tags: frameworks, iphone, mobile, objective-c, programming
Fixing Image#getRGB()
January 17th, 2009 by Fredrik Olsson — Embedded, Java, Tips & Tricks
I have encountered a problem when implementing a nine-patch painter for MIDP 2.0, most of my graphics where left transparent for no-reason. A nine-patch is an image with a flexible center row, and a flexible center column. Most useful when doing themed UI, as a single image can be used to draw buttons, and boxes [...]
Tags: midp, mobile, programming
Java ME Logging over Bluetooth using MicroLog
December 17th, 2008 by Henrik Larne — Embedded, Java
When developing in Java ME and wanting to support several different devices, you wil no doubt run into problems with devices behaving differently. In some cases it is only the appearance that changes and in others the actual functionality varies or breaks. The first step in solving this is to run your Midlet in the [...]
Tags: bluetooth, logging, mobile
iPhone Tech Talks – Stockholm
December 9th, 2008 by Fredrik Olsson — Embedded, Events, Tips & Tricks, User Experience
Apple has arranged a world tour of iPhone Tech Talks, and in cold december it was Scandinavia’s turn and a crew of software evangelists from Apple turned up at KTH in Stockholm for a full day of sessions. The sessions are confidential so I will keep this post vague on the technical parts, not revealing [...]
Tags: apple, design, frameworks, iphone, mobile, programming, sdk
Android on the FreeRunner
November 21st, 2008 by Peter Neubauer — Android, Embedded, Events, Java
Hi there, Øredev was great success, especially all the people and the organization – a big Thank You to Michael and Emily for making this possible, you rock! Now, it was really awesome to exchange Android games with Mike Jennings fro the Android team, and get him excited over the recent Android port to the [...]
Tags: linux, mobile, open source, oredev, programming
Give back my XMPP in Android!
November 21st, 2008 by Peter Neubauer — Android, Embedded, Events
Since the release of the Android SDK 1.0, people (including me) have been complaining about the lack of connectivity for the very convenient Smack API to talk to Googles GTalk servers following http://davanum.wordpress.com/2007/12/31/android-just-use-smack-api-for-xmpp/, see here. However, yesterday @Øredev, I met Mike Jennings from the Android team and together we looked into this problem over a [...]
Tags: mobile, oredev, programming
LWUIT – an introduction
May 1st, 2008 by Johan Karlsson — Embedded
Have you ever tried to create a business application in Java ME? The user interface toolkit provided by MIDP 2.0 is very limited. There is now an alternative toolkit available. Read on and you will learn about this new user interface toolkit. But be aware, there will be some spiffy source code and an accompanying [...]
Tags: java me, jayview, midp, mobile, ui
My First Weekend With iPhone SDK
March 9th, 2008 by Fredrik Olsson — Embedded
My first reaction is that it is polished. Very polished. I have used the unofficial SDK for iPhone OS 1.x software, and nearly everything from iPhone OS 1.x has been redesigned. Small changes from renaming, to removal of changes, and addition of complete frameworks. Not only the provided Frameworks are polished even in beta, so [...]
Tags: frameworks, iphone, mobile, programming, sdk, tools
