Friday, June 1, 2012

UIScreen Features and its good use .

Hi :)


We can use the UIScreen features at many places in the application.
What does UIScreen do.
UIScreen is equivalent to the device's internal screen.
It simply returns the info about our device screen.

For example if you go to Console and find output for the following things
CGRect bounds1=NSStringFromCGRect([[UIScreen mainScreen] bounds]); //Returns bounds of the iphone screen.
CGRect  bounds2=  NSStringFromCGRect([[UIScreen mainScreen] applicationFrame]); 
//Return application frame. it it has the status bar hidden  then it will return 
bounds height -20 pixels.

Lets log the following results
NSLog(@"UIScreen bounds:  %@ UIScreen Application Frame : %@", bounds1,bounds2);

Output:
UIScreen bounds:  {{0, 0}, {320, 480}} UIScreen Application Frame : {{0, 20}, {320, 460}}

This features  can help us to avoid long lines of codings. 

Hope you enjoy it, for any questions ask me in the below section. 

 




















Thursday, May 31, 2012

How to Update iphone 3gs to 5.1.1 Jailbreak with redsn0w untethered baseband 16.15.00

Hello Everyone,
It was very frustrating for me to sit until 4 am in the morning trying to figure out how to update my iPhone (4.2) to iOS 5.1.1.

After lots of boots , hits and trials  I finally figure out this.

You can not Downgrade your device (So Easily) if you have forgotten to store your blobs on sauric while you jailbreak for the first time.

So now, here is a way to Jailbreak your device (With Sim Card Working on it)


Download the following

a. Red Snow 0.9.6b4
Link:http://osxdaily.com/2012/05/07/ios-5-1-1-download-links/


b. ipsw for iOS 5.1 :
Link: http://appldnld.apple.com/iOS5.1.1/041-4347.20120427.o2yov/iPhone2,1_5.1.1_9B206_Restore.ipsw


c. To unethered your device download the following package

http://www.iphonehacks.com/2012/05/rocky-racoon-5-1-1-untether-updated.html 


d. , then modify it, then ultrasnowfixer for this
 1. Install ultrasnow
2. add following repo for ultra snow fixer
    http://repo.iparelhos.com  (Ultrasn0w fixer )Install one corresponding to 5.1.1 (I think first one)
3. Install Unethered jailbreak solution for boot from cydia
Link: http://www.iphonehacks.com/2012/05/rocky-racoon-5-1-1-untether-updated.html


In the end your device might say , (No sim card inserted) , to get rid of this, do the following.
Its because your baseband firmware has been modified, you need to reflash your base band.

Launch redsnow
select ipsw
come back
select jail break
select following options based on situation.
if you are already jailbroken the don't check cydia and only check flash your baseband. , if you are not jail broken install cydia and flash baseband both


Restart your device and now cross your finger insert the sim , hope everything works fine.



 









Friday, June 11, 2010

Basic about iPhone development.

After struggling for quite a while to find a good documentation on iPhone SDK I decided to come up with a set of tutorials that I’m gonna do while learning the iPhone OS API myself. Official documentation found on Apple’s web site still suffers from being not clear enough and it’s not very obvious where the starting point is – whether it is the Objective-C 2.0 intro or the iPhone OS intro. Objective-C guide is hard to understand without real world example, and iPhone OS intro is too complicated to read without some basic knowledge of Objective-C. Just look at the ‘HelloWorldClassic’ example which is hundreds of lines long and makes your head go around when you look at it.

Luckily we have dozens of bloggers around and hundreds of non-official tutorials available everywhere online. As a newcomer to the Mac OS X and a person who has zero amount of experience in Cocoa programming I decided that programming for the desktop would be a better start than programming under the similar framework for the mobile device. Apple clearly states that iPhone Cocoa Touch development workflow is similar to development experience under desktop version of Cocoa, but due to the hardware specifics the Cocoa Touch has both limitations and advantages over the desktop platform. I think it is clear now that the good starting point would be the Cocoa ‘Hello World’ application, where you can get familiar with the IDE and the programming language itself. It turns out that most tutorials that are available online were created for the Xcode 2 and the older version of Objective-C, but still I was able to find some great resources that were a great push in development in Xcode IDE.
Particularly the YouTube videos by lammig were useful by showing the connection between the Interface Builder and actual coding in Xcode. Although Apple has demoed the Interface Builder for iPhone, in the original beta release of the SDK the Interface Builder for iPhone Cocoa Touch is unavailable, but Apple promised that it is not going to be a lot different from using the Interface Builder for original Cocoa for desktop platform.

This is it for today, but I’m currently building a small tutorial on how to build a lighter version of ‘Hello World’ application. By saying ‘lighter’ I mean something that is more compact and readable than the one Apple has on its iPhone Developer Center web site.
If you have knowledge of C and C++ (Not very advance) then your path way to iPhone development will be very easy.

DON'T WORRY!!! Tomorrow I will make you iPhone programmer. We will make simple
iPhone programme. The "Hello World" Programme.


Then in next tutorial, I will make you familiar with 'IBOutlet' and 'IBAction',and '@prorperty ' . Some of the most confusing words we see in the starting. ;)

Until then, have nice time and keep smyling. :)

Thursday, June 10, 2010

New iPhone Apps Put You in the Mix

People always say that an app phone — an iPhone or Android, for example — is like a cross between a phone and a laptop. Sorry, but that’s nuts.


The Mix Me In2 app gives listeners the ability to cut out the track or tracks they don’t want so they can play or sing with Taylor Swift.



An app phone is equipped completely differently from either a phone or a laptop. It has a touch screen, audio inputs and outputs, video inputs and outputs, GPS, tilt sensor, light sensor, proximity sensor, three different kinds of wireless connections — it’s an utterly different beast. You can’t draw a straight-line graph that connects a cellphone, app phone and laptop; you’d need a triangle.

The result of this unique equipment list is that an app phone can run apps (small, dedicated-purpose programs) the likes of which the world has never seen before. Among the 200,000 programs available for the iPhone, for example, two new ones hammer home the point. Both are intended to transform your subpar singing voice into something professional and amazing, both represent a compelling intersection of pop culture and pop tech, and both rely on the iPhone’s unique feature inventory to do it.

Both will bring you more satisfying, creative joy than you’d ever expect from a phone.

First, here comes Mix Me In2 Taylor Swift, which is expected to arrive on the iTunes app store around June 20. (Culture check: Taylor Swift is the 20-year-old pop star who’s billed as the most-downloaded singer in the world. She’ll unveil the app officially at a 13-hour Taylorfest in Nashville this Sunday.)

This $3 app comes with two of Ms. Swift’s hits (“Love Story” and “You Belong With Me”). When you open the program and tap a song, you see little Guitar Hero-style, jerkily animated avatars of the singer and her band and the familiar recording begins.

But now for the fun part. You can tap one of the characters — the drummer, bass player, guitarist, singer, whatever — to open a new screen, where you can fiddle with the mix. For example, you can make Taylor’s voice quieter relative to her band, or shut her up completely.

You can also listen to that track in isolation, or even replace the instrument, changing the acoustic guitar with, say, a rock guitar or keyboard track.

For inspiration, you can listen to a few ready-made remixes, where all the decisions have been made for you. You can try out “Love Story” in a gritty urban version, an acoustic coffeehouse version, a piano-only version and so on.

In fact, there’s even a Record button. You can replace Taylor’s singing with your own, leading a mutiny of her band with no legal consequences whatsoever. The company says you can buy a special cable to connect a guitar, so you can replace that track, too.

When you’ve tweaked your mix, the company says you’ll be able to post it online, either on its own Web site (mixmein.com) or Taylor Swift’s. (Neither feature is in place yet.) More Swift songs will be available for $2 each, and the company says that it will be adding from other groups in rapid succession over the coming months.

Remixing commercial pop songs isn’t entirely new; over the years, Nine Inch Nails, Beck and other bands have offered albums in “dial up your own mix” editions. But being able to do it right on your phone is far better than doing it on your PC. The Taylor app is a fascinating time-killer when you’re stuck in line somewhere or waiting for your plane or, considering Taylor Swift’s audience, for your mom to pick you up.

The Taylor Swift app uses some clever technology, but I’ll admit that it lit up my 11-year-old daughter’s eyes a lot more than my own. The new Glee app, though, is another story.

“Glee,” of course, is the TV show about a competitive high-school pop chorale, all misfits with great voices (and, apparently, professional arrangers and recording engineers). The TV show’s plot and humor are fine, but it’s the pop-song performances that have made it so crazy popular.

The Glee app ($1) pushes all of it over the top.

It comes with the backup band and vocals for three songs from the show (“Rehab,” “Somebody to Love” and “You Keep Me Hanging On”); you can buy additional songs for $1 each, right from within the app (“Imagine,” “Lean on Me,” “Can’t Fight This Feeling” and so on.) These are absolutely beautiful, gorgeously performed backing tracks. All they need is your voice.

So far, though, this is just Music Minus One on a phone. The thrill begins once you start singing into this app. You cannot sound bad. Period.



The software uses a special, gentle version of auto-tune, the recording effect that rounds off your notes to the nearest correct pitch. (Most pop singers today are, in fact, routinely auto-tuned during the recording process.) You’re also given generous reverb and other effects; it’s the high-tech version of singing in the shower.
Enlarge This Image

Mix Me In2 is expected to add songs from other groups in rapid succession over the coming months.


The latest in technology from the Times’s David Pogue, with a new look.


But the app also somehow multiplies you, duplicates your own vocal line and assigns your clones to other notes. Now you’re singing in lush four-part harmony with yourself, with absolutely zero effort. If you can carry a tune, you can turn off the processing and go it alone.

The result — professional backup band, you processed to sound gorgeous and perfect — is exhilarating, no matter how rotten a singer you are. It’s pop-star fantasy fulfillment for a buck, and everyone who tries it goes nuts.

There’s a giddy social aspect to the Glee app, too; you can release your finished recordings via Facebook, Twitter, MySpace or e-mail. Apparently Smule, the company behind the Glee app, has more liberal lawyers than the Mix Me In people.

If you gain 50 or 100 fans on a certain recording you’ve made, you unlock new songs without having to pay for them.

You can also listen in to other people’s recordings or — and here’s where things get heady — add new tracks to them. The Internet is spinning with Glee-app recordings featuring quartets of people who will never meet in person, but sound great together.

That the Glee app should be so technically, musically and cultural successful is no surprise. Its creator, Smule (co-founded by Ge Wang, a Stanford computer-music professor) is also behind two earlier iPhone hits. There’s Ocarina, which turns your iPhone into an actual wind instrument, complete with fingering, and I Am T-Pain, a fun but less ambitious auto-tune app.

Recording your own stuff on both Mix Me In and Glee requires an iPhone, iPad or iPod Touch, second-generation or later. The Touch and original iPhone models require an external mike, like the one on Apple earbuds.

What both apps teach you along the way is that to sound like a pop star, technical singing talent is not necessarily a prerequisite. (This is especially apparent when, ahem, you isolate Taylor Swift’s vocal track in her app.) With these apps, you now have the same support structure the pros do. You get all the benefits of state-of-the-art vocal processing — and even a taste of the public adoration — that comes with being a star.

The most exciting part, though, may not be what these apps can do for you and your previously thwarted singing career; it’s what app phones themselves are doing for culture. They’re combining technology and art in crazy new ways. When has $1 ever bought you so much happiness?

AT&T Said to Expose iPad Users’ Addresses

A group of hackers said Wednesday that it had obtained the e-mail addresses of 114,000 owners of 3G Apple iPads, including those of military personnel, business executives and public figures, by exploiting a security hole on AT&T’s Web site.
Enlarge This Image
Gawker

Gawker published some of the information it said it received from a hacking group, obscuring some details.



The group, which calls itself Goatse Security and says it specializes in exposing security vulnerabilities, also obtained the identification number that those iPads use when they communicate over AT&T’s network, known as an ICC-ID, according to a member of the group who agreed to speak on condition of anonymity.

AT&T acknowledged the breach, which was first reported by Gawker late Wednesday, but the company sought to minimize its importance.

“AT&T was informed by a business customer on Monday of the potential exposure of their iPad ICC-IDs,” AT&T said in a statement. “The only information that can be derived from the ICC-IDs is the e-mail address attached to that device.”

AT&T said that by Tuesday it had turned off the feature on its Web site that allowed the group to find the e-mail addresses.

Apple did not respond to a request for comment.

The incident is likely to be a public relations black eye for AT&T, which is Apple’s partner for wireless service on the iPhone and iPad in the United States. But security experts said it was not clear whether the breach would have serious consequences for those whose information was obtained.

Even in the wrong hands, e-mail addresses are of limited use beyond sending junk e-mail or attempting to pull people in with so-called phishing attacks, security experts said. What is more, e-mail addresses can be easy to guess. Members of the military are permitted to use only unclassified addresses on devices like the iPad.

But experts said that ICC-ID numbers could, in the right hands, be used to get other information, like an iPad’s location.

The breach “should be worrying people a lot,” said Nick DePetrillo, an independent security consultant.

Michael Kleeman, a communications network expert at the University of California, San Diego, said that AT&T should never have stored the information on a publicly accessible Web site. But he added that the damage was likely to be limited.

“You could in theory find out where the device is,” Mr. Kleeman said. “But to do that, you would have to gain access to very secure databases that are not generally connected to the public Internet.”

The list of e-mail addresses included military personnel, staff members in the Senate and the House, and people at the Justice Department, NASA and the Department of Homeland Security, said the group member. Private-sector addresses that were exposed include those of executives at The New York Times Company, Dow Jones, Condé Nast, Viacom, Time Warner, the News Corporation, and HBO, the person said.

AT&T said it would notify affected customers. “We apologize to our customers who were impacted,” it said.

Nick Bilton contributed reporting.

Wednesday, June 9, 2010

Confusion with basic view class method.('atIndex')

Hell friends,
Today I will solve your confusion with view class methods.

The main confusion comes with following command.


[self.view insertSubview:aView atIndex:0];


In bove command the term atIndex , what does it show, it makes guys confused as heck.

the term atIndex is actually the indexing of the view hierarchy in your nib files.





While you write this line , it means 'aView' wil be inserted just above the view (the self.view) e.g if there were two labels label1 and label2 on the view in our nib, and if we had written this



[self.view insertSubview:aView atIndex:1];





Then 'aView' would have been between first label and second label .(think)

I hope you have got the concept down. If you need any help please comment.

iPhone gets jump on rivals with new applications

SAN FRANCISCO: Apple Inc’s iPhone is outdistancing the pack of phones that use Google’s rival software, thanks to video-calling features, a sharper screen and its array of 225,000 applications, analysts said.

The iPhone 4, unveiled on Monday by chief executive officer Steve Jobs, is thinner, has better resolution and adds a front- facing camera. It also sports a new type of glass and a stainless-steel band that Apple says is designed to improve network reception.

Apple is counting on the product to fend off mounting competition from Android, a smartphone operating system developed by Google Inc. The iPhone is evolving fast enough to keep competitors at bay, even if the new version lacks any major surprises, said William Kreher, an analyst at Edward Jones in St. Louis.

“They remain the technology innovation leader,” Kreher said in an interview with Bloomberg Television. “While nothing was really revolutionary in terms of the new features , I think that Apple took a nice step forward.”

Jobs, who unveiled the phone at the company’s developer conference in San Francisco, downplayed the threat from Android. The iPhone was the No 2 smartphone in the US in the first quarter, with a 28% share, he said, citing Nielsen data. Research In Motion ranked first, with a 35% share, while Android-based devices accounted for 9%.

GIZMODO LEAK

Though many of the iPhone 4’s enhancements were expected, a prototype of the iPhone was dissected and photographed by technology blog Gizmodo.com in April, the upgrade provides Apple with some exclusive capabilities, said Shaw Wu, an analyst with Kaufman Bros. LP in San Francisco. “The new features and software further differentiate the iPhone from competitors,” he said. Wu recommends buying the shares, which he doesn’t own.

Even so, the new abilities come with caveats. The videocalling program, called FaceTime, will be limited to Wi-Fi networks for now. That means customers won’t be able to make video calls using AT&T Inc, the exclusive US wireless carrier for the iPhone.

And while the phone can tap fourth-generation networks, that technology won’t be ready from AT&T until the middle of next year. In a reminder that Apple’s new features are dependent on the reliability of wireless networks, Jobs struggled to get some new tools to work during his presentation .

WI-FI DISRUPTION

The trouble stemmed from a bad Wi-Fi connection, rather than AT&T’s service. Jobs asked attendees to shut off the wireless connections on their computers and mobile hot spots because of interference, saying, “I’d like you to look around and police each other.”

When Apple’s first iPhone appeared in 2007, its touch- screen design and app-based interface shook up the market. Research In Motion and other mobile-phone makers clambered to add similar features to their devices. Since then, the industry’s rapid-fire advancements have made it harder for an upstart to catch up quickly, said Charles Golvin, an analyst at Cambridge, Massachusetts-based Forrester Research Inc.

Followers