Posted by Hanly on May 20, 2010 in Blog, Code | 1 comment
I was trying to add some sample Verilog code on my website, but the code syntax highlighter I use did not have a brush. I made my own Verilog brush for Alex Gorbatchev’s SyntaxHighlighter. Feel free to modify and improve the code. The only thing that I ask is that you share the modifications.
...
read more
Posted by Hanly on Dec 23, 2009 in Blog, Featured, Tutorials | 23 comments
This example will show you how to create a somewhat abstracted SQLite adapter on Android. This adapter can then be utilized by your program to do common database functions such as, querying and searching. I start by creating the class DBAdapter in my Android project and declaring the variable data necessary to create the database.
EDIT: The code has been modified since it originally assumed that...
read more
Posted by Hanly on Oct 10, 2009 in Blog, Computer Engineering, Computer Science, Sample Work | 7 comments
A week ago, for my mobile device programming class, I had to add text-to-speech and speech-to-text capabilities to a freely available Android program called Twitta. The features I added were very crudely superimposed on the Twitta interface, therefore this edit is by no means polished or intended for production usage.
There are 3 button “S”, “X”, and “R”....
read more
Posted by Hanly on Mar 15, 2009 in Blog, Computer Science | 0 comments
Program requests and reads in exactly one character, which represents an exponent. If the value is acceptable, then the program reads in another value. The program calculates the base 2 power between the user input values, and then stores the calculated values in an array. It then prints the values in the array.
# Assignment 3: Powers of 2 Assembly utilizing Array
# by Hanly De Los Santos
#...
read more
Posted by Hanly on Mar 1, 2009 in Blog, Computer Science | 0 comments
Program requests and reads in exactly one character, which represents an exponent. The program calculates the base 2 power, and then prints the calculated value.
# Assignment 2: Powers of 2 Assembly
# by Hanly De Los Santos
# Copyright ©2009, Hanly De Los Santos. All Rights Reserved.
# http://www.hdelossantos.com
#
# Program requests and reads in exactly one character,
# which represents an...
read more