Monday, 20 August 2012

Example Step4: Download Application onto Client

Thus far, have deployed an application named TestApp containing the Publication TEST with Publication items CATEGORIES and ITEMS. Access has been given to the user AA using Mobile Manager to this application. We will now install this application on to the device. By doing so, a SQLite database is created on the device containing two tables CATEGORIES and ITEMS.

Step 1: Install necessary applications
  • Ensure that your device can install non-marketplace applications. Go to Settings, Applications and ensure that "Unknown Sources" is selected.
  • Visit the URL <Mobile Server>:<port>/mobile/setup from the browser on your device. I used http://192.168.0.17:8080/mobile/setup
  • Choose SQLite Android and download it to your device. You should see a file named Setup.apk. Install this app. Provide the credentials for the user AA when prompted along with URL to the Mobile Server (use http:// in the URL, else it won't work)
  • You will automatically move into the installation of the next application named Oracle DMAgent
  • On one of the screens, you will provide information on the device for registration (I could not change the name of the device - not sure why)
  • At the end of this step, you should see three applications named Oracle Setup, Oracle DMAgent and Oracle Update installed on your device.
Update Screen Shots

Step 2:  Install the TestApp onto device
  • Launch Oracle Update and provide the credentials for user AA along with the URL to the Mobile Server
  • You should see a screen showing TestApp available as an update. Choose to install this by touching the name of the application
  • You will see confirmation that application has been installed
TestApp Screen Shots

Step 3: Validate 
  • Launch Mobile Sync application and click Sync
  • View the OSE.INI file. You should see some additional entries like QUEUES and LIMIT_CONNECTIONS
  • Use adb to view listing of the files on the SD Card
Validation Screen Shots

2 comments: