(Android development uses widgets as well as programs. Many people will develop programs to use, but will not develop widgets to use. This post is to help you learn how to develop widgets for use. Thank you for your encouragement. First, let's briefly talk about the principle of Widgets. Widget is a tool to display information on the desktop, and also jump to a program by clicking the widget. The typical widget of the system is music, which is a built-in Android music player. This is a typical use of Widget app. That is, a program can be started through both Widget and App. Widgets are an AppWidgetProvider a UI interface display (many Intents are bound in advance). The information on the interface can be changed through program control. When you click the widget, the controls on the widget can only trigger the sending of an Intent, or publish a service startup notification. The AppWidgetProvider can intercept the Intent and perform corresponding management (such as displaying new information). Android development requires manual configuration of many xml files. This is about. Net development is a nightmare. This is probably the same as the average Java programmer. Net program. It's really tiring to develop Java, especially Android. You can see the source code and explain it against the source code.
WidgetApp.apk
WidgetApp.rar)