Sunday, January 31, 2010

JAVA pgm to detect IP address

import java.net.InetAddress;
import java.net.UnknownHostException;

public class ToDetectIPAdress {

public static void main(String[] args) {
try {
System.out.println(InetAddress.getLocalHost().getHostName());
System.out.println(InetAddress.getLocalHost().getHostAddress());

} catch (UnknownHostException e) {
e.printStackTrace();
}

}

}
--*--

Thursday, January 7, 2010

To view Star Wars movie with MS-Dos

1. Go to Start > Run
2. Type cmd and press Ok
3. Type telnet towel.blinkenlights.nl in new window and press enter.

Wednesday, January 6, 2010

how to activate internet in your mobile phone-3

  • Vodafone/ Hutch/ Orange

To access Vodafone live on your GPRS enabled mobile phone, activate Vodafone live! and get the settings on your mobile phone.

To activate:

    • Postpaid customers: SMS ACT VL to 111 (toll free)
    • Prepaid customers: SMS ACT VL to 144 (toll free)

There is no charge for activating Vodafone live!

Note:

Kolkatta Prepaid customers need to send SMS ZERO to 144 (toll free)

Kolkatta Postpaid customers need to send SMS ZERO to 111 (toll free)

Mumbai Postpaid customers can send SMS ACT VL to 111(toll free). Charges - Rs 49 / month. You can enjoy free usage of 5MB and also send 30 MMS free per month.

Mumbai Postpaid customers can also send SMS ACT VLZERO to 111(toll free). No monthly rental charges.

To configure settings:

New customers will automatically get the settings named Vodafone live! and Vodafone MMS when you put in your Vodafone SIM card into your mobile phone. Just save these settings.

In case you do not get the settings automatically,

SMS VL to 52586 (toll free) or Click on the make of your mobile phone to figure out the manual settings:

    • Nokia
    • Samsung
    • Sony Ericsson

how to activate internet in your mobile phone-2

  • BSNL

Sms GPRS to 53733 to activate your GPRS

Or, Call 9400024365 to activate your GPRS

  • Idea Cellular

Get GPRS settings onto your phone & browse the net from wherever you are. Sms SET to 54671 (toll free)

Settings will be sent to your phone & you are ready to browse the net from your phone!

Basic browsing charges - 2ps/kb. The charge is toll free from home network

  • MTNL

The Trump (Prepaid) customers can avail this facility by sending SMS to 444 in the format "ACT GPRS" for activation.

The SMS sent to '444' is charged @ Rs.2/- per SMS

The Dolphin (Postpaid) customers can avail this facility by sending SMS to 555 (toll free) in the format "GPRS" for activation or call 1503.

  • Spice Telecom

Steps for subscribing to GPRS packs:

Postpaid Subscribers:

1. Dial *789#

2. Answer with 1 to select Activation option.

3. Answer with 1 to select Postpaid options

4. Answer with 2 or 3 to select any of the above pack (2 for Rs 249 monthly pack, 3 for Rs 599 Quarterly pack)

5. Answer with 1 for Nokia and 2 for Non Nokia Handset.

Prepaid Subscribers:

1. Dial *789#

2. Answer with 1 to select Activation option.

3. Answer with 2 to select Prepaid options

4. Answer with 3 or 4 to select any of the above pack (3 for Rs 19 daily pack, 4 for Rs 249 monthly pack)

5. Answer with 1 for Nokia and 2 for Non Nokia Handset.

how to activate internet in your mobile phone-1

• Airtel
To access Airtel Live all you need is GPRS enabled mobile phone, activation of Airtel Live Services, and correct settings on your phone.
SMS FUN to 54321 for Service Activation. Once activated, you need to save the service settings that are sent on your phone. Service Activation is absolutely free.
Accessing Airtel Live : On Nokia Phones you can access Airtel Live by long pressing '0' key. On other Phones you can launch Internet Browser and select
Airtel Live (or Go to http://live.airtelworld.com)
• Aircel
1. Send an SMS in the following format "GPRS BP <> <>" to 57788
o You will receive a message confirmation - "Thank you for your request for activating Aircel Online Basic Plan. Plan charges: 10p/10KB, No monthly rental. To confirm send YESBP to 57788"
2. SMS YESBP to 57788.
3.You will receive the OTA settings and the following two messages
o Message 1: "Thank you for your request. Aircel Online (GPRS) will be activated within 48 hrs"
o Message 2: "Dear Subscriber, Kindly save the GPRS settings to be sent to you shortly"
4. After Successful activation, you will receive the following message "Dear Subscriber, Aircel Online (GPRS) has been successfully activated. Enjoy browsing internet from your mobile phone"

How to Put Google Adsense Below Post Title in Blogger?

Adsense is used by  majority  of expert bloggers for their website monetization because it is a cookie based contextual advertising syste...