O'Reilly logo

LiveCode Mobile Development Cookbook by Dr. Edward Lavieri

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

Querying web data

In this recipe, we will load a web page into the memory and search for specific text to be displayed. Specifically, we will load this book's web page to the Packt Publishing website and find the Who this book is for section.

How to do it...

Follow the steps in this recipe to pull data from a web page, format it, and display it to the user in your mobile app:

  1. Open LiveCode and create a new main stack.
  2. Set the background color of the stack's card to black.
  3. Drag a button to the card and set the following properties using the property inspector:
    • Name: btn_Start
    • Label: Start
    • Width: 82
    • Height: 23
    • Location: 57, 37
    • backgroundColor: White
    • threeD: Keep this unchecked
    • border: Keep this unchecked
  4. Drag a scrolling field to the card and set the following ...

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