Monday, October 29, 2007
Supply Chain Management System for Micro Enterprise - StockTracker
The research brought out the ways and means in which the communication device was given greater meaning by extending its use into business and commerce, managing transport, and social networking. The report can be viewed here :
www.cks.in/mdr/Mobile%20Development%20Report.pdf
MOBILE APPLICATION:
As a part of this class, I wish to explore one of these aspects of mobile penetration that is, the use of mobile phone in managing business. I am looking to develop a mobile based application that helps a trader or peddler to manage his supplies and his stocks such that he can account for his supplies, and in case of shortage the, application automatically sends an SMS to the wholesaler for a fresh stock of items.
Tuesday, September 11, 2007
Week 1 : Setup and all that!
I attempted to write my own code based on the tutorial book and the sample code. The error that I had was due to defining a string longer than the length defined. The other warning message that I got was with regard to using the default Hello World Class which I ignored. However, I am not sure as to why I got the message and whether what I did was right. The screen shot of the emulator is above. The code is as follows:
import javax.microedition.midlet.*;
import javax.microedition.lcdui.*;
public class HelloWorld extends MIDlet implements CommandListener {
private Command exitCommand;
private TextBox tbox;
public HelloWorld() {
exitCommand = new Command("Exit", Command.EXIT, 1);
tbox = new TextBox("Hello world MIDlet", "Welcome to Riddhima's World!", 50, 0);
tbox.addCommand(exitCommand);
tbox.setCommandListener(this);
}
protected void startApp() {
Display.getDisplay(this).setCurrent(tbox);
}
protected void pauseApp() {}
protected void destroyApp(boolean bool) {}
public void commandAction(Command cmd, Displayable disp) {
if (cmd == exitCommand) {
destroyApp(false);
notifyDestroyed();
}
}
}