Tag Archives: screenshot

To capture screen in BlackBerry PlayBook, just hold the volume Up and Down buttons together. After a camera shutter sound, a screen image in the format JPG will be saved in Pictures Camera folder.


Thank you for checking out this tutorial. Reading the discussions in this post, seems like there is quite a number of people having troubles to take screenshots with Galaxy S2. To clear any confusions, I summarized some information and added as followings. Hope you could make it too. Fingers crossed.

First, make sure your Galaxy S2 is running Android version 4 or above.

Volume Down + Power Key will work fine.
Press both keys at the same time gently. In about 1 second, screen capture would be done. A notification and an animation would be shown too.

Edited on 12 July.

Press and hold power and volume down button together. This is the way to take screenshot in the new Android system 4.0 Ice Cream Sandwich. After the Samsung Galaxy S2 updated to this new version, it uses this method instead of the way mentioned in my old post.

I have been working with Cocos2D for a while and I am still a newbie. The way to deal with animations in Cocos2D 1.0.0 – the stable version currently – is different from the way before using CCSpriteSheet. Now Cocos2D adapts animations as cache shared in the project using CCSpriteFrameCache. It also requires a plist file as well as a texture file.

First, put the following assets into the project “Resources” folder to let the program use.

  • grossini.plist – The file contain the animation information such as frame details.
  • grossini.pvr.gz – The texture file in pvr format which allow better performance in Cocos2D.

Second, add the following codes into the function init. Take a look at the comments for program explanation. =]

// Capture the window size
CGSize size = [[CCDirector sharedDirector] winSize];

// Load the plist into the cache
CCSpriteFrameCache *cache = [CCSpriteFrameCache sharedSpriteFrameCache];
[cache addSpriteFramesWithFile:@"grossini.plist"];

// Create sprite with the first frame
CCSprite *sprite = [CCSprite spriteWithSpriteFrameName:@"grossini_dance_01.png"];
sprite.position = ccp( size.width/2, size.height/2);
sprite.anchorPoint = ccp(0.5f, 0.5f);

// Create array for the animation frames
NSMutableArray *animFrames = [NSMutableArray array];
for(int i = 0; i < 14; i++) {
    CCSpriteFrame *frame = [cache spriteFrameByName:[NSString stringWithFormat:@"grossini_dance_%02d.png",(i+1)]];
    [animFrames addObject:frame];

// Convert the array into animation
CCAnimation *animation = [CCAnimation animationWithFrames:animFrames];

// Run the sprite with the created animation and display it by adding it to the scene
[sprite runAction:[CCRepeatForever actionWithAction: [CCAnimate actionWithDuration:2.8f animation:animation restoreOriginalFrame:NO] ]];
[self addChild:sprite z:0];

After all, don’t forget to deallocate the resources loaded in cache in function dealloc.

// Deallocate the resource in cache
CCSpriteFrameCache *cache = [CCSpriteFrameCache sharedSpriteFrameCache];
[cache removeSpriteFramesFromFile:@"animations/grossini.plist"];

Finally, this is a screenshot. Enjoy. XD

It is very disappointing that the League of Legends for Mac is closed after 6 Sep. It is really sad to see the compulsory close button after opening the LoL as shown in the below screenshot.

Luckily, there is a way to make the game working again temporary. Technically, as the game is a transplant from Windows with the emulator tool Wine, the whole thing is just running a Windows program in Mac environment. Therefore it is possible to put the files of LoL in Windows back to Mac to trick the server that I am using Windows. Of course, please take your own risk to do the following steps. =]

Step 1: Download the Windows version of LoLLauncher.exe here.

Step 2: Replace the LoLLauncher.exe with the downloaded one under
/Applications/League of

Step 3: Relaunch the LoL and now you are able to update your game! Hope this fix would last longer! =]

Press and hold home and tap the power button. This is the magic key for Samsung Galaxy S2 to take a screenshot. It has been such a good news for users like me who used to use iPhone. Somehow it is just the same as the iPhone setting. Actually some of the recent released mobile phone adapt this feature too, including Samsung Galaxy S2, LG Optimus 2X, LG Optimus 3D, HTC Cha Cha. Enjoy!

After days struggling with the new Mail 5, there has been a breakthrough. I finally fix the problem and Apple Mail 5 is now working with the Mbox Mail for Mac. As there is still some more work to do to pack the programs, as a support i hope somebody could make me some donation. As a preview, a screenshot is shown below. I will release my work as soon as I finish and the donation reach US$100, please comment and notify me after donation. Thanks a lot! =]

Okay, I give up. Go here:
Fix Mbox Mail for Mac on Lion, works Apple Mail 5

Fix Mbox Mail for Mac with Apple Mail 5, please see this post:
Fix Mbox Mail for Mac on Lion, works Apple Mail 5

After the new Mac OSX Lion released, there has been a number of people finding out the Mbox Mail for Mac doesn’t work at all. But the fact is, it actually works. The reason is that the whole new updated Apple Mail 5 has added some security protocols which don’t support the Mbox Mail for Mac. I have been doing some programs hoping to fix this problem. However it takes some time. Therefore herein I would like to introduce an alternative way with Thurderbird to make the whole thing works again.

Step 1:
If you don’t have Mbox Mail for Mac, download and install Mbox Mail for Mac 1.0.2 below and ensure it is not expired and started:

Step 2:
Download and install the beta version of Thurderbird here:

Step 3:
Go to “Tools”->”Account Settings”, then add new mail account:

Step 4:
Enter name and email address, but leave password empty. Then continue.

Step 5:
Right after continue, you will see “manual config”. Click it.

Step 6:
Input password and fill the boxes as shown in the screenshot. Then click “re-test” and then “create account”.

Step 7:
You might see a warning. Tick the understand box and then create account.

After all you should be able to check your hotmail. Enjoy and please “like” or “+1” this passage if you feel it helpful. =]

%d bloggers like this: