Sign In Start Free Trial
Account

Add to playlist

Create a Playlist

Modal Close icon
You need to login to use this feature.
  • Book Overview & Buying Oracle APEX Cookbook : Second Edition
  • Table Of Contents Toc
Oracle APEX Cookbook : Second Edition

Oracle APEX Cookbook : Second Edition

4.6 (7)
close
close
Oracle APEX Cookbook : Second Edition

Oracle APEX Cookbook : Second Edition

4.6 (7)

Overview of this book

Table of Contents (21 chapters)
close
close
Oracle APEX Cookbook Second Edition
Credits
About the Authors
About the Reviewers
www.PacktPub.com
Preface
1
Index

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 labeled as 1.

  5. Click on Next.

  6. Click on Finish.

  7. Click on Edit Page.

    We will now add two items to show the coordinates. We assume that the page number for the page we created in the previous steps of this recipe is 4. Change if necessary.

  8. Right-click on the...

Visually different images
CONTINUE READING
83
Tech Concepts
36
Programming languages
73
Tech Tools
Icon Unlimited access to the largest independent learning library in tech of over 8,000 expert-authored tech books and videos.
Icon Innovative learning tools, including AI book assistants, code context explainers, and text-to-speech.
Icon 50+ new titles added per month and exclusive early access to books as they are being written.
Oracle APEX Cookbook : Second Edition
notes
bookmark Notes and Bookmarks search Search in title playlist Add to playlist font-size Font size

Change the font size

margin-width Margin width

Change margin width

day-mode Day/Sepia/Night Modes

Change background colour

Close icon Search
Country selected

Close icon Your notes and bookmarks

Confirmation

Modal Close icon
claim successful

Buy this book with your credits?

Modal Close icon
Are you sure you want to buy this book with one of your credits?
Close
YES, BUY

Submit Your Feedback

Modal Close icon
Modal Close icon
Modal Close icon