Oracle Magazine, September/October 2017
Developer MOBILE ORACLE MAGAZINE SEPTEMBER OCTOBER 2017 74 cd OraMagDemo rd s src This creates the application scaffold Note that you just deleted the src directory of the application leaving the raw scaffold for adding new code 7 Now download the prebuilt application source code zip file and unzip it Copy the unzipped src directory into the OraMagDemo directory using Windows Explorer 8 Within the unzipped src directory locate and open the src js mcsconfig js file in a text editor and from the Too Much of a Good Thing articles steps copy the values from Step 5 to Step 8 into the mcsconfig js files annotated locations Then save the file TESTING THE VANILLA APP With the previous steps completed you are now ready to test the vanilla application before you include Sync Express 9 Issue the following command in the command line window grunt serve platform android The application runs and displays the employees data extracted from the remote Oracle Mobile Cloud Service API One feature of the app is the pull to refresh the list view Data on the screen is updated via another remote call to the Oracle Mobile Cloud Service custom API Because the employees details dont change frequently refreshing the data wont often result in a visible change to the list But in a moment when you start to
You must have JavaScript enabled to view digital editions.