OBDX SERVICING APPLICATION

This document includes following topics:

1.1 Prerequisites

OBDX Android App is supported on Android 6 and above versions.

18.1 App will not work for Android 5 and below versions

Mobile App Builder-Android

Mobile App Builder-Android

Mobile App Builder-Android

1.2 1.2 Create project

Mobile App Builder-Android

Mobile App Builder-Android

 

Mobile App Builder-Android

Mobile App Builder-Android

Mobile App Builder-Android

Mobile App Builder-Android

Mobile App Builder-Android

1.3 Adding UI to workspace

Use any 1 option below

Extract unbuilt UIClosed User Interface and traverse to OBDX_Installer/installables/ui/channel/_build folder and perform below steps

Windows –

npm install -g grunt-cli
npm install
set OBDX_IS_GRUNT=true
node render-requirejs/render-requirejs.js mobile
npm install cwebp-bin

Copy "vendor" directory from _build/node_modules/cwebp-bin/ to _build/node_modules/grunt-cwebp/node_modules/cwebp-bin

grunt --max_old_space_size=5120 androidbuild --platform=android && node 
component.js && node integrity-generator.js && node listComponents.js

Linux -

sudo npm install -g grunt-cli
sudo npm install
export OBDX_IS_GRUNT=true
node render-requirejs/render-requirejs.js mobile
sudo npm install cwebp-bin

Copy "vendor" directory from _build/node_modules/cwebp-bin/ to _build/node_modules/grunt-cwebp/node_modules/cwebp-bin

node --max_old_space_size=5120 $(which grunt) androidbuild --platform=android && node component.js && node 
integrity-generator.js && node listComponents.

Copy folders (as shown in below image) from newly created dist folder to workspace (platforms/android/app/android/app/src/main/assets/www/)

Delete originations folder inside images (images/originations) and ensure webhelp folder is not copied.

Also delete files: \assets\www\framework\js\libs\oraclejet\js\libs\jquery\jquery-3.3.1.min.js

Mobile App Builder-Android

1.4 Importing in Android Studio

Open Android Studio

Mobile App Builder-Android

As shown below

Mobile App Builder-Android

Mobile App Builder-Android

Back