Hdelossantos.com

Technology

Using a SQLite Database in Android

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.
(continue reading…)

7 Comments :, , , , , , , , more...

Quick and easy Android HTTP POST of JSON string

by Hanly on Dec.24, 2009, under Tutorials

There are several ways to send data across the internet to a server on the Android. I was recently working on a project and needed to send a JSON string to the server to add data to a database. Additionally in certain cases I wanted to receive data back from the server. The fastest and easiest way to do this was to use HTTP POST android library and capture the response from the server using a response handler. On the server side the response was simply generated by echoing a JSON string.
(continue reading…)

2 Comments :, , , , , , , , , , more...

Creating a SQLite database in Android

by Hanly on Dec.23, 2009, under Tutorials

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 a key option would be passed for every key. It will now work if no key options are passed. Additionally, “null” can also be passed to it if no key options are desired.

(continue reading…)

8 Comments :, , , , , , more...

I’ve earned my Android Badge :)

by Hanly on Nov.08, 2009, under Computer Science, Technology

After having been developing Android applications for 2 months I like to think that I have earned my Android badge. Last week at the SHPE conference I was given an android sticker at the Google booth, which now adorns my laptop.

My Laptop's Android

Of course calling myself a developer makes me think of:

Leave a Comment :, , , more...

Programming in the Big Screen

by Hanly on Feb.22, 2009, under School, Technology

Projected EclipseLast weekend I had a programming assignment due and David my roommate had checked out a projector to watch movies on. While everyone left for a party I stayed by myself programming…yes very geeky. Even geekier was what I decided to do. I hooked up the projector to my computer, projected it on the wall, and took my mouse and keyboard to the futon. I fired up eclipse and started to program. After a few hours of staring at the projection I went out into the hallway and everything looked so dim and yellow. In the end I finish my programming assignment and got an A on it.

Leave a Comment : more...

Looking for something?

Use the form below to search the site:

Still not finding what you're looking for? Drop a comment on a post or contact us so we can take care of it!

Visit our friends!

A few highly recommended friends...