官术网_书友最值得收藏!

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.
  2. Click on the How to do it... icon on the top row of the Standalone Application Settings dialog box.
  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.
  4. Use the buttons to the right of the Icon and Splash boxes to upload your images.
  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
主站蜘蛛池模板: 和林格尔县| 志丹县| 昭通市| 黄梅县| 木兰县| 临西县| 竹北市| 津市市| 扎兰屯市| 工布江达县| 潼关县| 丽江市| 漠河县| 巴楚县| 涟水县| 靖边县| 康平县| 揭阳市| 常熟市| 信阳市| 天峻县| 卢龙县| 和龙市| 新津县| 长顺县| 图木舒克市| 巴东县| 余庆县| 宁晋县| 南宫市| 襄垣县| 双城市| 台安县| 视频| 陕西省| 延津县| 湖口县| 呼玛县| 专栏| 凤庆县| 东海县|