So early this morning I created a small Xpages app to display contact data from the STS CRM down to a BlackBerry. I used to love MDS-IS before RIM killed it so I refuse to use their stuff unless I absolutely have to. So I chose Xpages. I knocked up a few pages, wired them together and it just worked. Right out the box.

Well, little did I know this really wasn't supposed to work ;)

So here are the specs and I'll do a more detailed post later on:

Domino 8.5.2 CD 4
BES 5.0.1
BlackBerry Tour (Sprint) 9630 with OS 5.0.0.484

This morning I had tweets an Skype's galore. The general assumption was this worked due to 8.5.2 server being used. But I just moved the app to a 8.5.1 FP2 Domino server and it works there too!

There was some confusion about buttons not being clickable with Xpages on the BlackBerry, so here are a few screenshots taken from an actual device (not a simulator) using the app against an 8.5.1 FP2 server:


I enter the company name to search and hit the (rather elongated) "Search" button:

Image:Wow - I lit up Twitter with my BlackBerry and XPages tweet - here is a teaser

After a quick round trip to the server, the results are displayed:

Image:Wow - I lit up Twitter with my BlackBerry and XPages tweet - here is a teaser

Voila!
Darren Duke   |   April 20 2010 08:37:18 AM   |    blackberry  xpages    |  
  |   Next Document   |   Previous Document

Discussion for this entry is now closed.

Comments (10)

Gravatar Image
1 - Brent Quick    http://www.toddherman.com    04/20/2010 9:34:12 AM

Well share some love/code man!

I too loved the MDS Suite and developed a bunch of internal stuff. Never understood what RIM was thinking when they decided to kill it.

Gravatar Image
2 - Eric Mack    http://www.EricMackOnline.com    04/20/2010 9:49:48 AM

I hope you will continue to blog about your experience in this area.

Eric

Gravatar Image
3 - Lisa Duke    http://www.simplified-tech.com    04/20/2010 10:31:05 AM

Darren's going to be doing a live walkthrough of this in Designer at the Chattanooga Lotus User Group 5/4. If anyone wants to see it, register at { http://www.simplified-tech.com/events }

See you there!

Gravatar Image
4 - Darren Duke    http://blog.darrenduke.net    04/20/2010 12:11:19 PM

@1, Back in the day I presented a session on MDS Studio at the 2008 BlackBerry DevCon......doh!

Gravatar Image
5 - Darren Duke    http://blog.darrenduke.net    04/20/2010 12:12:32 PM

@2, I see no reason why it wouldn't or shouldn't. And I think you mean 4.1.6 ;)

Gravatar Image
6 - ChrisC    http://www.xsptalk.com    04/22/2010 10:00:49 AM

Keen to see if there are any other plans for replacing MDS studio for writing local apps. From memory the BlackBerry site is still mentioning MDS studio.

I liked it too - had some limitations but the product could have really developed into something.

Gravatar Image
7 - Darren Duke    http://blog.darrenduke.net    04/22/2010 10:04:02 AM

They are replacing it with the new web development tooling that was forever in beta. I believe it has just hit gold (and to make matters worse is now two products) here http://na.blackberry.com/eng/developers/browserdev/eclipseplugin.jsp and http://na.blackberry.com/eng/developers/browserdev/widgetsdk.jsp. It looks like the latter is the successor to MDS Studio.

I'm glad to see IBM are NOT waiting on RIM to have XPages support on device, that would have been a complete cluster. And RIM are not exactly on the ball with due dates and the like. Steve Casteldine and Niklas Heidloff's OpenNTF "XPages Mobile Controls" project looks very promising. Multi device too....yum, http://www.openntf.org/Projects/pmt.nsf/ProjectLookup/XPages+Mobile+Controls

Gravatar Image
8 - Lisa Duke    http://www.simplified-tech.com    04/26/2010 9:30:58 AM

Darren and I were discussing this today, and I wanted to pass along the gist of the discussion.

I think part of the reason Darren was successful with this is that he's been doing BlackBerry development for some time, and so is intuitively aware of some of the issues with the browser. Because of this background, he coded around them without really thinking about it.

For someone with a straight Lotus development background, these issues and the related work arounds would not be obvious.

If there is enough interest, we could put together a class and teach it over weekly webinars. Would your organizations be willing to invest about $899 per person if we put the training together?

Gravatar Image
9 - Darren Duke    http://blog.darrenduke.net    04/27/2010 11:22:46 AM

As Lisa mentioned above, I unconsciously avoided using ANY Ajax calls in the code based on a long and arduous experience with BlackBerry development. This avoidance of partial (or full) page refreshes in XPages avoided many of the pitfalls that others may have hit.

Long story short, if you have the above software specs, and DO NOT use partial page updates, your should be fine.

Gravatar Image
10 - Brent Quick    http://www.toddherman.com    07/01/2010 11:19:05 AM

@8 - You never know - how much other interest did you get?