<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/' xmlns:blogger='http://schemas.google.com/blogger/2008' xmlns:georss='http://www.georss.org/georss' xmlns:gd="http://schemas.google.com/g/2005" xmlns:thr='http://purl.org/syndication/thread/1.0'><id>tag:blogger.com,1999:blog-968981962594554831</id><updated>2024-09-10T08:38:56.192-07:00</updated><category term="android"/><category term="android app"/><category term="app inventor"/><category term="htc"/><category term="incredible s"/><category term="singapore"/><category term="battery"/><category term="battery life"/><category term="google"/><category term="iphone"/><category term="1700mah"/><category term="andida"/><category term="app"/><category term="apple"/><category term="boolean"/><category term="calculator"/><category term="call time"/><category term="charge"/><category term="clock"/><category term="component"/><category term="development"/><category term="email"/><category term="extended"/><category term="facebook"/><category term="froyo"/><category term="hellopurr UI"/><category term="icloud"/><category term="if-then-else"/><category term="invert"/><category term="ios4"/><category term="li-ion"/><category term="logic"/><category term="long lasting"/><category term="loop"/><category term="mac"/><category term="obostore"/><category term="phone"/><category term="practice"/><category term="programming"/><category term="project"/><category term="repeat"/><category term="simple"/><category term="sms"/><category term="sound"/><category term="surf web"/><category term="toggle"/><category term="tutorial"/><category term="wwdc"/><title type='text'>My Android Phone and App Inventor</title><subtitle type='html'></subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://learnappinventor.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/968981962594554831/posts/default?redirect=false'/><link rel='alternate' type='text/html' href='http://learnappinventor.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><author><name>in.the.net</name><uri>http://www.blogger.com/profile/12857544084338356812</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>6</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>25</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-968981962594554831.post-5563307186180225024</id><published>2011-06-07T05:35:00.000-07:00</published><updated>2011-06-07T05:35:36.319-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="android"/><category scheme="http://www.blogger.com/atom/ns#" term="apple"/><category scheme="http://www.blogger.com/atom/ns#" term="google"/><category scheme="http://www.blogger.com/atom/ns#" term="icloud"/><category scheme="http://www.blogger.com/atom/ns#" term="ios4"/><category scheme="http://www.blogger.com/atom/ns#" term="iphone"/><category scheme="http://www.blogger.com/atom/ns#" term="mac"/><category scheme="http://www.blogger.com/atom/ns#" term="wwdc"/><title type='text'>Apple iOS5 and iCloud</title><content type='html'>&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiJ_0ER0LcXe8AAowiKa4QKTciYJA2psmNGRPLwKCnZJdDtBZ9UCokv38V9cdleoSgrEOkgojXflzkuLZTo1AuOuB3zwTRtN0vyLb7hZXxSQxPuS77pQBnqPLpUMemD2DUT3qLRQh9XK-jF/s1600/ios.png&quot; imageanchor=&quot;1&quot; style=&quot;clear: left; float: left; margin-bottom: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;76&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiJ_0ER0LcXe8AAowiKa4QKTciYJA2psmNGRPLwKCnZJdDtBZ9UCokv38V9cdleoSgrEOkgojXflzkuLZTo1AuOuB3zwTRtN0vyLb7hZXxSQxPuS77pQBnqPLpUMemD2DUT3qLRQh9XK-jF/s320/ios.png&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Read about the new features of iOS5 and iCloud from today&#39;s WWDC.&lt;br /&gt;
&lt;br /&gt;
They have a new notification centre in iOS5. To me, this is exactly what the Android has been offering since day one.&lt;br /&gt;
The iCloud syncs your contacts, settings, music, video, and apps from your idevices to the cloud and vice versa. Isn&#39;t that also what the google sync is already offering?&lt;br /&gt;
&lt;br /&gt;
I have yet to see a killer feature from the two iProducts..</content><link rel='replies' type='application/atom+xml' href='http://learnappinventor.blogspot.com/feeds/5563307186180225024/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://learnappinventor.blogspot.com/2011/06/apple-ios5-and-icloud.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/968981962594554831/posts/default/5563307186180225024'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/968981962594554831/posts/default/5563307186180225024'/><link rel='alternate' type='text/html' href='http://learnappinventor.blogspot.com/2011/06/apple-ios5-and-icloud.html' title='Apple iOS5 and iCloud'/><author><name>in.the.net</name><uri>http://www.blogger.com/profile/12857544084338356812</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiJ_0ER0LcXe8AAowiKa4QKTciYJA2psmNGRPLwKCnZJdDtBZ9UCokv38V9cdleoSgrEOkgojXflzkuLZTo1AuOuB3zwTRtN0vyLb7hZXxSQxPuS77pQBnqPLpUMemD2DUT3qLRQh9XK-jF/s72-c/ios.png" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-968981962594554831.post-8594783875555325879</id><published>2011-06-04T08:35:00.000-07:00</published><updated>2011-06-04T08:35:24.135-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="android"/><category scheme="http://www.blogger.com/atom/ns#" term="android app"/><category scheme="http://www.blogger.com/atom/ns#" term="app inventor"/><category scheme="http://www.blogger.com/atom/ns#" term="calculator"/><category scheme="http://www.blogger.com/atom/ns#" term="practice"/><category scheme="http://www.blogger.com/atom/ns#" term="project"/><category scheme="http://www.blogger.com/atom/ns#" term="simple"/><category scheme="http://www.blogger.com/atom/ns#" term="tutorial"/><title type='text'>A simple calculator</title><content type='html'>I haven&#39;t finished the project yet. Only managed to do the addition function. The rest should be very similar.&lt;br /&gt;
I created a procedure called &quot;buttonpressed&quot; to process the numbers each time the buttons are pressed. See screen captures which are self-explanatory.&lt;br /&gt;
&lt;br /&gt;
(A) Defining the global variables&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhDppH3crNZHllPm7Czeq0WZrYxAQ6Spk1DG5FLdxtoWpxuBs9GwS0IS6flVadLDSITHO29aTe29VFvb8tuhUiqjd67TMLEaSgSatSISd34uvW-LUxcSxzgpb9BfX4o6vMtW7wBSvnd2p-A/s1600/Variables.JPG&quot; imageanchor=&quot;1&quot; style=&quot;clear: left; float: left; margin-bottom: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhDppH3crNZHllPm7Czeq0WZrYxAQ6Spk1DG5FLdxtoWpxuBs9GwS0IS6flVadLDSITHO29aTe29VFvb8tuhUiqjd67TMLEaSgSatSISd34uvW-LUxcSxzgpb9BfX4o6vMtW7wBSvnd2p-A/s1600/Variables.JPG&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp;(B) Calling the &quot;ButtonPressed&quot; procedure each time a number button is pressed:&lt;br /&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiMkagYLdF82K2evE4TCMxQI_jntimFFRLmJL7ecAPOEX2GkkaT5A0FrFYcopXMuW5qY32DOtOyp-NoHTxPtS5PBmXOnRM8UWwaBMu9o7yF0azp1t0j10hOLumPfMn3Lspcblm3fs7Hkiy0/s1600/NumberButtons.JPG&quot; imageanchor=&quot;1&quot; style=&quot;clear: left; float: left; margin-bottom: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiMkagYLdF82K2evE4TCMxQI_jntimFFRLmJL7ecAPOEX2GkkaT5A0FrFYcopXMuW5qY32DOtOyp-NoHTxPtS5PBmXOnRM8UWwaBMu9o7yF0azp1t0j10hOLumPfMn3Lspcblm3fs7Hkiy0/s1600/NumberButtons.JPG&quot; /&gt;&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp; (C) The &quot;ButtonPressed&quot; procedure&lt;br /&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgGyZvvuD3nFHlc9vxqLn_U5wQUHbEJ0PVPyLZxLiNMOU3Jnm0_lCNWwU35fyU_kZD_p5vhFfVotvfg-ku9GHsvhOYVZ7ythkLkJYohKi4vULB7rM0CotmcGwfY4KAEtSE7RDgMLg0BJMn6/s1600/Procedure_ButtonPressed.jpg&quot; imageanchor=&quot;1&quot; style=&quot;clear: left; float: left; margin-bottom: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;296&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgGyZvvuD3nFHlc9vxqLn_U5wQUHbEJ0PVPyLZxLiNMOU3Jnm0_lCNWwU35fyU_kZD_p5vhFfVotvfg-ku9GHsvhOYVZ7ythkLkJYohKi4vULB7rM0CotmcGwfY4KAEtSE7RDgMLg0BJMn6/s400/Procedure_ButtonPressed.jpg&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
(D) Other buttons like the &quot;Plus&quot;, &quot;Equal&quot; and &quot;AC&quot; buttons: &lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjOIQMh8HyeCyUTfR4WguKeNL5bfgCY6LJPQNmsH0XG90sxgDyf1u7RdiMXlS1qBVHTTKA6px69VK8xTeo7K2iJ3tZrpWFmjYrNkyikEkbKgiud47GtM3TZFHtj0vm-z5Hd5xxgjGriYriQ/s1600/ButtonACPressed.JPG&quot; imageanchor=&quot;1&quot; style=&quot;clear: left; float: left; margin-bottom: 1em; margin-right: 1em;&quot;&gt;&lt;/a&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEisi4zAEXwIqlD4zrjfget_5qIj6GqPrKyxOBf9XVkG4PfcY2S5-P8MClZ4IdLxtcCqIMsczcPFpBmfdyr9YrkKZ10NWoiL8bmS-oaIWWotAnSc_Dtt_mFLJ-MbGWkW978vjpRGksugi_QP/s1600/ButtonPlusPressed.JPG&quot; imageanchor=&quot;1&quot; style=&quot;clear: left; float: left; margin-bottom: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;185&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEisi4zAEXwIqlD4zrjfget_5qIj6GqPrKyxOBf9XVkG4PfcY2S5-P8MClZ4IdLxtcCqIMsczcPFpBmfdyr9YrkKZ10NWoiL8bmS-oaIWWotAnSc_Dtt_mFLJ-MbGWkW978vjpRGksugi_QP/s320/ButtonPlusPressed.JPG&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEisi4zAEXwIqlD4zrjfget_5qIj6GqPrKyxOBf9XVkG4PfcY2S5-P8MClZ4IdLxtcCqIMsczcPFpBmfdyr9YrkKZ10NWoiL8bmS-oaIWWotAnSc_Dtt_mFLJ-MbGWkW978vjpRGksugi_QP/s1600/ButtonPlusPressed.JPG&quot; imageanchor=&quot;1&quot; style=&quot;clear: left; float: left; margin-bottom: 1em; margin-right: 1em;&quot;&gt;&lt;/a&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjz_UysJ0va1HtQoGkTUmKv6qz26ouvHkcnp5qkvm6BzmPFnQ3c5vtP3EMa9vHFJG1st2z69p2mLlD9kbMS3X7vl_crGBXFtBlPOrvAMw31Gg_HIOTKrmf1pQ8tUX7XoyV1kYIrd0mdKfvW/s1600/ButtonEqualPressed.JPG&quot; imageanchor=&quot;1&quot; style=&quot;clear: left; float: left; margin-bottom: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;179&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjz_UysJ0va1HtQoGkTUmKv6qz26ouvHkcnp5qkvm6BzmPFnQ3c5vtP3EMa9vHFJG1st2z69p2mLlD9kbMS3X7vl_crGBXFtBlPOrvAMw31Gg_HIOTKrmf1pQ8tUX7XoyV1kYIrd0mdKfvW/s320/ButtonEqualPressed.JPG&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjOIQMh8HyeCyUTfR4WguKeNL5bfgCY6LJPQNmsH0XG90sxgDyf1u7RdiMXlS1qBVHTTKA6px69VK8xTeo7K2iJ3tZrpWFmjYrNkyikEkbKgiud47GtM3TZFHtj0vm-z5Hd5xxgjGriYriQ/s1600/ButtonACPressed.JPG&quot; imageanchor=&quot;1&quot; style=&quot;clear: left; float: left; margin-bottom: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjOIQMh8HyeCyUTfR4WguKeNL5bfgCY6LJPQNmsH0XG90sxgDyf1u7RdiMXlS1qBVHTTKA6px69VK8xTeo7K2iJ3tZrpWFmjYrNkyikEkbKgiud47GtM3TZFHtj0vm-z5Hd5xxgjGriYriQ/s1600/ButtonACPressed.JPG&quot; /&gt;&lt;/a&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://learnappinventor.blogspot.com/feeds/8594783875555325879/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://learnappinventor.blogspot.com/2011/06/simple-calculator.html#comment-form' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/968981962594554831/posts/default/8594783875555325879'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/968981962594554831/posts/default/8594783875555325879'/><link rel='alternate' type='text/html' href='http://learnappinventor.blogspot.com/2011/06/simple-calculator.html' title='A simple calculator'/><author><name>in.the.net</name><uri>http://www.blogger.com/profile/12857544084338356812</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhDppH3crNZHllPm7Czeq0WZrYxAQ6Spk1DG5FLdxtoWpxuBs9GwS0IS6flVadLDSITHO29aTe29VFvb8tuhUiqjd67TMLEaSgSatSISd34uvW-LUxcSxzgpb9BfX4o6vMtW7wBSvnd2p-A/s72-c/Variables.JPG" height="72" width="72"/><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-968981962594554831.post-6092698186039283348</id><published>2011-06-03T08:02:00.000-07:00</published><updated>2011-06-03T20:01:51.621-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="android"/><category scheme="http://www.blogger.com/atom/ns#" term="android app"/><category scheme="http://www.blogger.com/atom/ns#" term="app inventor"/><category scheme="http://www.blogger.com/atom/ns#" term="boolean"/><category scheme="http://www.blogger.com/atom/ns#" term="clock"/><category scheme="http://www.blogger.com/atom/ns#" term="component"/><category scheme="http://www.blogger.com/atom/ns#" term="if-then-else"/><category scheme="http://www.blogger.com/atom/ns#" term="invert"/><category scheme="http://www.blogger.com/atom/ns#" term="logic"/><category scheme="http://www.blogger.com/atom/ns#" term="loop"/><category scheme="http://www.blogger.com/atom/ns#" term="repeat"/><category scheme="http://www.blogger.com/atom/ns#" term="singapore"/><category scheme="http://www.blogger.com/atom/ns#" term="sound"/><category scheme="http://www.blogger.com/atom/ns#" term="toggle"/><title type='text'>More exercises on App Inventor</title><content type='html'>In the last post, i talked about getting my first android app &quot;Hellopurr&quot; to work. It was really a breeze.&lt;br /&gt;
While playing with some ideas, a colleague asked if a short sound clip could be made to sound repeatedly when a button is pressed, and to stop playing the clip when the same button is pressed again.&lt;br /&gt;
Writing an &quot;If-then-else&quot; statement in the when.button.click event causes the button to be stuck in an endless loop. The &quot;meow&quot; from the cat kept going on and on non-stop and it triggered some uninvited comments from the boss! I had to quickly reboot the phone to get the &quot;meow&quot; out from the loop. Gosh!&lt;br /&gt;
&lt;br /&gt;
Did some googling and found that the problem can be solved with a button and a clock component.&lt;br /&gt;
&lt;br /&gt;
I don&#39;t think i can explain that well enough in words. I have done a screen capture of the blocks editor:&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgSwuvQfGyrB6MRwJudv3c3Rh23tqGUVpjU_R_LuDLCuAz7v32bMLSuoqIhFglifHBgylN4jtXfSVmz4cx0Fk6tFwW4pwHYO8GoS3TCmVoQimbEyOj9eqtW9Y8e8Ya-HAMNYliuUqC59BF5/s1600/blockseditor.JPG&quot; imageanchor=&quot;1&quot; style=&quot;clear: left; float: left; margin-bottom: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;285&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgSwuvQfGyrB6MRwJudv3c3Rh23tqGUVpjU_R_LuDLCuAz7v32bMLSuoqIhFglifHBgylN4jtXfSVmz4cx0Fk6tFwW4pwHYO8GoS3TCmVoQimbEyOj9eqtW9Y8e8Ya-HAMNYliuUqC59BF5/s320/blockseditor.JPG&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div style=&quot;text-align: left;&quot;&gt;&lt;/div&gt;&lt;div style=&quot;text-align: left;&quot;&gt;&lt;/div&gt;&lt;div style=&quot;text-align: left;&quot;&gt;&lt;/div&gt;&lt;div style=&quot;text-align: left;&quot;&gt;&lt;/div&gt;&lt;div style=&quot;text-align: left;&quot;&gt;&lt;/div&gt;&lt;div style=&quot;text-align: left;&quot;&gt;&lt;/div&gt;&lt;div style=&quot;text-align: left;&quot;&gt;&lt;/div&gt;&lt;div style=&quot;text-align: left;&quot;&gt;&lt;/div&gt;&lt;div style=&quot;text-align: left;&quot;&gt;&lt;/div&gt;&lt;div style=&quot;text-align: left;&quot;&gt;&lt;/div&gt;&lt;div style=&quot;text-align: left;&quot;&gt;&lt;/div&gt;&lt;div style=&quot;text-align: left;&quot;&gt;&lt;/div&gt;&lt;div style=&quot;text-align: left;&quot;&gt;&lt;/div&gt;&lt;div style=&quot;text-align: left;&quot;&gt;&lt;/div&gt;&lt;div style=&quot;text-align: left;&quot;&gt;&lt;/div&gt;&lt;div style=&quot;text-align: left;&quot;&gt;&lt;/div&gt;&lt;div style=&quot;text-align: left;&quot;&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
a. A boolean variable &quot;sound&quot; is defined.&lt;/div&gt;&lt;div style=&quot;text-align: left;&quot;&gt;&lt;/div&gt;&lt;div style=&quot;text-align: left;&quot;&gt;b. Under the &quot;do&quot; section of&amp;nbsp; &quot;when Button1.Click&quot; component, invert the variable &quot;sound&quot;. This achieves the toggling function of the button.&amp;nbsp;&lt;/div&gt;&lt;div style=&quot;text-align: left;&quot;&gt;&lt;/div&gt;&lt;div style=&quot;text-align: left;&quot;&gt;c. Under the &quot;do&quot; section of &quot;when Clock1.Timer&quot; component, a &quot;if-then-else&quot; statement is used. Basically, what it does is, to check the state of the variable &quot;sound&quot;. If it is &quot;true&quot;, then play the sound clip, if it is &quot;false&quot;, then stop it.&lt;/div&gt;&lt;div style=&quot;text-align: left;&quot;&gt;&lt;/div&gt;&lt;div style=&quot;text-align: left;&quot;&gt;d. The clock component will repeat itself every 1000 milliseconds.&lt;/div&gt;&lt;div style=&quot;text-align: left;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://learnappinventor.blogspot.com/feeds/6092698186039283348/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://learnappinventor.blogspot.com/2011/06/more-exercises-on-app-inventor.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/968981962594554831/posts/default/6092698186039283348'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/968981962594554831/posts/default/6092698186039283348'/><link rel='alternate' type='text/html' href='http://learnappinventor.blogspot.com/2011/06/more-exercises-on-app-inventor.html' title='More exercises on App Inventor'/><author><name>in.the.net</name><uri>http://www.blogger.com/profile/12857544084338356812</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgSwuvQfGyrB6MRwJudv3c3Rh23tqGUVpjU_R_LuDLCuAz7v32bMLSuoqIhFglifHBgylN4jtXfSVmz4cx0Fk6tFwW4pwHYO8GoS3TCmVoQimbEyOj9eqtW9Y8e8Ya-HAMNYliuUqC59BF5/s72-c/blockseditor.JPG" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-968981962594554831.post-2501202769009151145</id><published>2011-06-03T07:41:00.000-07:00</published><updated>2011-06-03T08:09:22.955-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="android"/><category scheme="http://www.blogger.com/atom/ns#" term="android app"/><category scheme="http://www.blogger.com/atom/ns#" term="app"/><category scheme="http://www.blogger.com/atom/ns#" term="app inventor"/><category scheme="http://www.blogger.com/atom/ns#" term="development"/><category scheme="http://www.blogger.com/atom/ns#" term="google"/><category scheme="http://www.blogger.com/atom/ns#" term="hellopurr UI"/><category scheme="http://www.blogger.com/atom/ns#" term="htc"/><category scheme="http://www.blogger.com/atom/ns#" term="incredible s"/><category scheme="http://www.blogger.com/atom/ns#" term="programming"/><category scheme="http://www.blogger.com/atom/ns#" term="singapore"/><title type='text'>First hand on App Inventor</title><content type='html'>&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;a href=&quot;http://appinventor.googlelabs.com/static/images/appinventor_logo.gif&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;http://appinventor.googlelabs.com/static/images/appinventor_logo.gif&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;
&lt;br /&gt;
I have never thought that I would be doing this.&lt;br /&gt;
Yes, I have done some pascal and c++ programming in my polytechnic and uni days more than 12 years ago. Nothing much on the visual stuffs. So, this is something challenging for me.&lt;br /&gt;
&lt;br /&gt;
While having my usual coffee breaks with my colleagues, I was told about the simplicity of programming an android app using google&#39;s very own App Inventor.&amp;nbsp; If you are interested, you can read about it from here:&lt;br /&gt;
&lt;a href=&quot;http://appinventor.googlelabs.com/learn/gettingstarted.html&quot;&gt;http://appinventor.googlelabs.com/learn/gettingstarted.html&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
There are some tutorials at the site to get you started.&lt;br /&gt;
&lt;br /&gt;
I took me about 15 minutes to the PC and phone set up for some serious development work. :)&lt;br /&gt;
Another 15 minutes to get familiarized with the development UI. And 10 minutes for the first android app - &quot;HelloPurr&quot;!&lt;br /&gt;
&lt;br /&gt;
Amazing! Barely an hour to get my first app running on my htc phone without any problem!</content><link rel='replies' type='application/atom+xml' href='http://learnappinventor.blogspot.com/feeds/2501202769009151145/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://learnappinventor.blogspot.com/2011/06/first-hand-on-app-inventor.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/968981962594554831/posts/default/2501202769009151145'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/968981962594554831/posts/default/2501202769009151145'/><link rel='alternate' type='text/html' href='http://learnappinventor.blogspot.com/2011/06/first-hand-on-app-inventor.html' title='First hand on App Inventor'/><author><name>in.the.net</name><uri>http://www.blogger.com/profile/12857544084338356812</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-968981962594554831.post-7414475980440567403</id><published>2011-06-03T07:29:00.000-07:00</published><updated>2011-06-03T08:09:39.774-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="1700mah"/><category scheme="http://www.blogger.com/atom/ns#" term="andida"/><category scheme="http://www.blogger.com/atom/ns#" term="battery"/><category scheme="http://www.blogger.com/atom/ns#" term="battery life"/><category scheme="http://www.blogger.com/atom/ns#" term="extended"/><category scheme="http://www.blogger.com/atom/ns#" term="htc"/><category scheme="http://www.blogger.com/atom/ns#" term="incredible s"/><category scheme="http://www.blogger.com/atom/ns#" term="li-ion"/><category scheme="http://www.blogger.com/atom/ns#" term="long lasting"/><category scheme="http://www.blogger.com/atom/ns#" term="obostore"/><category scheme="http://www.blogger.com/atom/ns#" term="singapore"/><title type='text'>Extended battery for HTC Incredible S</title><content type='html'>&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhbzTwM5wOgpsoESjr4fL2bQeGGmyeG_-Pn2JW0ztcFowHQDZ8JmIMF9xWLElZVdPdbwW_d4eZ_hCCS9M2eOD-ZZlXBkiuUjNuEnR-C6s2YkWPBxTbfiHe7GlDzkp1IBq_O1RO2fVPifW93/s1600/1700_incredible_s1.JPG&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;150&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhbzTwM5wOgpsoESjr4fL2bQeGGmyeG_-Pn2JW0ztcFowHQDZ8JmIMF9xWLElZVdPdbwW_d4eZ_hCCS9M2eOD-ZZlXBkiuUjNuEnR-C6s2YkWPBxTbfiHe7GlDzkp1IBq_O1RO2fVPifW93/s200/1700_incredible_s1.JPG&quot; width=&quot;200&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;
&lt;br /&gt;
Got an extended battery online from obostore. Its a 1700mAh battery from Andida. Price is reasonable at USD8.99 with free shipping. International shipping to most locations in the world.&lt;br /&gt;
Anyway, it look about 7 days to reach Singapore.&lt;br /&gt;
I am evaluating its performance now. Stay tuned.</content><link rel='replies' type='application/atom+xml' href='http://learnappinventor.blogspot.com/feeds/7414475980440567403/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://learnappinventor.blogspot.com/2011/06/extended-battery-for-htc-incredible-s.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/968981962594554831/posts/default/7414475980440567403'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/968981962594554831/posts/default/7414475980440567403'/><link rel='alternate' type='text/html' href='http://learnappinventor.blogspot.com/2011/06/extended-battery-for-htc-incredible-s.html' title='Extended battery for HTC Incredible S'/><author><name>in.the.net</name><uri>http://www.blogger.com/profile/12857544084338356812</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhbzTwM5wOgpsoESjr4fL2bQeGGmyeG_-Pn2JW0ztcFowHQDZ8JmIMF9xWLElZVdPdbwW_d4eZ_hCCS9M2eOD-ZZlXBkiuUjNuEnR-C6s2YkWPBxTbfiHe7GlDzkp1IBq_O1RO2fVPifW93/s72-c/1700_incredible_s1.JPG" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-968981962594554831.post-3246557512851095874</id><published>2011-06-03T07:10:00.000-07:00</published><updated>2011-06-03T07:10:16.088-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="android"/><category scheme="http://www.blogger.com/atom/ns#" term="battery"/><category scheme="http://www.blogger.com/atom/ns#" term="battery life"/><category scheme="http://www.blogger.com/atom/ns#" term="call time"/><category scheme="http://www.blogger.com/atom/ns#" term="charge"/><category scheme="http://www.blogger.com/atom/ns#" term="email"/><category scheme="http://www.blogger.com/atom/ns#" term="facebook"/><category scheme="http://www.blogger.com/atom/ns#" term="froyo"/><category scheme="http://www.blogger.com/atom/ns#" term="htc"/><category scheme="http://www.blogger.com/atom/ns#" term="incredible s"/><category scheme="http://www.blogger.com/atom/ns#" term="iphone"/><category scheme="http://www.blogger.com/atom/ns#" term="phone"/><category scheme="http://www.blogger.com/atom/ns#" term="sms"/><category scheme="http://www.blogger.com/atom/ns#" term="surf web"/><title type='text'>Got my first android phone</title><content type='html'>Got my first android phone on the 27th Apr 2011.&lt;br /&gt;
It is a HTC Incredible S in Froyo.&lt;br /&gt;
Battery life seems a little weak. For the first two weeks or so, battery died by 5:30pm. Usage pattern as follows:&lt;br /&gt;
a. Immediately put on the charger when I reached home at about 7pm.&lt;br /&gt;
b. Charged through the night&lt;br /&gt;
c. Unplugged the charger at 7am in the morning.&lt;br /&gt;
d. Checked a few emails in the morning.&lt;br /&gt;
e. Send a few SMSes in the moring.&lt;br /&gt;
f. Not more than 1 hour of call time during the day.&lt;br /&gt;
g. Surfed about 10 - 15 minutes of web&lt;br /&gt;
h. Spent approx 20 minutes on Facebook&lt;br /&gt;
Used to have an iPhone 3GS. Its battery definitely lasted longer than that. &lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEisxr46VD0i5k_vuGJwcqpSnOca9pJ1EdvYYDgywbP8ZPYZBQaFqdE9G4zWDVdZWzfLhEAWQNDyKHYcm9hcmsdTpzhzsicRuNSxd32-nqqpSKOxHLWf5Lll_wZ6d7qPcWmHQS9kPvlFk3lR/s1600/size.jpg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEisxr46VD0i5k_vuGJwcqpSnOca9pJ1EdvYYDgywbP8ZPYZBQaFqdE9G4zWDVdZWzfLhEAWQNDyKHYcm9hcmsdTpzhzsicRuNSxd32-nqqpSKOxHLWf5Lll_wZ6d7qPcWmHQS9kPvlFk3lR/s1600/size.jpg&quot; /&gt;&lt;/a&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://learnappinventor.blogspot.com/feeds/3246557512851095874/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://learnappinventor.blogspot.com/2011/06/got-my-first-android-phone.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/968981962594554831/posts/default/3246557512851095874'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/968981962594554831/posts/default/3246557512851095874'/><link rel='alternate' type='text/html' href='http://learnappinventor.blogspot.com/2011/06/got-my-first-android-phone.html' title='Got my first android phone'/><author><name>in.the.net</name><uri>http://www.blogger.com/profile/12857544084338356812</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEisxr46VD0i5k_vuGJwcqpSnOca9pJ1EdvYYDgywbP8ZPYZBQaFqdE9G4zWDVdZWzfLhEAWQNDyKHYcm9hcmsdTpzhzsicRuNSxd32-nqqpSKOxHLWf5Lll_wZ6d7qPcWmHQS9kPvlFk3lR/s72-c/size.jpg" height="72" width="72"/><thr:total>0</thr:total></entry></feed>