"The quick brown fox jumps over a lazy dog" ..this is the sentence that is recorded in guineas record..
since it covers all 26 letters in English alphabet
Thursday, September 30, 2010
sample J2ME code
For mobile device we are going to use MIDlet,like application for computer, applet for the web
- All J2ME programs require import.javax.microedition package
- MIDlet it is an abstract class.
- Any J2ME class any inherit it,can override the methods in it..
- MIDlet not support user interaction, display message,multi-threading support
Sample code
e.g
// my midlet.java file
import javax.microedition.midlet;//for MIDlet
import javax.microedition.lcdui; //for UI
public void startApp() // to start the application
{
}
public void pauseApp() // to halt the application for a while
{
}
public void destroyApp() // to destroy application
{
}
private void exit() //to close the application
{
System.gs()//garbage collection
destroyApp(false)//invoke destroy method
notifyDestroyed()// to notify application about destroyed thing
}
Labels:
J2ME
Tuesday, September 28, 2010
MOBILE programming
Mobile programming
- Java 2 micro Edition J2ME is one of the version from Java ..
- It is used for mobile phone, PDP’s programs..
e.g of a mobile programming Drawing,controls,interaction,file handling..
Basic concepts for mobile programming..
- Configuration
- Profile
- Optional package
These three things able to understand the java environment, java features ,API’s for mobile programming
Configuration:
Basically two types of configuration available
1)CLDC: connected limited device configuration
- It will support less memory devices like mobiles, with minimum no. of core classes
- It It contains JAVA VM(virtual machine), more core classes
2)CDC : connected device configuration
- It will support large memory size devices:
- It contains java VM to execute byte code, to facilitate communication between native code and mobile device..
Profile:
- It contains device specific ,add more functionality,U I classes
CLDC: It contains two profiles:
1)
- MIDP: mobile information device profile
- PDAP: personal digital assistant profile: it is improved over MIDP with more UI classes
CDC:
- It also contains two profiles:
- FP Foundation profile: It contains more UI (user interface)classes
- PBP Personal Basis profile: It extend from FB with JAVA AWT control..
- Now recent profile is personal profile (PP)..
Optional package
- It is more specific to particular device, it contains additional PI’s when compared to profiles..
- Core classes not only inherited from configuration, but also from profiles and optional packages..
e..g Bluetooth API we made it as optional package..part of a profile, then profile is oriented to Bluetooth enabled device ..
ΓΌ But mostly we employ CLDC with MIDP profile..
.......> This will continue further.read more.<.............
.......> This will continue further.read more.<.............
Labels:
J2ME
Monday, September 27, 2010
My first own logo
<img src="http://www.logomaker.com/logo-images/6708474fc6afc13e.gif"/>
<a href="http://www.logomaker.com/"><img src="http://www.logomaker.com/images/logos.gif" alt="logo maker logo creator" border="0"/></a>
<a href="http://www.logomaker.com/"><img src="http://www.logomaker.com/images/logos.gif" alt="logo maker logo creator" border="0"/></a>
Labels:
logos
Sunday, September 26, 2010
way to increase surfing speed of the Mozilla Firefox browser
- Just type about:config in the address bar
You will find following options, fill the values in the options as given below:
network.http.max-connections-per-server =32
network.http.max-persistent-connections-per-proxy =16
network.http.max-connections = 64
network.http.max-persistent-connections-per-server = 10
network.http.pipelining = true
network.http.pipelining.maxrequests = 200
network.http.request.max-start-delay = 0
network.http.proxy.pipelining = true
network.http.proxy.version = 1.0
network.http.max-persistent-connections-per-proxy =16
network.http.max-connections = 64
network.http.max-persistent-connections-per-server = 10
network.http.pipelining = true
network.http.pipelining.maxrequests = 200
network.http.request.max-start-delay = 0
network.http.proxy.pipelining = true
network.http.proxy.version = 1.0
- After filling the values ,right click the mose anywhere then add New Integer name ->nglayout.initalpaint.delay.set it value to zero
- It will reduce the load ,as well as increase the surfing speed
Labels:
Browser tips
BCC
Use of BCC for sending the emails:
BCC is Blind Carbon Copy is one of the way for sending the bulk emails/meassages to many receipts:
- Just enter your own email id in To: fill
- Then add your recipient in BCC fields:
Features of BCC:
- Privacy for your recipients: spammers unable to know recipients whom you are sending the mails
- For sending business letters to your clients it is highly recommended.
- It hides the list of recipients who are receiving the bulk msgs..
i.e in case if we use TO :fill means all of them will notice list of recipients who are all getting the same mail they have received..but it is prevented by using BCC
Labels:
EMAIL facts
useful Run commands in windows
- Calculator: calc
- Checking disk utility: Chkdsk
- Date and time property : timedate.cpl
- Disk fragmentation : dfrordpad –write
- Device manager: devmgmt.msc
- System properties: Sysdm.cpl
- Keyboard properties: Control keyboard
- Add or remove programs in control panel: appwiz.cpl
- On screen keyboard: osk
- Disk cleanup utility: Cleanmgr
- Notepad application: notepad
Labels:
Windows XP
Os fingerprinting tools
Nmap:
- Developer:Fyodor
- It identifies operating system of windows and linux versions
Latest release:Nmap 5.00
Xprobe2
- It is an active os fingerprinting tool..
- Techniques used : Nmap and other techniques
- Protocol used : ICMP
Function:
It detects operating system of the remote system
Latest release :Xprobe2 0.3
Pof
- It is a passive os fingerprinting tool.
Function:
It detects 1. operating system of the target host
2. Presence of the firewall
3. Nat use
4. Existing of load balancers
Labels:
Hacking tools
Subscribe to:
Comments (Atom)