XPages Tip: How to apply different styles for mobile devices (iPhone, iPad, Android, …)

I got stuck yesterday when I tried to shape my application to look different on different mobile devices. I wanted to have an iPhone look when the app gets opened with an iPhone and an Android look when it gets accessed with an Android phone. I knew that there were capabilities to achieve this but I could not find these. Now, as usual, the trick is easy.

There are properties that can be set in the xsp.properies file. First of all you have to find and access the file. Well, those of you out there working with XPages every day, proceed to the next paragraph. All others: Open the database in Domino Designer. Switch to the Java Perspective via the menu „Window\Open Perspective\Java“ and in the outline move to the „WebContent\WEB-INF“ folder.

Open the „xsp.properties“ file by double-clicking on it. Move to the „Source“ Tab. Use the following snippet to define your styles (Click on the image to get to the snippet):

Sametime 8.5.2 adds Android Client

A long missing feature has been added to Sametime 8.5.2. A client for Android devices is now available! There has been an alternative client for a couple of weeks called QuipIM, but I guess everyone has been waiting for the „real“ client, right? Now finally it has arrived. The documentation has been posted on the Sametime Wiki Pages.

I will give it a try in the next couple of days with a detailed comparison to QuipIM and be back with first impressions. So stay tuned.

BTW: There are clients for other mobile platforms as well:

Review: QuipIM – First Sametime Client for iPhone and Android

In yesterday’s post I presented a newcomer in the market: QuipIM – the first Lotus Sametime Client for iPhone and Android. I downloaded the software to my android device and started testing it straight away. In this post I want to share my results and impressions.

The installation process is as easy as any other app. Just open the android market, search for QuipIM and download and install the software. Once installed you can open it and will be presented with a button named „Add new account“.

Following this order I entered my account details. Here’s is an example I copied from androidzoom.

Now you end up with your newly created account and your buddy lists. QuipIM shows all buddy lists that you manage with your Samtime Desktop Client. You can switch between the list via a combo box as you can see on the screenshot on the right hand side. Just tap on a buddy to start a new conversation. A new window opens that shows the conversations and a small field to enter messages. A send button sends new messages to your chat buddy.

All conversations will be saved by default. There is no option to disable chat histories. The number of settings is rather small right now. Given that this is the first version we can not expect to get a full tweak environment. You can set a time of day to disconnect all accounts automatically. You can decide whether to use a sound, vibration or none of these when new messages arrive. If you want your LED to flash on new IMs then tick the appropriate box. That’s about it.

QuipIM can handle multiple accounts. I added my company account, Lotus Greenhouse and Euluc. It works fine so far. I experienced some minor problems during weak mobile connections. QuipIM keeps disconnecting my accounts. In 3G or WiFi environments it works like a charm.

This is the first version of the first sametime client for iPhone or Android. Don’t expect a high-end solution. It’s a basic app that does what it’s been designed for.

What I miss:

  • Hide people who are offline
  • Show the device of people connected
  • Start multi person chats

For as long as IBM won’t provide a native client I will use QuipIM.

Sametime Client for iPhone and Android available

Are you like me waiting for a Lotus Sametime Client for iPhone or Android? Guess what, there is one and the best thing is: it’s free of charge! IBM hasn’t managed to provide a Sametime Client yet so some equally impatiant people have developed their own client. It’s called QuipIM for Sametime.

Features include:

  • Manage your connections to multiple accounts.
  • Manage your buddy list, including adding and removing buddies and groups.
  • Easily switch between active conversations using a swipe.
  • Set your status and a custom status message.
  • Easily access and manage your conversation history.

So go ahead and give it a try for as long as IBM won’t release a native client! It is either available from the android market or the apple app store (coming soon!).

UPDATE

I just posted a review for this app.