Tag Archives: iphone

New iPhone may be getting Larger screens.

By | May 18, 2012

The new iPhone that Apple Inc. is expected to unveil this year is likely to have a larger display than its current models have, with the company ordering bigger screens from its Asian suppliers, people familiar with the matter said. The new screens measure at least 4 inches diagonally, the people said, compared with 3.5… Read More »

Samsung Galaxy S III India launch in June first week

By | May 14, 2012

Samsung is expected to launch its all new Galaxy S III smartphone in India in the first week of June. According to NDTV Gadgets, India is in the first list of countries to get smartphone, which will see the launch starting May 29. The smartphone will be priced at INR 38,000, while the street price… Read More »

CoderzHeaven on Facebook, Twitter, Google Plus and MySpace

By | May 6, 2012

Hello……. Coderzheaven is now on MySpace also. PLease checkout our page at http://www.myspace.com/coderzheaven Fore more news on updates and exciting code snippets please add Coderzheaven to your connections in Facebook http://facebook.com/coderzheaven and Also find us on twitter and get the latest tweets on recent and most popular posts. http://twitter.com/coderzheaven Also find us on Google PLus… Read More »

Lowest Cost for LUMIA 900 on Amazon- Get it fast.

By | May 6, 2012

For AT&T customers eying one of Nokia’s Windows Phone 7 devices as an upgrade, Amazon is offering the stylish new Lumia 900 on the cheap… real cheap. So cheap, in fact, you have to wonder what’s up. Are Nokia’s phones failing on the market even though they’re getting great reviews? Or is Microsoft merely trying… Read More »

Samsung Galaxy S3 Features, Specifications And Release Date – The iPhone Killer is coming.

By | May 6, 2012

According to sources, the specs of the Samsung Galaxy S III have been leaked on the Web. These are some of the features from the sources.. A 4.8-inch full HD 1080P resolution with 16:9 aspect ratio. It will be powered by a 1.8GHz quad-core Samsung Exynos processor. Features a front facing 2 MP camera for… Read More »

Pause And Resume iPhone Game Using Cocos2D

By | April 26, 2012

More than usually we need to apply the functions of Pause and Resume/Play for our games. In Mac’s cocos2D programming it’s more than simple. Simply use the following code for Pause & Resume where ever you want! /*For Pausing the game*/ [[CCDirector sharedDirector] pause]; [self pauseSchedulerAndActions]; //Call for pausing all schedulers and actions /*For Resuming/Playing… Read More »

How to enable retina Mode in Corona SDK? or How to work with images in retina Mode in Corona?

By | April 24, 2012

To enable retina mode in your application you have to first find the config.lua file in your project folder. Then edit this file to include the contents like this. You have to include images twice the size([“-x2”] = 2) and about 1.5 the size ([“-x15”] = 1.5) in your project folder. These images should have… Read More »

How to get Device Orientation in Cocos2D, iPhone in Objective C?

By | June 26, 2012

Hello all…… We may need to know that what is your current device orientation. Using the below code you can do this. Note: If you have to explicitly set the orientation of your phone to any of the above you can set this in the appDelegate.m file. You can put an “||” (OR) symbol in… Read More »

How to inherit from other styles or how to extend your own styles in android?

By | April 18, 2012

Hello all…. I have covered many tutorials on styles on how to implement and use them. Today I will show you how to inherit from other styles or how to extend a style already created by you and use it for applying to other views. Here is one of my previous posts. http://www.coderzheaven.com/2012/02/03/changing-the-style-or-theme-of-default-alertdialog-in-android/ Another one… Read More »

How to animate a series of images in iphone? A simple Example.

By | May 1, 2012

The following code shows animation of 5 images. -(void)viewDidLoad { NSArray *images = [NSArray arrayWithObjects: [UIImage imageNamed:@”pic1.jpeg”], [UIImage imageNamed:@”pic2.jpeg”], [UIImage imageNamed:@”pic3.jpg”], [UIImage imageNamed:@”pic4.jpeg”], [UIImage imageNamed:@”pic5.jpeg”], nil]; CGRect frame = CGRectMake(0,0,320,460); UIImageView *imageView = [[UIImageView alloc] initWithFrame:frame]; imageView.animationImages = images; imageView.contentMode = UIViewContentModeScaleAspectFit; imageView.animationDuration = 3; imageView.animationRepeatCount = 0; [imageView startAnimating]; [self.view addSubview:imageView]; [imageView release]; [super… Read More »

Simulate a Balloon in Box2D, iPhone or ANDROID

By | April 24, 2012

Hello……… Sometimes you may want your body to act against the gravity of the world. One method to do this is described below. First what you have to do is to make a body in the shape of a circle and give it the image of a balloon as the userdata. Then in the tick… Read More »

Creating Menu in Iphone Cocos2D or Box2D?

By | June 27, 2012

Use CCMenuItemSprite and CCMenu in iPhone to create menu. call this function to set up the menu for your home page in your iPhone game or you can change this code directly to ANDROID and it will work. Make sure you have all the images mentioned in the above example. This menu will appear on… Read More »

Creating Menu in Iphone Cocos2D or Box2D?

By | April 3, 2012

Use CCMenuItemSprite and CCMenu in iPhone to create menu. call this function to set up the menu for your home page in your iPhone game or you can change this code directly to ANDROID and it will work. Make sure you have all the images mentioned in the above example. This menu will appear on… Read More »

Creating Menu in Iphone Cocos2D or Box2D?

By | April 3, 2012

Use CCMenuItemSprite and CCMenu in iPhone to create menu. call this function to set up the menu for your home page in your iPhone game or you can change this code directly to ANDROID and it will work. Make sure you have all the images mentioned in the above example. This menu will appear on… Read More »

Creating Menu in Iphone Cocos2D or Box2D?

By | April 3, 2012

Use CCMenuItemSprite and CCMenu in iPhone to create menu. call this function to set up the menu for your home page in your iPhone game or you can change this code directly to ANDROID and it will work. Make sure you have all the images mentioned in the above example. This menu will appear on… Read More »

Apple late in China – Samsung already has almost triple share.

By | March 12, 2012

Apple Inc. (AAPL) got a partner to sell the iPhone in the world’s biggest mobile-phone market, China. The may be too late to catch Samsung with a market share that’s three times larger and growing. Samsung controlled 24.3 percent of the market for phones in China. “I don’t expect Apple to replace Samsung any time… Read More »

Now you can upload APK's up to 4 GB.

By | March 6, 2012

Yes, Google has announced that from now on you can upload APK’s up to 4GB. This is an effort to accommodate apps that require more local storage. Previously Google had made a limitation of 50MB for apps but due to the intervention of high speed 3D games and other Google has decided to increase the… Read More »

Now you can upload APK’s up to 4 GB.

By | March 6, 2012

Yes, Google has announced that from now on you can upload APK’s up to 4GB. This is an effort to accommodate apps that require more local storage. Previously Google had made a limitation of 50MB for apps but due to the intervention of high speed 3D games and other Google has decided to increase the… Read More »

Now you can upload APK’s up to 4 GB.

By | March 6, 2012

Yes, Google has announced that from now on you can upload APK’s up to 4GB. This is an effort to accommodate apps that require more local storage. Previously Google had made a limitation of 50MB for apps but due to the intervention of high speed 3D games and other Google has decided to increase the… Read More »

Google Alternative of Siri Likely to come out in Q4 2012.

By | March 4, 2012

Yes, Google is planning to release an alternative for Siri in the near future. According to google the new Alternative will be called “the Assistant”. Assistant will go beyond what Siri can do according to google. As first reported by Tech Crunch, it seems Google is prepping a major release of its voice assistant this… Read More »