by Hanly on May.20, 2010, under Code
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.
/**
* SyntaxHighlighter Verilog Brush
* http://hdelossantos.com/
*
* SyntaxHighlighter is donationware. If you are using it, please donate.
* http://alexgorbatchev.com/wiki/SyntaxHighlighter:Donate
*
* @version
* 1.0.0 (May 20, 2010)
*
* @copyright
* Copyright (C) 2010 Hanly De Los Santos.
*
* @license
* This file is a SyntaxHighlighter brush and is licensed under
* the same license as SyntaxHighlighter.
*
* SyntaxHighlighter is ...
(continue reading...)
:highlighter, plug-in, plugin, syntax, syntaxhighlighter, Verilog, wordpress
more...
by Hanly on Jan.07, 2010, under Tutorials
This tutorial will demonstrate how to use the database adapter created in "Creating a SQLite Database in Android" to add and get data to and from the database to populate a ListView.
DatabaseQuery.java :
We must first create a class to handle the formatting for the queries. The database adapter takes ArrayLists of String objetcs to add rows to the database, however you will probably want a method to add one cell at a time, then when the contents of the row are completed, add the entire row to the database. We begin by declaring the variables for the ArrayLists.
import java.util.ArrayList;
import android.content.Context;
import android.database.Cursor;
/**
* This class adds multiple entries to the database and pulls them back
* out.
*/
public class DatabaseQuery ...
(continue reading...)
:android, database, database adapter, howto, sqlite, step-by-step, tutorial, using database adapter, using dbadapter
more...