Posts

Showing posts from June, 2010

Transform images in j2me CLDC 1.0 (No sprites)

Rotate and mirror images in j2me with this code Transform public class ImageUtil {   /**   * No need to use javax.microedition.lcdui.game.Sprite */   public final static int TRANS_MIRROR = 2;   public final static int TRANS_NONE = 0;   public final static int TRANS_ROT90 = 5;   public final static int TRANS_ROT180 = 3;   public final static int TRANS_ROT270 = 6;   public final static int TRANS_MIRROR_ROT90 = 7;   public final static int TRANS_MIRROR_ROT180 = 1;   public final static int TRANS_MIRROR_ROT270 = 4;   public static final Image transformImage(Image srcImage, int transform) {   Image result = null;   int srcW = srcImage.getWidth();   int srcH = srcImage.getHeight();   Graphics g = null;   switch (transform) {   //No Translate/rotate   case TRANS_NONE:   result = Image.createImage(srcImage);   break;   //Rotate Mirror  case TRANS_MIRROR:   result = Image.createImage(srcW, srcH);   g = result.getGraphics();   for (int i = 0; i < srcW; i++

Android uses Dalvik VM

How many people know that the Android runs on the Dalvik Virtual Machine  ??? Dalvik  is the  virtual machine  on  Android  mobile devices. It runs applications which have been converted into a compact  Dalvik Executable  ( .dex ) format suitable for systems that are constrained in terms of  memory  and  processor  speed. Dalvik was written by Dan Bornstein, who named it after the fishing village of  Dalvík  in  Eyjafjörður ,  Iceland , where some of his ancestors lived. [1] [ 2 ] Unlike most virtual machines and true  Java VMs  which are  stack machines , the Dalvik VM is a  register -based architecture. check  http://www.dalvikvm.com/  for details of the .dex decompiled.

Testing

Hi Testing the email blog Thanks Pradeep Sent from BlackBerry® on Airtel

A Good anti virus software Free !!!!!

ClamWin Free Antivirus is good and is supported on many platforms including Windows Server 2003.  You can help improve ClamWin Free Antivirus by: Submitting undetected virus samples. Testing the latest release, find and submit bugs and feature requests. Improving the documentation. Promoting ClamWin Free Antivirus on the Internet and in the press. Linking to clamwin.com on your web site to let other people know about it and improve clamwin.com rankings If you are a C++ or Python developer and have some time to spare you may join the ClamWin Free Antivirus Project and help to improve it Or please  click here  to make a donation and support further development of ClamWin Free Antivirus.