ArticleDirectory
- Today, I received a registration confirmation letter from App Inventor for Android. I can use my Gmail to log on to App Inventor. As a result, I made several small examples according to the manual. App Inventor is very useful when used, saving a lot of programming and quickly building applications. However, there are still many restrictions on App Inventor, such as building only single-page programs and not suitable for building complex applications.
Today, I received a registration confirmation letter from App Inventor for Android. I can use my Gmail to log on to App Inventor. As a result, I made several small examples according to the manual. App Inventor is very useful when used, saving a lot of programming and allowing you to quickly build applications. Program . However, there are still many restrictions on App Inventor, such as building only single-page programs and not suitable for building complex applications. Design the interface in designer.
The designer is divided into four parts: viewer Editing Component, palette displaying all available components, components list displaying all components, uploaded image sounds, and other resource and properties attribute settings.
You can drag and drop the component to set its corresponding attributes in the attribute:
Edit event processing in blocks Editor:
All added components are listed in my blocks Editor:
Click the corresponding component to display the event corresponding to the component. For example, click button1 to display the following list:
The sample program provides a description of the above list:
L when... do... blocks define event handlers, that tell components what to do when something happens.
L call... blocks tell components to do things.
The following list is displayed in the blank area of the blocks editor. You can use these functions to implement logical control and parameter settings.
The final blocks is as follows:
Call implementation
Phonenumberpicker can extract contact information from the address book.
Phonecall is used to call
Canvas
Drag a canvas component to the viewer to process its touched and dragged events.
Blocks:
Layout management
App Inventor provides three la S. You can set attributes and drag components to the layout.
Program Packaging
In the designer, package for phone can be used to package programs, including downloading to a mobile phone and downloading to a computer.