Intro


The following document describes the set of steps to allow using RPM Software’s mobile apps by users with Microsoft Windows 10 devices. It uses the official Android emulator provided by Google for app development.


The guide is split into three sections:


  1. Downloading custom scripts to launch and install the app inside the emulator

  2. Installing and setting up the android emulator

  3. Launching emulators and installing the app


Downloading custom scripts to launch and install the app inside the emulator

Download AppOnWindows.zip and unarchive it to the Desktop and save the folder as windows-app-offline. This archive contains all the scripts and files necessary for installing and launching the app inside the emulator.


Installing and setting up the android emulator

Download the Android Studio 2.3.3 installer from https://developer.android.com/studio/index.html and follow the screens to install.


Choose all the components to install:


Configure the paths (leave the defaults). 

Important: copy the Android SDK Instiallation Location as it will be necessary in a future step.

Make sure that Start Android Studio is checked before clicking Finish.


Do not import any settings if you do not have a previous version of Android Studio.


Android Studio Setup Wizard. Use Standard setup which is recommended for most users. The setup with download more required files so this may take a bit of time.


Select Open an existing Android Studio project


Navigate to the Test folder inside the archive downloaded on the first step.


Wait for Android Studio to load the test project and then open the AVD Manager (Tools > Android > AVD Manager)


If you do not see Android or AVD Manager under Tools, you can also click the  icon from the toolbar:


Click on Create Virtual Device...


Select Nexus 5X


Click Download on Android O and follow the on screen instructions and wait for it to download.


Once the download is finished select Android O and click Next.


Name the device VirtualDevice and click Finish


After you see VirtualDevice on your list of virtual devices, under Actions click the down arrow and Wipe Data.


After that close all Android Studio windows.



Click New… under User variables not System variables.

Launching emulators and installing the app

After installing Android Studio and configuring the virtual device use the 2 scripts available in the archive to launch the emulator and install the app inside the virtual device. (The archive is available for download)


  1. launch-emulator - this script will start the emulator and run the virtual device created in the previous step.

  2. Install-app - this script will install the app (cube-x.y.z.apk) into the virtual device. Run this only once whenever a new app has to be installed.



After the app is installed use the virtual device to launch the app.


This is a workaround to get the app running on an emulated environment on a Windows device. There may be limited functionality of the app such as adding attachments to a form.