Hi, my second post will be about usage of slide component at app inventor 2.
Slider is a component that its value change by the position. We can define the max. and min. value.
I took a label and slider from user interface and put them in to a VerticalArrangement that taken from layout.
When we change the slide its value will change and then label will change. If the thumb position is lower than 25 label will be “b” and if the thumb position is higher than 25 label will be “a”
Program output at screen.
Today i hope i will create my first android application. As i said, i never intented to make
an android application before but i always curious about it. I will use app inventor to build.
App inventor created by google and now it is developing by MIT so the programme is called now by MIT App Inventor (2).
Firstly, i worked online but my wi-fi are is restricted so i searched any possibility about working offline, now i am using offline and application’s emulator to see my programme’s working.
Secondly, i wanna mention about documents on the web. Generally all applications are same, like; barcode application, playing sound, etc. But i think we should learn the basics step by step like; using buttons,etc.
Finally, we can start my first application. Purpose of this applicaion is to learn the usage of buttons.
I dragged two buttons and one label from “user interface” at left side and dropped to “Viever”. And also used “Tablearrangement” from “layout”. Layout helps us to keep items on together.
Then, i switched my screen from “designer” to “blocks” at right up side. After these i created a variable named “total1”, it keeps the number that will increased/decreased by buttons.
Later on, i connected the emulator from connect -> Emulator.
Here our emulator screen.
In my previous post i mentioned my system’s basics. Now i will show my project’s presentation video.
It is not in English but you can understand how it works.
Earlier i mentioned that it has two modes. One of rmanual another for automatic. You can choose this modes from screen.
If you want to quit just press the stop button.
You can see the distances and coordinates of the object at the manual mode.