O'Reilly logo

Oracle APEX Cookbook - Second Edition by Marcel Van Der Plas, Michel Van Zoest

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Using jQuery Mobile to fetch current GPS location

Other than the features that can be used declaratively, APEX offers the possibility to call jQuery Mobile code directly. This recipe will show how to do that by creating a page with GPS coordinates for the longitude and latitude of the device on which the application is run.

Getting ready

For this recipe, you will need a jQuery Mobile Smartphone application, like the one we created earlier in this chapter.

How to do it...

First we have to have a page that can hold the items.

  1. In the Application Builder go to the application and click on Create Page.
  2. Select Blank Page and click on Next.
  3. Enter a number for the new page and click on Next.
  4. Name the page GPS and add one HTML Region by entering GPS at the item ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required