10 tips for building excellent professional Android apps with Firemonkey

Source: Internet
Author: User
Tags home screen

Original link: http://www.firemonkeyx.com/ten-tips-for-building-stunning-professional-android-apps-with-firemonkey/

This article has simplified the original text.

# 1, using SSL secure data connection

If you are using Rese or tidhttp components in your mobile app, you should use SSL to encrypt your connection to keep your users ' data safe. or use TurboPower LockBox New, the free data encryption component, to encrypt your data.

# 2, using data compression

It is important to reduce the cost of mobile service providers due to data usage. If you do any HTTP connection to the Web server application, you should enable gzip compression from your Firemonkey client. This also has an open source compression library file available.

# 3, save the shortcut to the main screen after installation

If you want users to quickly find your app after you install it for the first time, then you should add a shortcut to the home screen. The user can delete it or delete it automatically when the app is uninstalled.

# 4. Create and deploy your own app icon

You will need to create some different icon sizes to deploy your application and upload it to the App Store. Four major app stores (Google, Apple, Amazon, and Samsung) have their own icon size requirements. Here's a free utility.

# 5, responding to application activation and inactive system events

When your application life cycle changes events occur, such as finishedlaunching, Becameactive, and Enteredbackground. The user multitasking action causes these events to occur. You should add these event responses to your application and take the necessary action. There is also a free component for you to use.

# 6, display the control that gets the focus when the virtual keyboard is displayed

If the virtual keyboard pops up, your Memo or Edit control, the bottom half of the device screen you need to implement a solution that allows you to scroll the lower half into the viewable area. Delphi has a program called Scrollableform that demonstrates how to do this.

# 7. Make your mobile app respond to progress dialog box

If the user must wait for your app to be working, you should display a local progress or Activity dialog box to prove that the application is responding. Work with your program and seamlessly connect to the foreground progress dialog.

# 8. Check if the connection is available before attempting to connect to the network

Before attempting to connect to the Internet, you should check whether the user has a connection available. If there is no connection, your application can notify the user of processing.

# 9, Processing Android hardware button

Android devices have a back button that you should handle in your app.

# 10. Automatically save session state

Delphi XE7 has a new event called Tform.onsavestate, which is triggered when your program is going to be dormant. You can save your current state to JSON and then restore it when it loads again.

http://www.qdac.cc/?p=1873

10 tips for building excellent professional Android apps with Firemonkey

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.