Search icon CANCEL
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Conferences
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
LiveCode Mobile Development Cookbook

You're reading from   LiveCode Mobile Development Cookbook 90 practical recipes for creating cross-platform mobile applications with the power of LiveCode

Arrow left icon
Product type Paperback
Published in Sep 2014
Publisher
ISBN-13 9781783558827
Length 256 pages
Edition 1st Edition
Languages
Arrow right icon
Author (1):
Arrow left icon
Dr. Edward Lavieri Jr. Dr. Edward Lavieri Jr.
Author Profile Icon Dr. Edward Lavieri Jr.
Dr. Edward Lavieri Jr.
Arrow right icon
View More author details
Toc

Table of Contents (12) Chapters Close

Preface 1. LiveCode Mobile Basics FREE CHAPTER 2. Human-computer Interfaces 3. Loops and Timers 4. Managing Text 5. Communications 6. Data Structures 7. External Media 8. Using MobGUI 9. Using Animation Engine 10. Miscellaneous Index

Defining icons and images for Android development

When we develop apps for Android devices, we must provide specifically formatted icon and splash screen images. Because of the different orientations (portrait and landscape) and screen sizes, several different versions of each image (icon and splash screen) are required.

Getting ready

External graphic creation and editing software is required to create the original graphics as well as to export them in the proper sizes.

How to do it...

The icons and images for Android development are defined using the following steps:

  1. Select the Standalone Application Settings... option from the File drop-down menu.
    How to do it...
  2. Click on the How to do it... icon on the top row of the Standalone Application Settings dialog box.
    How to do it...
  3. Ensure that the checkbox next to the Android build option is checked. Once you select this option, a checkmark will appear in the box and the remaining options will be editable. Until you select this option, all options are disabled.
    How to do it...
  4. Use the buttons to the right of the Icon and Splash boxes to upload your images.
    How to do it...
  5. Ensure that your icon image is 72 x 72 and in the PNG format.
  6. You only need to upload a splash screen image if you are using a personal or educational LiveCode license. If you are using a commercial license, you do not need to upload a splash screen image. If the image is required, it should be a 600 x 600 PNG file. This splash image will be displayed on the Android screen for 5 seconds when a personal or educational license is used to develop the app.

How it works...

Pointing the file-selection window to the icon and splash screen is easy work. LiveCode does not present you with an error message if you attempt to upload an image with incorrect dimensions. So, be careful to upload the properly sized images. The files you select are embedded in your app's binary and are used when uploading it to the Google Play and Amazon Appstore.

See also

  • The Setting up your mobile environment for Android development recipe
  • The Defining icons and images for iOS development recipe
You have been reading a chapter from
LiveCode Mobile Development Cookbook
Published in: Sep 2014
Publisher:
ISBN-13: 9781783558827
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 €18.99/month. Cancel anytime