Here’s a short sample application implementing List, Menu, and Alert items using J2ME Mobile Application programming. I use Netbeans with Java Wireless Toolkit (comes with mobile phone emulators) in developing J2ME-based applications. And if you want to install this on your Java-enabled phones, you can do so by copying the JAR file to your phone and run it.
Below is the screenshot and the source code:

Click here to download/view source code for this demo.
I learned that Android programming uses Java skills, so I downloaded Eclipse and the Android SDK. Followed the instructions on how to install ADT Plugin for Eclipse and it’s now ready to do Android Apps and test it with the emulator. Of course, when trying out new programming or scripting language, you need to do the ever famous program, the Hello World! So here’s a screenshot:

Android is a software stack for mobile devices that includes an operating system, middleware and key applications. The Android SDK provides the tools and APIs necessary to begin developing applications on the Android platform using the Java programming language. [ source ]
Read the rest of this entry »
Yesterday, March 12, 2010 (Friday), some representatives from Google visited Cebu City for the 2010 Innovation Forum. The event was organized by Google, Inc. , UPV Cebu – DOST Technology Business Incubator (TBI), GTUG – Cebu, and Ayala Technology Business Incubator (TBI). As a GTUG member based in Cebu, we were tasked help with the registration during the event, along with some student volunteers from UPV Cebu.

With the theme of “Inspiring Innovation: The Google Way,” the innovation forum brought more than 300 employees from IT companies, students and faculty members from different school, and representatives from the local government and media. As the Innovation Forum tagline goes, “where business, science and technology meet,” the event basically brought together representatives from the IT industry, academe, and government.
Going to the program proper, Michi M. Barcelon, Lead of the Ayala Technology Business Incubation program introduced the crowd with what to expect during the event. She mentioned something about introducing innovation to the community and how can it be a good venture to start-up and the role of Ayala Foundation TBI.
Read the rest of this entry »
So you’re creating a Java application and want it to work and get connected to a MySQL database. Here’s a quick tutorial on how to get your Java App working with MySQL database.
First, you need to identify your MySQL connection properties like your host address, username, password and database name (assuming that you have your MySQL already up and running.) Also, make sure that you have your Java MySQL Connector installed in your Java JDK library path. You can download Java MySQL Connector here, if you do not have one.
Now, having those information, you need to initiate a new instance of the Java MySQL Connector using these lines:
Class.forName(“com.mysql.jdbc.Driver”).newInstance();
conn = DriverManager.getConnection (ConnectionURL, dbUsername, dbPassword);
You can replace the parameters for the connection for example:
String ConnectionURL = “jdbc:mysql://hostAddress/dbName”;
… where hosAddress is your MySQL host address and dbName for your database name. For example, if you have your MySQL running under localhost (or IP Address if you have it somewhere else) and you want to connect to accounts database, you can connect with this:
String ConnectionURL = “jdbc:mysql://localhost/account”;
Read the rest of this entry »
Enjoyed one of my Computer Science elective class back in college, all about J2ME (Java Micro Edition) – a Java development platform for mobile devices. Got interested in reviewing the topic again since I learned that developing Android applications is similar to the once we discussed in school. So might as well refresh what I learned before going to Android Java development soon.
Here’s a simple project we had. It’s a chat application via UDP, sending chat messages via datagram connection and I named it BlueChat. You can view the code here.
Read the rest of this entry »