|
This answer comes from my co-presenter at Lotusphere 2007, Rana Puri. Thanks, Rana!
This may be done by examining the HTTP header information of the incoming request. Since you can code your Lotus Domino applications by using either Java or Formula language code, here are code snippets for each example:
In Java code:
String source = request.getHeader("user-agent");
(Where 'request' is an instance of
'HttpServletRequest')
In Formula language code:
@If(@BrowserInfo("BrowserType")=
"Netscape";"NS";"IE";"BlackBerry")
In order to find out the exact contents of the HTTP header, use an HTTP proxy such as TCPMon to record the HTTP traffic.
Do you have comments on this Ask the Expert Q&A? Let us know.
Related information from SearchDomino.com:
Expert Advice: Stop spam on BlackBerry mobile devices
Learning Guide: Wireless Integration Development
Reference Center: Lotus Notes Domino and mobile devices
|