Skip to main content link. Accesskey S
  • HCL Logo
  • HCL Notes and Domino wiki
  • THIS WIKI IS READ-ONLY. Individual names altered for privacy purposes.
  • HCL Forums and Blogs
  • Home
  • Product Documentation
  • Community Articles
  • Learning Center
  • API Documentation
Search
Community Articles > Lotus Notes Traveler > Lotus Notes Traveler deployment scenarios > How to automatically configure the Traveler client on Android
  • Share Show Menu▼
  • Subscribe Show Menu▼

Recent articles by this author

How to install a Traveler Android 9.X test fix on an 8.5.3 UP2 server

When your server is at 8.5.3 UP2 and you receive a testfix for 9.0.X, these are the steps to use it.

Traveler for Android is now available on Google Play

The Android client for IBM Notes Traveler is now available on the Google Play store.

Traveler for Android is now available on Google Play

The Android client for IBM Notes Traveler is now available on the Google Play store.

How to automatically configure the Traveler client on Android

In situations where the Lotus Notes Traveler client for Android is not downloaded from the Traveler servlet, but is deployed through another means, you can pre-fill in some configuration fields to assist the end-user.

Domino encrypted Mail is supported on Android devices in Traveler 8.5.2.2

Domino encrypted Mail is supported on Android devices in Traveler 8.5.2.2
Community articleHow to automatically configure the Traveler client on Android
Added by ~Nicole Rejipyburoni | Edited by ~Nicole Rejipyburoni on October 1, 2012 | Version 18
  • Actions Show Menu▼
expanded Abstract
collapsed Abstract
In situations where the Lotus Notes Traveler client for Android is not downloaded from the Traveler servlet, but is deployed through another means, you can pre-fill in some configuration fields to assist the end-user.
Tags: Android

The the Lotus Notes Traveler client on Android first starts, it will prompt the user for a Server, User name, and password.

When the LotusTraveler.apk is downloaded from the traveler servlet, the Server and user name are pre-filled.
This is accomplished by using the browser history to capture those values.

If the LotusTraveler.apk has been deployed through another means, there are 2 ways for a solution provider to pre-fill the Server and User name fields; with a properties file or by inserting a url into the browser history.

1. Property file


Traveler will look in the directory returned by:

Environment.getExternalStorageDirectory()
for a file named:

/Lotus/TravelerInit.properties
Inside this file, you can set the following properties:

com.lotus.mobileInstall.SERVER
com.lotus.mobileInstall.USER_ID

The values for these properties will be pre-filled in the traveler configuration .


for example a file in:
/mnt/sdcard/Lotus/TravelerInit.properties
could contain.

com.lotus.mobileInstall.SERVER=https://myserver.mycompany.com/servlet/traveler
com.lotus.mobileInstall.USER_ID=userid@mycompany.com

to provide pre-filled values:

Server:https://myserver.mycompany.com/servlet/traveler
User name:username@mycompany.com


2. Browser history.

Lotus Notes Traveler looks uses the Browser bookmarks content provider to look in the browser history. The browser history is retrieved using this code:

getContentResolver().query(Browser.BOOKMARKS_URI, Browser.HISTORY_PROJECTION,
Browser.HISTORY_PROJECTION[Browser.HISTORY_PROJECTION_VISITS_INDEX] + ">0", null,
Browser.HISTORY_PROJECTION[Browser.HISTORY_PROJECTION_DATE_INDEX] + " DESC");


Note: The "last visited" property must be in the past 24 hours.

The url should be URL encoded with the following parameters

actionmust be "GET"
addressthe server name to pre-fill
userIdthe user name to pre-fill
redirectURLmust contain "LotusTraveler.apk" somewhere in it.

Here is an example browser history url:

http://myserver.mycompany.com/traveler?action=GET&deviceType=700&address=https%3A%2F%2Fmyserver.mycompany.com%2Ftraveler&userId=username%40mycompany.com&redirectURL=%2Ftravelerclients%2FLotusTraveler%2Fservlet%2Fandroid%2F8.5.4.0.201209101101%2FLotusTraveler.apk

The above url would pre-fill

Server:https://myserver.mycompany.com/servlet/traveler
User name:username@mycompany.com




You can use the Browser.updateVisitedHistory() call to add a url to the browser history.


http://developer.android.com/reference/android/provider/Browser.html#updateVisitedHistory(android.content.ContentResolver,%20java.lang.String,%20boolean)

  • Actions Show Menu▼


expanded Attachments (0)
collapsed Attachments (0)
Edit the article to add or modify attachments.
expanded Versions (1)
collapsed Versions (1)
Version Comparison     
VersionDateChanged by              Summary of changes
This version (18)Oct 1, 2012, 12:43:22 PM~Nicole Rejipyburoni  
expanded Comments (0)
collapsed Comments (0)
Copy and paste this wiki markup to link to this article from another article in this wiki.
Go ElsewhereStay ConnectedAbout
  • HCL Software
  • HCL Digital Solutions community
  • HCL Software support
  • BlogsDigital Solutions blog
  • Community LinkHCL Software forums and blogs
  • About HCL Software
  • Privacy
  • Accessibility