A window will pop up to let you choose the image file. Step 1b.To make the button have an image of a cat, in the Properties pane, under Image, click on the text "None." and click "Upload New" (#2). From the User Interface palette, drag and drop the Button component to Screen1 (#1). HelloPurr will have a Button component that displays the image of the kitty you downloaded earlier. Steps for selecting components and setting properties To view and change the properties of a component (#3 below), you must first select the desired component in your list of components. When you add a component to the Viewer (#1 below), it will also appear in the components list on the right hand side of the Viewer.Ĭomponents (#2 below) have properties that can be adjusted to change the way the component appears or behaves within the app. To use a component in your app, you need to click and drag it onto the Viewer in the middle of the Designer. Other components are more elaborate: a drawing Canvas that can hold still images or animations, an Accelerometer sensor that works like a Wii controller and detects when you move or shake the phone, components that send text messages, components that play music and video, components that get information from websites, and so on. Some components are very simple, like a Label component, which just shows text on the screen, or a Button component (#1 left) that you tap to initiate an action. They're like the ingredients in a recipe. Components are the basic elements you use to make apps on a phone or tablet. The App Inventor Components are located on the left hand side of the Designer Window under the title Palette. Meow sound: meow.mp3 (Right-click and Save).Kitty picture: kitty.png (Right-click and Save). #HELLO KITTY PNG DOWNLOAD#Download these files to your computer by right-clicking on the following links and selecting "Save Link As." Save both files onto your desktop or downloads folder, or anywhere that you can easily find later. To build HelloPurr, you'll need an image file of a cat and an audio file with a "meow" sound. You will create a button that has a picture of a cat on it, and then program the button so that when it is clicked a "meow" sound plays. HelloPurr is a simple app that you can build in a very short time. (See Setup Instructions if you do not have these things setup.) HelloPurr: Tap the Kitty, Hear Him Meow At this point, you should have the Designer or Blocks Editor open in your browser, and either an Android/iPhone device or an emulator connected to your project. Now that you've set up your computer and device, and you've learned how the Designer and the Blocks Editor work, you are ready to build the HelloPurr app.
0 Comments
|
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |