Aug
31
Posted on August 31, 2008 (Project Updates)

  • All Central, Western & Harbour rail timings in one compact java application.
  • Pick between Fast & Slow trains.
  • Get to know which stations your fast train on Western doesn’t stop at!
  • Automatically displays the upcoming trains using your mobile’s time.
  • NO additional network or GPRS charges. A one time install is all you need to do.
  • Quick navigation & easy interface. Complete touch screen compatibility.
  • Works on almost all Java MIDP 2.0 (j2me) cell phones.
  • Additional features include emergency helpline numbers, application guide, etc…

Read the rest of this entry »

Mar
16
Posted on March 16, 2008 (Java)

EasyDatabase is a custom class which I developed to manage and save application settings in your j2me applications instead of dealing with sometimes confusing methods of the javax.microedition.rms. It is a wrapper class around the RMS methods provided by MIDP 2.0.

It is very easy and efficient to use and requires no knowledge about MIDP Record Management System. It more or less works like how you store values in the windows registry(if you come from a windows background). Every value has a unique property name associated with it. For e.g AppVersion, LoginPassword, StudentsName, etc..

The code below demonstrates how to create a database called “UserInfo”. First we add the users “Name” & “Age”. Then, we retreive it and print it in the console.

EasyDatabase myDB = new EasyDatabase("UserInfo");
 
if(myDB.dBExists() == false)
{
	myDB.createDB(); //creates the db
	myDB.addProperty("Name", "Dayson"); //adds name
	myDB.addProperty("Age", "20"); //adds age
}
 
myDB.updateProperty("Age", "25", false); //changes age
 
System.err.println( myDB.getProperty("Name") ); //prints name
System.err.println( myDB.getProperty("Age") ); //prints age

Read the rest of this entry »

Oct
28
Posted on October 28, 2007 (WebDev)

Intro: It was quite disappointing to realize that an amazing CMS like Drupal failed to have a rich download system. I was expecting a rich downloads section with categories, download counts, rating, etc. The script that answered it all was “pafiledb“. This article explains how to integrate pafiledb into Drupal as if it were a drupal module in a very easy manner. This is a must read for anyone using Drupal.

View a demo of pafiledb.

Installing pafiledb:

  • Unzip the file you downloaded from the paFileDB homepage.
  • Open the “upload” folder, then open “includes” and then open the file “config.php”. You will need to edit that file to reflect your MySQL server information. You will need to edit the server, username, password and the database name.
  • Make a folder in your drupal root directory called “downloads“.
  • Open up the “upload” folder from the file you just unzipped. Copy everything, except for the “upgrade” folder from this folder into the “downloads” folder you just created.
  • Navigate to the “downloads/install/index.php” folder using your web browser and setup pafiledb with any settings you want.
  • Once you’ve done so, you will be prompted to delete the install folder and then you can easily view your pafiledb by browsing to your /downloads/index.php folder.

Read the rest of this entry »

Oct
26

Goofy Messenger is a Chat Client with advanced & entertaining features for Chatroom Servers on the Ares p2p network. It is built using C# on the .Net framework 2.0.

Development of Goofy Messenger Discontinued: I have discarded the development of Goofy due to lack of time. Though I hope someone picks up from this release and keeps it going. Perhaps, the open source release might help developers understand many concepts of networking, user interfaces, .Net framework & Ares protocol.

Source Code Released under GNU GPL v2: Yes, the source code is now available to those who would like to have a look at how things worked & for those who’d like to append to it and carry on. You can use the source code to compile, test, update & produce copies as long as you do not take out original “Developer” credits. Visit http://www.gnu.org/licenses/old-licenses/gpl-2.0.txt for more…

If you need any help in understanding how certain parts of the code works, you can contact me via the contact page of this site. I will try to get back to you as soon as possible.

Download:

Goofy Messenger v2.0(beta) Source Code (VS 2005 - C# Project)

Read the rest of this entry »