Jason Delport Home

Blog Feed Blog Feed

Paxmodept Website Paxmodept Website

Contact Information


Jason Delport

+44(0)7931445721

jason@paxmodept.com

Download vCard


Mobile Portal


~mobile.paxmodept.com~
QR Code

Blog Archive & Stats


MonthPosts
June 2010(2)
May 2010(1)
April 2010(4)
February 2010(1)
January 2010(2)
December 2009(1)
November 2009(3)
October 2009(3)
September 2009(7)
August 2009(1)
July 2009(2)
June 2009(4)
May 2009(7)
April 2009(5)
March 2009(10)
February 2009(10)
January 2009(19)
December 2008(11)
November 2008(16)
October 2008(28)
September 2008(7)
August 2008(19)
July 2008(17)
June 2008(13)
May 2008(11)
April 2008(11)
March 2008(18)
February 2008(17)
January 2008(19)
December 2007(8)
November 2007(29)
October 2007(38)
September 2007(30)
August 2007(50)
July 2007(46)
June 2007(38)
May 2007(20)
April 2007(16)
March 2007(35)
February 2007(28)
January 2007(36)
December 2006(26)
November 2006(42)
October 2006(39)
September 2006(26)
August 2006(16)
July 2006(4)
Total796


© 2010 Jason Delport

Testing the New WURFL API

I'm working on a mobile micro site at the moment which needs to deployed on a foreign server so I decided to check out the new WURFL Java API for my profiling requirements. Although I have used the WURFL for over 5 years I have never personally created any production sites using either the API or WALL so my experience was limited to some basic assessment duties.

Downloading the new API, importing it into Eclipse and building it for the first time was an absolute breeze. Luca has done a great job to make this very easy and I felt comfortable moving around the source code checking out the various classes/methods.

Second task was to create a Tomcat application to actually test the code via a browser. We use Spring for all our server side stuff so this was also easy to get up and running. The only issue I had was that the application threw some encoding errors during the Tomcat deployment when I used the WURFL in a zipped format (a new feature). I didn't want to spend time debugging this issue so I went back to the unzipped XML file and it worked immediately.

So after about an hour I had everything running in a browser with the server set-up and configured to my liking and I was able to start testing the new API's profiling performance using Chris Pederick's indispensable user-agent switcher. [PS - a new version of the user-agent switcher just got released in time for Firefox 3.]

Overall I was impressed. It's speedy and works well with even the most obscure devices. It even handled the Novarra transcoder headers without issue. The only real problem I had was that the API doesn't handle Opera Mini's transcoder headers very well but this is a minor issue and is easy to resolve. Definitely my preferred 3rd party choice for doing device profiling when building mobile sites.




~Comments~

redwan declares...

I think I'll stick to Tera WURFL. However, last week when I updated Tera WURFL using the wurfl.xml I downloaded from sourceforge, I discovered that my mozilla firefox browser was being detected as a wireless device and an IE 6 user-agent was detected as a Black Berry handset. I was shocked, I quickly reversed it by installing the older version of Tera WURFL I was using earlier... any insights to this... ???

Date Thu, 23 Jul 2009 at 08:53:22

Jason declares...

I think you need the desktop patch file. Speak to the guys in the wmlprogramming Yahoo group.

Date Thu, 23 Jul 2009 at 11:25:09

Steve Kamerman declares...

Hey guys, the reason that the detection was suffering is because the WURFL team made significant changes to their WURFL API and modified the WURFL data to better accomodate the new API. Tera-WURFL 2.x was released to provide a proper interface to this new WURFL data. It is also packed with new features and is faster than ever!

You can test its accuracy at http://www.tera-wurfl.com/explore/

Thanks,

Steve Kamerman
http://www.tera-wurfl.com

Date Mon, 08 Mar 2010 at 04:25:00

~Add Comment~

Name
Email
Website
Website
Website
Comment (No HTML)
Human? Human?