Search code examples
androidlotus-domino

Accessing Domino server using Android Apps


I want to read data which is receiding in the domino server database using android application.

Any body has any kind of example/sample program for doing this ? What is the best possible way to read the data from domino using Android.

And also I am interesting in knowing what are the different ways of doing this ?


Solution

  • This is a very broad question. So I'm going to have to give you a broad answer.

    Accessing a data on a Domino server can be done a number of ways. If you design an Android app that can process a REST services then you can either deliver it via XPages services from the Domino server, or use a dedicate Notes "Agent".

    If you choose to use an agent, then you'll need to be aware of how to control the output to prevent default html behaviour. You can see what I mean here and a better example here. If user identity is required, you will need to be able to authenticate. As you want to use an "app", I would recommend a servlet installed on the Domino server and enable it using the Domino Servlet Engine. Be aware of the need to create sessions, you can find a reasonable primer here. This should be able to get you started. Personally I found this to be weeks/months of work.

    Finally, you can try Mobilite which uses HTML5 and functions on Android as well as Apple devices without the need for coding. (Disclaimer: Please note that I am a co-founder of this product, and I have noted the stackoverflow FAQ regarding self-promotion).