header image
 

Smart introduced the new mobile messenger “Uzzap”

Yesterday, Smart introduced the new mobile messenger called “Uzzap”. It includes sms capability, sending emails, login to your yahoo and msn acoount, and unique chatrooms. It also has a feature called auto buddy matching where it loads your phonebook and search your contacts if they are already uzzap buddies. Uzzap has a lot of features. You can also personalize your uzzap. You can change your status, go on silent mode, change themes and more! You can also group your buddies. It also has search bar that can search your contacts easily. This uzzap is the most useful messenger.

Uzzap is a pc-pc, pc-phone and vice versa mobile messenger. Click here to download uzzap http://uzzap.com/download or text UZZAP send to 7272.

Go to http://uzzap.com/index.htm for more details.

Main Menu of Uzzap http://uzzap.com/start_enjoy.htm

Users Manual: http://uzzap.com/download_pdf.htm

You can install it in symbian, java phones, linux, windows xp and windows vista.

How to set your gprs using smart simcard:
Key in SET GPRS and send to 211.
Example: If you have a Nokia 6230, that’s “SET MMS N6230”
To activate SMART GPRS:
Key in “GPRS ON” and send to “333″

Benifits of Uzzap:
1. Unlimited Chat
2. Send Email
3. Connect to Yahoo
4. Connect to MSN
5. Send SMS
6. Auto Buddy Matching
7. Can store your phonebook contacts
8. Public Chatrooms
9. Private Chatrooms
10. GSM Call ( available on 3rd edition phones)
and many more..
Anywhere,anytime you can chat your friends easily.

Simple HttpServer in Twisted Python

this is a sample code of http server programmed in twisted python
#httpserver.py
#!/usr/bin/python
import sys
from twisted.protocols import basic
from twisted.web import server,resource,http
from twisted.internet.protocol import Protocol

class HttpProtocol(basic.LineReceiver,Protocol):

    def __init__(self):
       self.lines = []

   def connectionMade(self):
       self.sendLine(”HTTP/1.0 200 OK”)
       self.sendLine(”Content-Type:text/plain”)
       self.sendLine(”")

   def lineReceive(self,line):
       # your code goes here: process the line you receive
       print line

class HttpFactory(http.HTTPFactory):

   def __init__(self):
       self.protocol = HttpProtocol

   def onClientConnected(self):
        print “Connected”

reactor.listenTCP(8080,HttpFactory())
reactor.run()

running on the terminal
$ python httpserver.py
as the reactor.run called, your http server is now listening on port 8080

List of All Programming Languages

Helloworld in all programming language

ActionScript
AdaLanguage:
AlephLanguage:
AppleScript
AssemblyLanguage for the IBM-PC (i386):
AwkLanguage:
B (BeeLanguage):
BasicLanguage
BefungeLanguage:
Bourne Shell:
BrainfuckLanguage (an EsotericProgrammingLanguage)::
C (CeeLanguage) (according to KernighanAndRitchie):
CsharpLanguage:
C++ (CeePlusPlus)
Cobol
ColdFusion
RM COBOL
COW (an EsotericProgrammingLanguage):
D
DOS (DiskOperatingSystem)
EiffelLanguage
ErlangLanguage:
EtcLanguage:
Forte TOOL:
ForthLanguage:
FrinkLanguage
GoogleplexianLanguage:
HaskellLanguage
HqNinePlusLanguage
HtagLanguage
HTML
InformLanguage
IoLanguage
JavaLanguage:
Swing Java
JavaApplet:
JavaScript:
J (JayLanguage)
JoyLanguage:
K (KayLanguage)
LingoScriptingLanguage
Logo
LolCode:
LuaLanguage:
LxLanguage:
MicrosoftExcel
ModulaThree
NemerleLanguage: (http://www.nemerle.org)
OpalLanguage
ObjectiveCaml
PascalLanguage
PathLanguage
PerlLanguage
PerlInline
PhpLanguage
PlbLanguage (or Databus)
PowerScript
PowerShell
PrographLanguage
Prolog
PythonLanguage
QBasic
Rebol
RexxLanguage
RpgLanguage
RubyLanguage
ShellScript
SchemeLanguage
SmalltalkLanguage
SmlLanguage
SnobolLanguage
TeX
TomLanguage
ToolCommandLanguage
UnLambdaLanguage
VisualBasic
VisualFoxPro
MS VJ++
VoiceXml
Whirl
VBScript
JScript
WikiWiki

Send Message in J2ME

Sample code for sending a message using J2ME: You can send message with or without port.

MessageConnection smsconn = null;

try {

/** Open the message connection. */

smsconn = (MessageConnection)Connector.open(address);

TextMessage txtmessage =

(TextMessage)smsconn.newMessage(MessageConnection.TEXT_MESSAGE);

txtmessage.setAddress(address);

txtmessage.setPayloadText(messageBox.getString());

smsconn.send(txtmessage);

} catch (Throwable t) {

t.printStackTrace();

}

if (smsconn != null) {

try {

smsconn.close();

} catch (IOException ioe) {

System.out.println(”Closing connection caught: “);

ioe.printStackTrace();

}

}

Start the Midlet when New Message arrived

If you want your midlet to start when incoming message arrived, the message should be sent with specific port where your midlet is listening.

Your jad file should look like this
MIDlet-Jar-URL: MyMidlet-0.0.1.jar
MIDlet-Jar-Size: 556255
MIDlet-Name: MyMidlet
MIDlet-Vendor: 3rd Brand Pte Ltd.
MIDlet-Version: 0.0.1
MIDlet-1: com.MyMidlet
MIDlet-Push-1: sms://:5000,MyMidlet,*
MIDlet-PortNumber: 5000
MIDlet-Permissions: javax.microedition.io.PushRegistry,javax.wireless.messaging.sms.receive

But your midlet does not automatically start when new message arrive.. It will ask you if you want to start your midlet.

Writing J2ME Application in Linux

If you’re going to create a mobile game application better use j2me.. But if you’re mobile application runs in a background better used symbian c++.
Quick Start for setting up your workspace..
1. Install eclipse in synaptic manager for your IDE. Why choose eclipse? Simple and easy to use.
2. You need to have the Java Development Kit (JDK) and the Sun Java Wireless Toolkit (WTK) installed on your system. Click here for installation tutorial
3. Install JDK Sun Java Standard Edition (SE) Downloads .
4. After setting up all the installers, you can now create a simple Hello World.

Creating a project:
1 Choose File - > New -> Project
2. New Poject window will appear. Select J2ME Midlet suite then click Next. Type the name of your project. Example HelloWorld Select which Device your going to use. Then click Finish.
3. On the project explorer pane, right click the name of your project.Select New - > Package. Type the name of your package.
4. After creating a package, right click it, select New -> File . Type your filename for example “HelloWorld.java”

Type this source code.
Create the file src/HelloWorld.java with the following code:

// Sample adapted from http://developers.sun.com/mobility/midp/articles/wtoolkit/
package com.hello
import javax.microedition.lcdui.*;
import javax.microedition.midlet.*;
public class HelloWorld
extends MIDlet
implements CommandListener
{
private Form mMainForm;
public HelloWorld()
{
mMainForm = new Form(”HelloWorld”);
mMainForm.append(new StringItem(null, “Hello, World!”));
mMainForm.addCommand(new Command(”Exit”, Command.EXIT, 0));
mMainForm.setCommandListener(this);
}
public void startApp()
{ Display.getDisplay(this).setCurrent(mMainForm); }
public void pauseApp() {}
public void destroyApp(boolean unconditional) {}
public void commandAction(Command c, Displayable s)
{ notifyDestroyed(); }
}

5. You can now run your HelloWorld midlet.
6. Creating the jar file. Right click the name of your project . Select J2ME then Create Package..

Keep Moving Forward

The first lesson in my work.. Keep Moving Forward..
The incident happened when I checked- in the svn ( svn commit -m”checkin tester program”). By the way, what is svn/ subversion? “Subversion is used for version control when developing a program or system. It helps to keep track of your versions”. I used the copy for different program. When I checked-in my project, I forgot that there is hidden folder .svn. The backup copy is also updated and the tags are broken.. What a big mistake I have done. I’mm afraid that it can damage the working copy in our trunk.. My boss told me that it’s ok to make a mistake, at least you learned. He also told me about the movie “Meet the Robinsons” and lesson on this movie is “Keep Moving Forward”.. Thanks to svn.. It can revert the working copy..

My First Post on My Own Blog

Hi! This is my first time to post a comment.. Going straight if you have some questions related to computer programming, Im willing to help. Just post your question here or email me at carmelita_mendoza2006@yahoo.com. Basically I can help you in some language like PHP, Python, C++, Java, J2ME, Visual Basic. I can also help in linux operating system. So what can I say.. Feel free to post your question..