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

 

Ai2LiveComplete – ListPicker style

Platform: Ai2LiveComplete

In this blog, I’ll show you:

  • How to change ListPicker style (appearance) and how the ListPicker items appear when the ListPicker is opened
  • How to easily sort the ListPicker items in ascending or descending order using with NO coding!

ListPicker style (appearance) can now easily be changed using its properties OR using the blocks. You can change the ListPicker style to Default, Light, Dialog or Translucent. Using the picker properties, simply click on the drop-down and select any of the available options. Please note that you can now have multiple ListPickers, each with their own unique styles!

ListPicker items style can also be changed through use of its designer properties OR using the blocks. The valid options are:

  • Default – the default look like MIT AI2
  • Right – During scrolling, elements fly from right-to-left (to their position)
  • Left – elements fly from left to their position
  • Bottom – elements fly from bottom to their position
  • BottomRight – elements fly from bottom-right to their position
  • Scale – elements zoom in from 0% to 100%
  • Alpha – elements gradually appear in the picker

ListPicker items sorting – you can now easily sort the items in ascending or descending with NO coding! Just use the property to specify the ordering type. You can also use the blocks for this. Below image illustrates these options and their associated values:

image

image

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

Mobile App Development

 
Leave a comment

Posted by on July 23, 2014 in Uncategorized

 

Ai2LiveComplete – Changing Application Name

Platform: Ai2LiveComplete

Have you ever wanted to change the Application Name that displays below the app-icon on the device? Did you want to give it custom app-name and remove the underscores or add in embedded spaces? Now this can be accomplished EASILY using Ai2LiveComplete. Under Screen1, just update the property “Application Name” and you are done!

image

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

Mobile App Development

 
Leave a comment

Posted by on July 23, 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

 
 
Follow

Get every new post delivered to your Inbox.

Join 210 other followers

%d bloggers like this: