Create the application is very easy but create the excellent application is not easy. I want to share the experience for you. If you have any question or other experience you want to share with us, please reply here.
- You must understand the usage of the API if you want to use.
- At least you should know why you use this API.
- If you are in the activity, you must understand the life cycle of activity.
- If you are in the service, you must understand the life cycle of service.
- If you can not understand the explain from Android official website, you should directly check the source code of framework.
- You must consider the ANR problem.
- You can refer to http://developer.android.com/guide/practices/design/responsiveness.html.
- If you want to do any operation that may consume much time, you must consider it and don’t just do it in main thread.
- You can use log more smart.
- You should use the flag to control your log.
- Log level is very useful.
- Just need to show the key log in the shipped software.
- You must remove unnecessary code of this application.
- Same as item 1, if you don’t understand what you do, the best solution is DON’T USE IT.
Hello, just wanted to say, I loved this blog post. It was practical.
ReplyDeleteKeep on posting!
my site make money online