Building a simple android app (no prior programming knowledge needed) – Shake and Speak by mokluc

View this thread on steempeak.com
· @mokluc ·
$19.76
Building a simple android app (no prior programming knowledge needed) – Shake and Speak
I decided to write this blog to show Steemers how easy it is to build your own android mobile app. I can assure you that you do not necessarily need to have any programming knowledge. I even started teaching my little daughter how to write this mobile apps…well because the fun and every thing looks like fitting a puzzle.
- - -
## The idea of this mobile app is *SPEAK* the words the user inputs into the text box when the mobile phone is *SHAKEN*.

All you need is to have your Google email account…login. Then search for **[MIT App inventor 2]( http://ai2.appinventor.mit.edu/)**

https://picload.org/image/rarpwidl/app.jpg

Note the website might request permission to link your email or remember the email, just click. This will be your landing page, well yours the will not be any projects then simply click:

https://picload.org/image/rarpwilr/new.jpg

1: *Start new project*
2: Type the name of the project *Steemit_speak* (name it anything you want)
3: Click *Ok*

https://picload.org/image/rarpwici/accelerometer.jpg

On the left hand side go to Sensor and select Accelerometer and grad to the phone. Since accelerometer is a phone feature/sensor it will not form part of the things displayed on the screen hence it move to the Non-visible components. 

https://i.stack.imgur.com/BfeAy.jpg
Well what is an accelerometer? Ever wondered why when you turn your phone and the screen orientation changes? Well is controlled by the accelerometer…well with the accelerometer you can then do some cool designs like my: [Android phone accelerometer controlled Remote Car]( https://steemit.com/technology/@mokluc/android-phone-accelerometer-controlled-remote-car)
In order for the phone to speak the words typed, under *Media* drag and drop *Text-to-speech* feature.

https://picload.org/image/rarpwipl/speech.jpg

To let the user input their own text, under *User-interface* drag and drop *Textbox* which will now appear on the screen then on its *Properties* I selected *Fill parent* for its *Width*...

https://picload.org/image/rarpwpag/speak.jpg

Well you may play around with *Properties* and change colors and do your own customized design. I then selected the screen and changed the *Title* to Steemit* and also added a background.

https://picload.org/image/rarpwpwl/background.jpg
- - -
# Coding/Blocks

## Let's get to the fun part, call all your kids and lets program...Select *Blocks* on the top right hand corner.

https://picload.org/image/rarpwwrr/clickacc.jpg

On the left you will see all the components you added earlier then click accelerometer then select *Accelerometer.Shaking* block and also *Text-to-Speak* speak message:

https://picload.org/image/rarpwwrw/speech2.jpg

Then lastly select the source of the typed *Text* to be spoken...remember our *Textbox*:

https://picload.org/image/rarpwwai/done.jpg

# The code in simple english: When *Accelerometer* is *Shaking*, *Do call *Text to speech* to say the *message* from *Textbox*.

**WE DONE...**you just  wrote a high level Java coding by just fitting in the puzzles...all the coding is behind the scene. You must admit that was fun.
- - -
# Save the final mobile app
Simply save the mobile app your computer as an **APK** file.

https://picload.org/image/rarpwwoi/apk.jpg

https://picload.org/image/rarpwwia/save.jpg

Then upload it into your android mobile phone and install it as unknown source (since is not yet on Google play store).
- - -
# Shake and Speak
https://picload.org/image/rarpwwpc/phone.png

## Simply type any word on the app textbox (I typed Steemit) and just shake the phone to speak the text (make sure the volume is up)....Call the kids...have fun.
- - -
### If you need more tutorials let me know and will add more on how to interface with Bluetooth, Wifi, IoT, Home automation and many other cool projects. Also check out "My Arduino fun projects"
https://media.giphy.com/media/F0M5HYrDY5Fkc/giphy.gif
👍  , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , and 114 others
properties (23)
post_id1,454,662
authormokluc
permlinkbuilding-a-simple-android-app-no-prior-programming-knowledge-needed-shake-and-speak
categoryhowto
json_metadata"{"app": "steemit/0.1", "format": "markdown", "links": ["http://ai2.appinventor.mit.edu/", "https://steemit.com/technology/@mokluc/android-phone-accelerometer-controlled-remote-car"], "image": ["https://picload.org/image/rarpwidl/app.jpg"], "tags": ["howto", "til", "technology", "programming"]}"
created2016-11-30 07:15:48
last_update2016-11-30 07:15:48
depth0
children6
net_rshares46,642,129,006,196
last_payout2016-12-31 13:30:30
cashout_time1969-12-31 23:59:59
total_payout_value15.720 SBD
curator_payout_value4.035 SBD
pending_payout_value0.000 SBD
promoted0.000 SBD
body_length3,904
author_reputation42,548,954,077,680
root_title"Building a simple android app (no prior programming knowledge needed) – Shake and Speak"
beneficiaries[]
max_accepted_payout1,000,000.000 SBD
percent_steem_dollars0
author_curate_reward""
vote details (178)
@doitvoluntarily ·
great info
👍  
properties (23)
post_id1,454,675
authordoitvoluntarily
permlinkre-mokluc-building-a-simple-android-app-no-prior-programming-knowledge-needed-shake-and-speak-20161130t071815865z
categoryhowto
json_metadata"{"tags": ["howto"]}"
created2016-11-30 07:18:15
last_update2016-11-30 07:18:15
depth1
children1
net_rshares0
last_payout2016-12-31 13:30:30
cashout_time1969-12-31 23:59:59
total_payout_value0.000 SBD
curator_payout_value0.000 SBD
pending_payout_value0.000 SBD
promoted0.000 SBD
body_length10
author_reputation728,152,294,256,151
root_title"Building a simple android app (no prior programming knowledge needed) – Shake and Speak"
beneficiaries[]
max_accepted_payout1,000,000.000 SBD
percent_steem_dollars10,000
author_curate_reward""
vote details (1)
@mokluc ·
Thanks @doitvoluntarily
👍  
properties (23)
post_id1,454,681
authormokluc
permlinkre-doitvoluntarily-re-mokluc-building-a-simple-android-app-no-prior-programming-knowledge-needed-shake-and-speak-20161130t071945651z
categoryhowto
json_metadata"{"users": ["doitvoluntarily"], "tags": ["howto"]}"
created2016-11-30 07:19:45
last_update2016-11-30 07:19:45
depth2
children0
net_rshares0
last_payout2016-12-31 13:30:30
cashout_time1969-12-31 23:59:59
total_payout_value0.000 SBD
curator_payout_value0.000 SBD
pending_payout_value0.000 SBD
promoted0.000 SBD
body_length23
author_reputation42,548,954,077,680
root_title"Building a simple android app (no prior programming knowledge needed) – Shake and Speak"
beneficiaries[]
max_accepted_payout1,000,000.000 SBD
percent_steem_dollars10,000
author_curate_reward""
vote details (1)
@steemboost ·
http://i376.photobucket.com/albums/oo203/baret98/approved.gif 
Thank you for your request to include this post in the STEEM BOOSTER list! The post is approved because you powered up minimum 100 STEEM in the last 24 h and you are not currently powering down!
👍  ,
properties (23)
post_id1,454,851
authorsteemboost
permlinkre-mokluc-building-a-simple-android-app-no-prior-programming-knowledge-needed-shake-and-speak-20161130t080824262z
categoryhowto
json_metadata"{"image": ["http://i376.photobucket.com/albums/oo203/baret98/approved.gif"], "tags": ["howto"]}"
created2016-11-30 08:08:24
last_update2016-11-30 08:08:24
depth1
children0
net_rshares490,377,377
last_payout2016-12-31 13:30:30
cashout_time1969-12-31 23:59:59
total_payout_value0.000 SBD
curator_payout_value0.000 SBD
pending_payout_value0.000 SBD
promoted0.000 SBD
body_length257
author_reputation4,501,252,062,061
root_title"Building a simple android app (no prior programming knowledge needed) – Shake and Speak"
beneficiaries[]
max_accepted_payout1,000,000.000 SBD
percent_steem_dollars10,000
author_curate_reward""
vote details (2)
@surpassinggoogle ·
but can it be uploaded to playstore? #steemitisbeautiful
👍  
properties (23)
post_id1,458,881
authorsurpassinggoogle
permlinkre-mokluc-building-a-simple-android-app-no-prior-programming-knowledge-needed-shake-and-speak-20161130t215309428z
categoryhowto
json_metadata"{"tags": ["steemitisbeautiful", "howto"]}"
created2016-11-30 21:53:09
last_update2016-11-30 21:53:09
depth1
children2
net_rshares0
last_payout2016-12-31 13:30:30
cashout_time1969-12-31 23:59:59
total_payout_value0.000 SBD
curator_payout_value0.000 SBD
pending_payout_value0.000 SBD
promoted0.000 SBD
body_length56
author_reputation508,940,095,151,809
root_title"Building a simple android app (no prior programming knowledge needed) – Shake and Speak"
beneficiaries[]
max_accepted_payout1,000,000.000 SBD
percent_steem_dollars10,000
author_curate_reward""
vote details (1)
@mokluc ·
Yes it can. ..easy
👍  
properties (23)
post_id1,460,831
authormokluc
permlinkre-surpassinggoogle-re-mokluc-building-a-simple-android-app-no-prior-programming-knowledge-needed-shake-and-speak-20161201t033519222z
categoryhowto
json_metadata"{"tags": ["howto"]}"
created2016-12-01 03:35:27
last_update2016-12-01 03:35:27
depth2
children1
net_rshares0
last_payout2016-12-31 13:30:30
cashout_time1969-12-31 23:59:59
total_payout_value0.000 SBD
curator_payout_value0.000 SBD
pending_payout_value0.000 SBD
promoted0.000 SBD
body_length18
author_reputation42,548,954,077,680
root_title"Building a simple android app (no prior programming knowledge needed) – Shake and Speak"
beneficiaries[]
max_accepted_payout1,000,000.000 SBD
percent_steem_dollars10,000
author_curate_reward""
vote details (1)
@surpassinggoogle ·
i am adding this as a reply as it is important to me. it is a post that is important to me as well. i would you to read and possibly leave me feedback:
https://steemit.com/curie/@surpassinggoogle/finally-i-have-found-out-who-i-am-on-steemit-and-how-to-fully-add-to-the-beauty-of-the-steemit-community
👍  
properties (23)
post_id1,466,411
authorsurpassinggoogle
permlinkre-mokluc-re-surpassinggoogle-re-mokluc-building-a-simple-android-app-no-prior-programming-knowledge-needed-shake-and-speak-20161201t224550891z
categoryhowto
json_metadata"{"links": ["https://steemit.com/curie/@surpassinggoogle/finally-i-have-found-out-who-i-am-on-steemit-and-how-to-fully-add-to-the-beauty-of-the-steemit-community"], "tags": ["howto"]}"
created2016-12-01 22:45:51
last_update2016-12-01 22:45:51
depth3
children0
net_rshares0
last_payout2016-12-31 13:30:30
cashout_time1969-12-31 23:59:59
total_payout_value0.000 SBD
curator_payout_value0.000 SBD
pending_payout_value0.000 SBD
promoted0.000 SBD
body_length300
author_reputation508,940,095,151,809
root_title"Building a simple android app (no prior programming knowledge needed) – Shake and Speak"
beneficiaries[]
max_accepted_payout1,000,000.000 SBD
percent_steem_dollars10,000
author_curate_reward""
vote details (1)