Archive for June, 2009

APNs dev/prod crash issue

if you install a dev-provisioned version of your Push Notification app, and then switch to production, and then switch back to dev, you are forever hosed
I wanted to find out if anyone else has run into this, and what you’ve done to deal with it.

Post to Twitter Tweet This Post

iPhone | How to Put an iPhone Into DFU Mode

DFU means Device Firmware Update. If a restore using Recovery Mode doesn’t work you will want to use DFU Mode as a last resort. When placing your iPhone into DFU Mode it does not load the OS before attempting the restore

To put the iPhone into DFU mode so you can do an iTunes firmware restore follow these steps:

Step One
Open iTunes and connect the iPhone to your Mac.

Step Two
Press and hold the Home button and the Sleep/Wake button at the same time.

Step Three
After exactly 10 seconds release the Sleep/Wake button. Continue holding the home button until you iTunes pops up a message telling you that it has detected an iPhone in recovery mode.

The iPhone screen will remain black like this:

NOTE***: It may take a few attempts to get your iPhone into DFU mode. Generally, I hold down both buttons then release the Home button just before I think the Apple logo would appear. If you are still holding both buttons down and you see the Apple logo you are holding them down for too long!

Post to Twitter Tweet This Post

SQA Solution Awarded Contract by Global Leader in Thin Computing for iPhone Application Testing; Expects to Build a long Term relationship

San Francisco, CA. – June 8, 2009 — Today, SQA Solution, Inc. announced that they’ve been selected by Global Leader in Thin Computing as a primary iPhone App Testing provider. The contract includes both on site and On Demand testing services for company’s iPhone application over the next 3 months. SQA Solution, Inc. testing services are available on an as-needed basis throughout the project lifecycle catering to the individual needs of clients
“With a proven track record of managing complex software programs for a number of large agencies, we are delighted that they chose SQA Solution as a partner for testing services,” said Fuad Mak, Co-Founder Test Architect, SQA Solution. “Our consistently high quality ratings, iPhone expertise, proven track record, and experience in testing will help the customer to deliver the highest quality application to the customers.”

About SQA Solution
SQA Solution Technologies, Inc. is a provider of testing services combining global resources with proven program management methodologies serving as an outsource partner throughout a client’s product implementation schedule. Global organizations rely on SQA Solution, Inc. services to deliver quality and bug free software to their customers. Based in San Francisco, California SQA Solution, Inc. maintains offices in 5 countries and providing services under the SQA Solution name. To learn more about the SQA Solution team, visit http://www.SQA Solution.com.

Post to Twitter Tweet This Post

TSR file and smart object identification for object identification in QTP

What will be ideal situation to use descriptive programming to identify object in QTP? What will be ideal situation to use TSR file and smart object identification for object identification in QTP?

Post to Twitter Tweet This Post

TDD Test Driven Development

I have worked on TDD in one project

Pros:
1. Gives good test coverage.
2. Gives a better understanding of the requirements (and not when the UAT is in progress).
3. Increases the code efficiency – you know what the module is supposed to do.
4. Encourages the developer to read the documents.

Cons:
1. Requires co-ordination effort between tester and developer.(trust me its difficult in the start). This also does not give the liberty for the most cranky dev/test resources to work independently over-night.
2. Sometimes the testing needs to wait for dev and vice-versa.

Post to Twitter Tweet This Post

Do’s and Don’ts for App store for iPhone apps

Please share your Do’s and Don’ts when submitting application to the App store

Post to Twitter Tweet This Post

Test Management Tool

Hi All,

Does anyone know a better and cheaper alternative to Test Director or Quality Center? I am trying to find one as its hard to convince management in a small program to spend large sum of money of a Test Management tool even though it has significant benefits.

Any help will be highly appreciated.

Post to Twitter Tweet This Post

Unzip/untar in iPhone application

Anyone wrote any code to extract files from a tar/zip file on the iPhone?

Post to Twitter Tweet This Post

3.0 APIs, anyone using them?

My project keeps complaining of undefined symbols when attempting to use the interface to

SKProductsRequest

for example,

NSSet* myPossibleProds = [NSSet setWithObjects: @"myProd1",
@"myProd2",nil];

SKProductsRequest* myProdRequest = [[SKProductsRequest alloc]
initWithProductIdentifiers : myPossibleProds];

I get the error,

error: ‘SKProductsRequest’ undeclared (first use in this function)

I’ve added the StoreKit.framework to my project.
In build settings, I’ve changed the Base SDK to “iPhone Device 3.0″
What else is needed?

Post to Twitter Tweet This Post

Free memory App for your iPhone

Free Memory is currently one of the top paid applications over at the iTunes App Store. I grabbed a copy since it was within my budget of $0.99 and tried it over the past few weeks.

What’s the purpose of this app? First of all, we know that the iPhone itself does indeed perform multitasking. When you are browsing the web using Safari while at the same time listening to music, that’s multitasking. This also at some occasions, may lead to application crashes.

Now, as the title of this post states it, the geeks in us might want to get a peek under the hood and see how the iPhone OS works. Programmatically, Apple’s SDK allows this to be done, and Recession Apps has managed to do so with the release of an application aptly-titled Free Memory.

Free Memory is a very small app that only requires about 87 kB of free space to install. Once started, the app displays a list of processes currently running, including background tasks which makes it possible for the iPhone to multitask. Free Memory’s value comes in the form of a big button labeled, erm.. “Free Memory”. Depending on the available memory at the time of running, tapping on this button does two things. First, it will attempt to free up to 20 MB of memory. Secondly, if your device currently has more than 20 MB, the app happily lets you know of the fact and does nothing. Yeah, nothing. *grin*

If you are not a geek, then you are probably confused now, with questions like why is my iPhone/iPod touch having only a maximum of 20 MB when the device is supposed to have either 8, 16 or 32 GB of space?

The 20 MB mentioned here refers to the runtime memory, which is a special memory area dedicated for use when an application runs. The numbers 8, 16 or 32 GB refers to the actual storage space that your device has.

Every iPhone/iPod touch comes with 128 MB of available runtime memory. As the device boots up and begins running, these memory area are allocated to the applications that runs. Usually, the system itself takes a large chunk from the available 128 MB and leaves about 40 MB for the user.

But then, as mentioned earlier, once you start using your device, the available memory begins to reduce. This could sometimes lead to applications closing unexpectedly when the available memory is low. If you have been shopping for games in the iTunes App Store, you would have probably noticed some developers stating that a reset of your device is recommended after installing. Resetting your device helps free up some memory but it takes quite some time. Free Memory fills this gap by letting you free up memory without resetting the device.

Free Memory’s info page does mention about quitting an application by holding the Home button for a while. I tried this and realised that this procedure actually force quits the running application. I experimented by force quitting Safari and then running Free Memory immediately. There’s a process called ReportCrash that appears for a little while and then quits.

One other method I found that allows you to quit Safari safely without forcing it is to close all windows, leaving only one empty window before quitting the app by pressing the Home button once.

As for Free Memory, at a so-cheap rate of only $0.99 a copy, I’d definitely recommend this app to everyone (including the geeks inside of you) who constantly try new apps/games from the iTunes App Store. Not only do you not need to reset your device again, you will also reduce the number of potential crashes when you run a lot of applications in succession.

Post to Twitter Tweet This Post