Tutorial App Inventor - Bhs Ing - PDF
Tutorial App Inventor - Bhs Ing - PDF
1. First, Open this page ai2.appinventor.mit.edu then u will show the page login gmail
2. Next Step, u will login with your account gmail, if u dont have account gmail, u can click link
sign up
3. The page will redirect to the page ai2.appinventor.mit.edu and u login as your account gmail,
then u click button continue in this window.
5. Please fill application name in the box. The name of project can not include space so u can
change with underscore
6. Then, the page will show features: palette, viewer, components, properties and screen screen1
7. Make a background in screen 1, u can select a menu background image and find file image in
your drive computer then click ok.
10. Drag the clock in the menu sensors in the screen for make splash screen in the android
application
11. Configure the timer/interval the clock, 3 second is same with 3000 interval
12. Then, u click menu blocks because before be position on the menu designer , in the blocks
menu, u can fill the function of the component application.
13. in the menu blocks there have a tab blocks, u can click the clock1 and select the function when
clock1.timer do and click the clock1 again then select the function set
clock1.timerEnabled.to
14. please click the control and select open another screen screenName then select the logic
false
15. Next Step, please click string text and fill the name of screen that u have, if your application
dont have the screen can make the screen with click button add screen
16. This is display of screen menu, u can drag a label in the screen .
17. U can give the background in screen, please select menu upload file in the properties window, if
u want use background with previously uploaded image u can select file type of image in the box
upload file
18. Drag layout HorizontalArrangement and drag user interface button in the screen and change
the text of the button
19. Next Step, give the name of user interface button with click user interface button and click
button rename
22. The screen will show the window new screen then give name of screen and select button ok
25. If want back in the screen menu, please click tab screen and select the name of screen
27. Then select a menu block to give a function of the user interface button
28. Click the button btnDictionary and select the function when btnDictionary.click do and select
control open another screen screenName
29. The next step please select text string to give a name of screen .
30. fill the name of screen that u select in the text string
31. in the screen of menu blocks will show the function that u created earlier.
32. different with button exit, because the exit button have function to close the application so
please change the function with select control close application
The Result :
35. Upload file of image with select a menu picture in the tab properties
36. Then please find file type of image that u want upload.
37. Next step select the image in the your drive computer
38. This is, size of default image in the screen so the image need to set the width and height size of
image in the menu height and width in tab properties
40. The next step please give text in the button with click the button and fill the word in the menu
text in tab properties
41. The next step is please drag layout horizontalarragement and user interface button and
image in accordance with the previous steps.
42. Giving the name of component user interface in your created earlier in the button rename
43. To set the layout position to the right position then select the menu alignHorizontal and select
the selection option right
After
Before
44. Utilizing TextToSpeech that is used to convert text into audio and make 2 TextToSpeech then
drag to the screen.
47. For the English language, country and language keyword is 'eng', whereas, for the German
language, country and language keyword is 'deu'
48. for TextToSpeech Indonesian language not supported so the alternative to give audio with
Indonesia language can use media player.
icon player
result :
53. The next step is click media textToSpeech and select function call TextToSpeech1.speak
message
The Result:
55. For duplicate function click left pointer and select duplicate
The Result:
Result :
Result :
63. Upload the image to change the background on screen 'video_player' and select the file to be
uploaded
65. Select the video player on the media tab and drag it to the screen
66. Select the user interface button and drag it into the screen
68. Then give the name of the button by clicking the Rename button
69. Upload the video in the source menu in the Properties tab
70. How to upload a file there are two kinds can choose the file upload button to upload the new
files or take video previously uploaded
List files previously uploaded images
71. If you want to upload a new file select button to upload the file and select the file on a computer
drive
74. After the uploader's finished open the menu 'blocks' and then select the function btnPlay click
'when btnPlay.Click do'
75. Then select the video media player 1 and select the function "call videoplayer1.start '
The Result:
76. Once the program is finished then save it in the drive computer with a select menu 'build' and
select the option 'app (save.apk to my computer)'
Tampilan Icon: