Friday, June 21, 2013

Usbong Update (June 19, 2013): textFieldWithAnswer, textAreaWithAnswer, debug mode, and more

Hi everyone,
Here are the latest updates on Usbong.

A. Tasks accomplished:
+updated: Usbong icon (round edges = OK) 

+added: textFieldWithAnswer, textAreaWithAnswer
<task-node name="textFieldWithAnswer~Who is the founder of Usbong (nickname)?Answer=Mike">
  <transition to="textDisplay~Correct!" name="Yes"></transition> <transition to="textDisplay~Incorrect!" name="No"></transition>   
name="Any"></transition>
</task-node>

+fixed: in multiple checkboxes, if required num of ticks is 0, and user doesn't tick any, pressing next, then back, results to error.
--> solution: add try-catch statement if string is not an int

+fixed: debug mode (if TRUE, skip the screen)
--> multiple radio buttons = OK
--> textfield = OK
--> textfield with unit = OK
--> textfield numerical = OK
--> textarea = OK

B. Work-in-progress:
-Usbong FITS (Forest in the Sky)
--> site to upload and download usbong trees 

For now, you may download usbong trees here:

Place the .xml or .utree files into /sdcard/usbong/usbong_trees

C. Bluestacks
For those who are using Bluestacks (http://www.bluestacks.com/),
here are the steps to run Usbong and install usbong trees.

1) Download Bluestacks
--> works in XP, Vista, Win 7 (beta), Mac (beta)

Once Bluestacks is installed, press the magnifying glass (i.e. search for apps)
2) Download and install: Usbong
3) Download and install: File Manager
--> this is so that we can install usbong trees

To install usbong trees...
1) Put the usbong file in your computer
to: C:\ProgramData\BlueStacks\UserData\SharedFolder

If you can't find it, make sure that 
"Tools -> Folder Options -> View -> Show hidden files, folders, or drives" is enabled.

Once placed in the directory,open File Manager.
The file should now be in: /mnt/sdcard/bstfolder/BstSharedFolder 

2) To copy, Press "Multi", then select the file.
3) Press Copy, then Paste it to the new location.
In this case: /mnt/sdcard/usbong/usbong_trees

Refer to attachments for screenshots.

That's it!

Let me know if you encounter any issues.
Thanks Jerome D. for the help.

Finally, happy birthday, Jose Rizal.

Cheers,
Mike