RSS

Promote your Service/Event through our blog

Interested in promoting or Announcing your service or Event through our blog? If so, then fill in THIS form and we will evaluate your request.

Check my About page HERE for training/consulting

 
Leave a comment

Posted by on May 2, 2014 in Uncategorized

 

AiLiveComplete – Removing ListPicker Elements

In this video I’ll show you the enhancement that I will be incorporating into AiLive ListPicker. Using this feature, you’ll be able to delete a ListPicker element by swiping it horizontally. This feature is just like the Android Gmail Swipe-To-Delete. To see it in action, watch the video below.

Looking for AiLiveComplete? See here: http://Amerkashi.Wordpress.com/news

Mobile App Development

 
1 Comment

Posted by on July 3, 2014 in Uncategorized

 

TinyDB – Clear Tags with certain text / prefix

TinyDB is used to store persistent data directly on the Android device; this is useful for highly personalized apps where the user won’t need to share her
data with another device.

You may find yourself using a common prefix for the key. For example, TAG_TOTAL_May2014 or TAG_TOTAL_APR2014. In these cases, the common prefix TAG_TOTAL is used.

image

Above is a common coding practice used to store related data. For this, you may also find yourself needing to clear ALL data that contain the related data. For example, clearing all data that start (or contain) TAG_TOTAL. To accomplish this, you can use the following:

image

  • The GetTags, returns a list of all TinyDB tags.
  • The “for each” is used to loop through the list and for each iteration, assigns the next TinyDB tag to the variable item
  • Next the if control statement is used to test and see if the item (database tag) contains the prefix (or the text) that we are looking for.
  • If it does, we use ClearTag to clear or database tag

Looking for AiLiveComplete? See here: http://Amerkashi.Wordpress.com/news

Mobile App Development

 
Leave a comment

Posted by on June 29, 2014 in Uncategorized

 

AI Screen Manipulation

This video shows you how to manipulate App Inventor screens. It shows you how to:

  1. HowTo copy screens: e.g. Copy Screen1 to AuthorsScreen
  2. HowTo rename screens. e.g. rename AuthorsScreen to CatalogScreen
  3. HowTo change order of screens; e.g. make CatalogScreen to be the start-up (initial screen)
    1. Follow Step2 above to rename Screen1 to ScreenX
    2. Follow Step2 above to rename CatalogScreen to Screen1
    3. Follow Step2 above to rename ScreenX to NewScreenName

Looking for AiLiveComplete? See here: http://Amerkashi.Wordpress.com/news

Mobile App Development

 
1 Comment

Posted by on June 10, 2014 in Uncategorized

 

Setup offline version of AI

Release – Offline version of MIT AI2 – June 7th, 2014

Ai2Offline_07Jun14.zip This is the replica version of MIT App Inventor. However, it can be run offline without Internet connection. This version is built based on MIT latest version on June 4, 2014. 

  • It includes the performance updates and fixes for the large project lagging
  • It also includes minor update to YandexTranslate component which allows you to enter your own Yandex API Key.  This update was done because the offline version will not work IF you don’t enter an API key. Request Yandex API Key here: http://api.yandex.com/key/form.xml?service=trnsl

image

Get offline version here: https://sourceforge.net/projects/ailivecomplete/files

Get info about full version here: http://amerkashi.wordpress.com/news

Mobile App Development

 
Leave a comment

Posted by on June 7, 2014 in Uncategorized

 

Tips&Tricks – Capitalizing 1st Letter of Every Word

It was asked how you could capitalize 1st letter of every word in a sentence.

Below is a procedure that can take any sentence and will capitalize first letter of every word. For this, I have created a procedure-with-return called “capitalize”. The procedure accepts an argument “text”, performs some functions and then returns a result. This means we can invoke the procedure and pass it some Text data, and then expect it to return a result. When invoked, the “capitalize” procedure

  1. Initializes a global variable “varTemp”
  2. It then uses the “split at spaces” block to split the Text into pieces separated by spaces (i.e. splits into words). Once split, it will assign the List to “item” variable
  3. Next, we use a for-each block to loop through the newly created list of words. For each word,
    1. Using “segment” we extract 1st letter of the word and convert it to upper case
    2. Using “segment” we extract rest of the word starting 2nd position
    3. We join (i.e. concatenate) varTemp (see 1)  + 3.i + 3.ii and add a blank space to the end
  4.  Once the loop is completed, we use “trim” to get rid of last blank space and then return the result to the caller

image

 

 

Variation


Update above procedure to use local-variable instead of global. For purpose of tutorial, to keep blocks presentation simpler, global variable was used. Try to use a local-variable for the procedure.

 

Mobile App Development

 
Leave a comment

Posted by on May 20, 2014 in Uncategorized

 

Release – Offline version of MIT AI2 – May 18, 2014

Offline version of MIT AI2 was just released and can be found HERE
Ai2Offline_18May14.zip This is the replica version of MIT App Inventor. However, it can be run offline It was built based on MIT latest version on May 18, 2014 It includes new components such as:

  • File,
  • ListView,
  • Spinner,
  • DatePicker,
  • TimePicker
  • YandexTranslator

This version also includes enhancements such as:

  • Button TouchDown / TouchUp
  • TextToSpeech: Added a pitch and rate control

Mobile App Development

 
5 Comments

Posted by on May 19, 2014 in Uncategorized

 

YandexTranslator translation of text strings

You can now translate text between languages using the YandexTranslator component. You can also use the TextToSpeech to have it spoken in the translated language.

For example, you can have a sentence translated from English to French and have it spoken in French using the TextToSpeech. The blocks below show how you can accomplish this translation service. The first block translates from English (en) to French (fre). Once the translation service is invoked, the GotTranslation block will be invoked. In that block, the language and country codes are setup and we then use the TextToSpeech component to speak the translation.

image

NOTE for AiLiveComplete:


 

If you are using AiLiveComplete, you’ll have to request an API key from Yandex HERE and. You will also note that for this platform, there is a property and blocks for specifying the key. If the key is not used, then translation will not go through and you will receive an error during translation. To specify key, use the property or the blocks like below:

image

 
Mobile App Development

 
16 Comments

Posted by on May 19, 2014 in Uncategorized

 
 
Follow

Get every new post delivered to your Inbox.

Join 197 other followers

%d bloggers like this: