Helpful Information
 
 
Category: iPhone SDK Development
Retrieve iPhone system log to collect phone usage

Hi all,
I wonder if there is an official way (no jailbreak) to know when a system application (call, sms, ipod etc) has been started and closed.
My aim is to produce an application which collects basic usage of the iPhone and rearrange it in a daily report (how many hours calling, how many hours listening to music, etc).

For doing this, it needs intercept the life cycle of an app in same way: is this possible?

Any clues?

Thanks in advance.

-G-

Hi all,
I wonder if there is an official way (no jailbreak) to know when a system application (call, sms, ipod etc) has been started and closed.
My aim is to produce an application which collects basic usage of the iPhone and rearrange it in a daily report (how many hours calling, how many hours listening to music, etc).

For doing this, it needs intercept the life cycle of an app in same way: is this possible?

Any clues?

Thanks in advance.

-G-

I doubt it. Even in the new SDK, the app you have running is only told when it is going into the background. It doesn't know /why/ it's being put there, no arguments have been passed say "Hey, the iPod App just launched." Your app would have to run outside of it's sandbox to know which apps are being launched, and note the times. Definitely sounds like a Jailbroken app to me.










privacy (GDPR)