Book Image

Oracle APEX Cookbook : Second Edition

Book Image

Oracle APEX Cookbook : Second Edition

Overview of this book

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

Creating swipe events


If you want to create applications for mobile devices, you also might want to support touchscreen specific events like swiping and tap-and-hold. In APEX, it is possible to create such touchscreen events. We will show how to create a swipe left and a swipe right event with dynamic actions in an employee information page.

Getting ready

You need an existing jQuery Mobile Smartphone application to start with. Make sure you have access to the EMP and DEPT tables.

How to do it...

First we will create a page.

  1. In the Application Builder, go to the application you are working on and click on Create Page.

  2. In the User Interface radio group, select jQuery Mobile Smartphone.

  3. Click on Blank Page.

  4. Enter a page number or leave it to the default value and click on Next.

  5. Enter a name for the page, for example, Employee info and click on Next.

  6. Click on Finish.

    The page is created, now we will create an HTML region

  7. Click on Edit Page.

  8. In the Regions section, click on the Add icon (the + sign).

  9. Click...