My First App

by tomas.solar in Circuits > Mobile

617 Views, 1 Favorites, 0 Comments

My First App

Design.PNG

Hi,

this is my first mobile app using the MIT App inventor (appinventor.mit.edu).

The purpose of the app is to localize the user, show current position on map and send it via text message.

On the first screenshot you can see the elements on the screen.

Blocks.PNG

Here is the "code".

It consist of several blocks which we will have a look in next steps.

Code1.PNG

The First block is response for transfering geolocation data from location sensor to screen controls.

It also resolves current address based on the user location.

Map Update

Code2.PNG

The second block is event handler fpr the refresh button.

It updates the map with the current user position.

Send SMS

Code3.PNG

The 3rd block formats current address, longitude and latitude to a message and initates a new text message.

Phone Screenshot

Screenshot.png