Accessing Domino server using Android Apps

坚强是说给别人听的谎言 提交于 2019-12-08 13:39:42

问题


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 ?


回答1:


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).



来源:https://stackoverflow.com/questions/9717749/accessing-domino-server-using-android-apps

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!