Bitmap b=getScreenShot();BitmapField b1=new BitmapField(b);add(b1);public static Bitmap getScreenShot() {// get the current screen .Bitmap bitmap;bitmap = new Bitmap(net.rim.device.api.system.Display.getWidth(), net.rim.device.api.system.Display.getHeight());net.rim.device.api.system.Display.screenshot(bitmap);// return the screen shotreturn bitmap;}
No comments:
Post a Comment