Search icon CANCEL
Subscription
0
Cart icon
Your Cart (0 item)
Close icon
You have no products in your basket yet
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
Oracle APEX Cookbook : Second Edition

You're reading from   Oracle APEX Cookbook : Second Edition Get straight into developing modern web applications, including mobile, using the recipes in this brilliant cookbook for Oracle Application Express (APEX). From the basics to more advanced features, it's a reference book and guide in one.

Arrow left icon
Product type Paperback
Published in Oct 2013
Publisher
ISBN-13 9781782179672
Length 444 pages
Edition Edition
Languages
Arrow right icon
Toc

Table of Contents (21) Chapters Close

Oracle APEX Cookbook Second Edition
Credits
About the Authors
About the Reviewers
www.PacktPub.com
Preface
1. Creating a Basic APEX Application 2. Themes and Templates FREE CHAPTER 3. Extending APEX 4. Creating Websheet Applications 5. APEX Plug-ins 6. Creating Multilingual APEX Applications 7. APEX APIs 8. Using Web Services 9. Publishing from APEX 10. APEX Environment 11. APEX Administration 12. Team Development 13. HTML5 and CSS3 14. Mobile 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...

lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at $19.99/month. Cancel anytime
Banner background image