Part 3: Deploy and Test the Application
In this section of the tutorial, you deploy the application you've created and test it in the emulator.
Step 1: Create a Deployment Profile for the Emulator/Simulator

    In this part of the tutorial, you create a deployment profile for the Android Emulator or iOS Simulator you are deploying to. In this step the instructions and images are for the Android Emulator, but the same steps will work for the iOS Simulator.

  1. Start the emulator or simulator you wish to use.

    alt text
  2. In the menu, select the Application > Deploy > New Deployment Profile.

    alt text
  3. Select MAF Android as the Profile Type and keep the default name.
    Then click OK.

    alt text
  4. In the menu, select Application > Deploy > Android2.
    Then in the Deploy window, select Deploy application to emulator and click Finish.

    alt text
  5. Watch the Deployment window for the deployment to complete.

    alt text
Step 2: Test the Deployed Application

In this section, you open and run a web service that you will use in your application. You then create a data control based on the web service and consume the data control from your application.

  1. Find and invoke the SummitLocalDB application. It may be on the second page of applications.

    alt text
  2. After it loads you should see the records retrieved from the web service.

    alt text.
  3. To see the records retrieved from the local database, find the Settings icon and turn on airplane mode.

    alt text

    alt text
  4. Navigate back to the application, and click the Refresh button and the records retrieved from the local database will displayed.

    At this point the tutorial is complete.

    alt text
Bookmark Print Expand all | Hide all
Back to top
Copyright © 2014, Oracle and/or its affiliates. All rights reserved.