Entries Tagged 'Programming' ↓

UIButton troubles, a better solution

Avatar of Fredrik Olsson

I described in my previous post how you can change the class of a live object instance. The use-case was a workaround for bug in Cocoa Touch’s UIKit. What if I could fix the bug, instead of applying a work around in my sub-class?
With Objective-C you can
In short the problem is that the implementation of [...]

Tags: , , ,

UIButton troubles, and Obj-C magic

Avatar of Fredrik Olsson

When developing SC68 Player for the iPhone I came upon a quite peculiar problem regarding the UIButton.
First the preface
I wanted to add a star button to the right side of each row, subclassing UIButton that can manage selected states, images and all I needed, and use it as the accessory view of the UITableViewCell [...]

Tags: , ,

iPhone Tech Talks - Stockholm

Avatar of Fredrik Olsson

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 any [...]

Tags: , , , , ,

Executable .war with winstone-maven-plugin

Avatar of Hugo Josefson

You don’t need to install Tomcat, JBoss or any other web server in order to run a Java web application (.war file)!
If your project is configured with a Maven pom.xml and the module has <packaging>war</packaging>, you can just add this little piece of XML inside the pom’s <plugins> tag:
<plugin>
<groupId>net.sf.alchim</groupId>
[...]

Tags: , , , ,

Accelerometer and Vibration on the iPhone

Avatar of Fredrik Olsson

Last friday I attended an excellent session at Øredev 2008, on Android by Mike Jennings from Google. At the end of the presentation Mike show the code for a simple application with a bouncing blue ball, controlled by the accelerometer. What stroke me was that the git of the application was 85 lines of code, [...]

Tags: , , , , ,

Android on the FreeRunner

Avatar of Peter Neubauer

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 Neo FreeRunner! [...]

Tags: , , ,

Give back my XMPP in Android!

Avatar of Peter Neubauer

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 @Oredev, I met Mike Jennings from the Android team and together we looked into this problem over a beer [...]

Tags: , ,

Azul

Avatar of Jan Kronquist

We have got the privilege to borrow an Azul Vega 1 which is the smallest of Azul’s monster machines. This evening a bunch of us Jaywayers gathered to try it out. Installing the Azul JVM was painless and all of us were up and running very quickly. Read more…

Tags: , ,

Neo4j matches my mental model of information

Avatar of Mattias Ask

I’m a visual person which means that I see pictures in my head when I think about abstract things like structure, code and information. My guess is that most people do, but anyway…
When I first started looking at Neo4j I was blown away by how precise the graph database structure matched my mental model of [...]

Tags: ,

Wicket Javascript Internals dissected

Avatar of Nino Martinez

SO you need to do something special with a javascript and you want to integrate that with wicket. In my last article I looked at this from the wicket side and wrote about what you can do to push something out from wicket. But what if you want to interact? Then you will have to take a peek at wickets javascript internals. If you are working on an ajax component you get these wicket javascript source files included as default [...]

Tags: , ,