
The budget version of Apple’s latest iPhone will cost roughly $330 (£220), priced in order to appeal to young, middle class consumers in countries like China and India.
The claims about the price and the imminent release were made on the Japanese website Macotakara, following on from earlier reports about Apple plans for a cheaper phone.
In January it was reported that the planned new phone will resemble the iPhone 5 from the front but Apple will replace that handset’s aluminium body with a cheaper plastic casing.
Read More from here
http://www.telegraph.co.uk/technology/apple/9902864/Budget-iPhone-5-to-launch-soon.html

A low-priced iPhone makes a lot of sense, Morgan Stanley says, and it even could hit the market this summer.
Katy Huberty, an analyst with the banking firm, noted that after her meetings with Apple Chief Financial Officer Peter Oppenheimer, she’s convinced that innovation remains a top priority for the Cupertino, Calif., electronics giant. She also believes that Apple will increase cash return to shareholders and expand carriers, distribution, and possibly price points to drive iPhone growth.
She noted that a lower priced iPhone makes sense for several reasons:
“iPad Mini is expanding Apple’s customer base with 50 [percent] of purchases in China/Brazil representing new customers to the ecosystem.”
“Chinese consumers show a desire to purchase the latest version of iPhone (instead of discounted older generations).”
“iPhone 4 demand surprised to the upside in the December quarter.”
Read more from here
http://news.cnet.com/8301-13579_3-57570715-37/iphone-mini-launch-this-summer-makes-sense-analyst-says/
“performSelectorInBackground” will call anyfunction to execute in background and you can also pass string parameters with this method or if you want to pass more params then pass the parameters as an object.
[self performSelectorInBackground:@selector(myBackgroundMethod:) withObject:@"String Params"];
Unlike other UIViews, the UIWebview’s opaque property is set to true by default. That should be set to false for changing the background color.
[myWebView setOpaque:NO];
myWebView.backgroundColor=[UIColor redColor];
A court in China has ordered Apple to pay compensation to eight Chinese writers and two companies for violating their copyrights.
They had claimed that unlicensed electronic versions of their books had been sold on Apple’s online store.
The court ordered Apple to pay them 1.03m yuan ($165,000; £100,000) in compensation, according to the official news agency Xinhua.
… Read more from here.
http://www.bbc.co.uk/news/business-20856199
This is so simple
1. Go to your Google + account (https://plus.google.com/).
2. Click on the Profile icon on the Left.
3. If you look at the URL in the address bar, it should look something like this:
https://plus.google.com/104653270154306099169/posts
4. The long numerical string in the URL is your Google+ ID. Here is CoderzHeaven’s from the URL above:
104653270154306099169/

This is a question that has been here since 2007. We know there are many advantages for Android phones and Apple’s iPhone. So what you think, which one is the best.
I will say my personal opinion. And I think Android is the best.

What is your opinion?
Are you an iPhone or ANDROID User?
Why you think one is better than the other from your personal experience?
Do you think Fragmentation is a curse for ANDROID or iPhone?
Paste you opinion here and Let’s see what real phone users are thinking.

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 inches on Apple’s latest model, the iPhone 4S. Production is set to begin next month, the people said. Analysts have predicted that the next iPhone will come out in the fall.
Read more from here..
http://online.wsj.com/article/SB10001424052702303360504577407610487811698.html?mod=googlenews_wsj
It looks like samsung is killing the iphone.
Take a look at the benchmarks..




Source : http://www.talkandroid.com/109659-samsung-galaxy-s-iii-shreds-the-iphone-4s-in-gpu-benchmarks/
Hi,
For playing audio – background music or sound effects – using Corona SDK, do the following,
1. Load the audio stream (background music or sound effects)
backgroundMusic = audio.loadStream("bgm.mp3")
2. Play the audio
backgroundMusicChannel = audio.play( backgroundMusic, { channel=1, loops=-1, fadein=5000 } )
It will play the background music on channel 1, loop infinitely, and fadein over 5 seconds. Loop 1 will set it to play once!
This is a sample code to move a body in Box2D .
First you have to make a body with variable name “moving_rec” and call the below function in a schedular at regular intervals.
-(void) moveBody{
b2Vec2 force = b2Vec2(0,0);
force = b2Vec2(0,3); //Giving the x an y to negative will move the body in opposite direction.
moving_rec->SetLinearVelocity(force); //set Linear velocity for moving in a constant speed.
}
Please leave your comments on this post.
Hi,
For pausing a cocos2D game, then use the following line of code.
[[CCDirector sharedDirector] pause];
For resuming a cocos2D game, then use this line of code.
[[CCDirector sharedDirector] resume];
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 back the game*/
[[CCDirector sharedDirector] resume];
[self resumeSchedulerAndActions]; // Call for resuming all schedulers and actions
Hi,
Sometimes you may need to make some of your b2Body non rotating or static while using Box2D physics engine.
For making any body static use the following line of code.
UrbodyDef.fixedRotation = true;
Hi,
Collision can be detected simply using the following lines of code with box2D.
if((contact.fixtureA == aimFixture && contact.fixtureB == tarFixture) ||
(contact.fixtureA == tarFixture&& contact.fixtureB == aimFixture ))
{
NSLog(@"Collision between aim fixture and target fixture detected!");
}
Here aimFixture & tarFixture are two custom fixtures whose collision you want to find out.
CCWaves is one of the interesting functionalities in Cocos2D iphone.
Check out this following snippet to see how it works.
id my_wavesAction = [CCWaves actionWithWaves:7 amplitude:25 horizontal:NO
vertical:YES grid:ccg(15,10) duration:10];
[my_sprite runAction: [CCRepeatForever actionWithAction:my_wavesAction n]];
Please leave your valuable comments on this post………………….
Hi,
If you want to scroll a UIScrollView programatically as the result of any IBOutlet actions, use the following code in that particular action.
[yourScroller setContentOffset:CGPointMake(0,250) animated:YES];
This will scroll your scroller named ‘yourScroller’ automatically to the point specified!
Hello all……
We may need to know that what is your current device orientation.
Using the below code you can do this.
if([[UIDevice currentDevice] orientation] == kCCDeviceOrientationPortrait) {
NSLog(@"Device is now in Portrait Mode");
}
else if ([[UIDevice currentDevice] orientation] == kCCDeviceOrientationLandscapeLeft) {
NSLog(@"Device is now in LandscapeLeft Mode ");
}
else if ([[UIDevice currentDevice] orientation] == kCCDeviceOrientationLandscapeRight) {
NSLog(@"Device is now in LandscapeRight Mode");
}
else if([[UIDevice currentDevice]orientation] ==
kCCDeviceOrientationPortraitUpsideDown) {
NSLog(@"Device is now in PortraitUpsideDown Mode");
ss="Apple-style-span" style="font-weight: normal;">
}
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 between to set more than one.
Please leave your valuable comments if this post was useful…..
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 viewDidLoad];
}
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 function write this code.
This method of applying the force is called “The antagonist forces method”
By this method we are giving an upward force to only our balloon body irrespective of the gravitational force.
After running the code you will see your body floating in air like a balloon.
for (b2Body* b = world->GetBodyList(); b; b = b->GetNext())
{
if (b->GetUserData() != NULL) {
if (b==baloonBody) {
b->ApplyForce( b2Vec2(0.0,9.8*b->GetMass()),b->GetWorldCenter()); // here 0.0 is x, 9.8 is y (the gravity)
}
}
}
Note: Try to change the value 9.8 to higher if you have given your world’s gravity as 9.8. It will produce a balloon effect.
Please leave your comments if this post was useful……….
Hi,
Setting a background image to the UITableView will make it looks great! Use the following code to set a background image to a UITableView.
UIImage *bgImage= [UIImage imageNamed:@"sampleImage.png"];
UIImageView *bgView= [[UIImageView alloc] initWithImage:bgImage];
urTblView.backgroundView = bgView;
Here ‘urTblView’ is your UITableView.
You can simulate any animations if you have a sequence of images which makes the illusion of that
animations and rendering those images to the screen. In cocos2D it can be done in two ways, with sprite sheet
animation and without sprite sheets. Here we are going to see how it can be done with out sprite sheet.
CCAnimation *sitDown = [CCAnimation animationWithName:@"sitDown" delay:0.1f];
[sitDown addFrameWithFilename:@"sit1.png"];
[sitDown addFrameWithFilename:@"sit2.png"];
[mySprite addAnimation:sitDown];
id sitAction = [CCAnimate actionWithAnimation:sitDown restoreOriginalFrame:YES];
[yourSprite runAction:sitAction];
Here CCAnimation holds a series of images known as Frames and CCAnimate is simply the action which will run the
CCAnimation. Simple.
Suppose that we have two images named, sit1.png and sit2.png which simulates a sitting animation of our sprite. First
we have added that images/frames to our CCAnimation object sitDown. Then we CCAnimate our CCAnimation frames and
deploy those actions to our sprite. We can set the delay time between the individual frames in CCAnimation. Also we can restore the original image before sprite animation after animatin completes or not!That’s it.
We will later see in here how Sprite Animations can be done by using Sprite Sheets. Keep in touch.
Use CCMenuItemSprite and CCMenu in iPhone to create menu.
-(void) setUpMenu
{
CCSprite *Home1 = [CCSprite spriteWithFile:@"Home1.png"];
CCSprite *Home2 = [CCSprite spriteWithFile:@"Home1.png"];
Home2.opacity = 100;
CCSprite *Levels1 = [CCSprite spriteWithFile:@"levels2.png"];
CCSprite *Levels2 = [CCSprite spriteWithFile:@"levels2.png"];
Levels2.opacity = 100;
CCSprite *Refresh1 = [CCSprite spriteWithFile:@"refresh.png"];
CCSprite *Refresh2 = [CCSprite spriteWithFile:@"refresh.png"];
Refresh2.opacity = 100;
CCSprite *go_back1 = [CCSprite spriteWithFile:@"back2.png"];
CCSprite *go_back2 = [CCSprite spriteWithFile:@"back2.png"];
go_back2.opacity = 100;
CCMenuItemSprite *top_menuSprite1 = [CCMenuItemSprite itemFromNormalSprite:Home1 selectedSprite:Home2 target:self selector:@selector(goHome)];
CCMenuItemSprite *top_menuSprite2 = [CCMenuItemSprite itemFromNormalSprite:Levels1 selectedSprite:Levels2 target:self selector:@selector(goToLevelSelection)];
CCMenuItemSprite *top_menuSprite3 = [CCMenuItemSprite itemFromNormalSprite:Refresh1 selectedSprite:Refresh2 target:self selector:@selector(reloadGame)];
CCMenuItemSprite *top_menuSprite4 = [CCMenuItemSprite itemFromNormalSprite:go_back1 selectedSprite:go_back2 target:self selector:@selector(menuGoBack)];
top_menu = [CCMenu menuWithItems:top_menuSprite1,top_menuSprite2, top_menuSprite3 ,top_menuSprite4, nil];
[top_menu alignItemsVerticallyWithPadding:10.0f];
top_menu.position = ccp(240,160);
[self addChild:top_menu z:2];
}
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 the centre of the screen in Landscape mode.
Hi,
For removing the forces applied to your Box2D bodies, use the following line of code.
yourWorld->ClearForces();
Here ‘yourWorld’ is the your box2D world.
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 soon,” Gartner analyst Sandy Shen said in an interview. “China Telecom is the nation’s smallest carrier, so the extent to which they can help Apple is quite limited.”
Read more about this story from here.
http://www.bloomberg.com/news/2012-03-11/iphone-fails-to-gain-china-share-as-samsung-lead-triples-tech.html