Check out this password generator app that shows various techniques including using a data container singleton object to share data between objects in your project.
okay, thanks for the quick reply. not possible to make an app that apple would approve or technologically not possible with the phone hardware itself?
what about an app that pulls information from another app running in the background?
like an app that pulls gps speed information from tomtom and displays it? because tom tom is actually fully running in the background, right?
thanks
Not possible with the tools that Apple provides to you. Might be possible with the hardware if you jailbreak the device, but I honestly don't know. iOS is not designed to do true multitasking at all. Only one app at a time is really running, and only one app at a time is able to draw to the screen. Other apps get limited background time, and only under very limited, controlled circumstances. Doing anything else would require major hack-and-slash surgery on the fundamental design of the OS (like putting a 4-chambered cow stomach into a human so a human could subsist on grass) , and would very likely have unpleasant (or fatal) side-effects to the phone itself, not just to your apps.
It's also not possible to pull information from another app. Each app in iOS runs in it's own sandbox, and is not able to see or communicate with the other apps on the device, except to launch another app by invoking a URL (which quits the current app.) And no, an app like Tom tom is not "fully running in the background" Even with Apple's apps, which have special privileges, they only get limited background processing time when they are not the front app.
Check out this password generator app that shows various techniques including using a data container singleton object to share data between objects in your project.
I would LOVE to be able to do that, but lay it on top of a different app. There is a tachonometer app that listens to engine noise and is able to calculate rpm on the fly this way, but it does not have any gps speed or anything....
this thread is related to my other thread about using the iphone as a dash for motorcycles, if you havent gathered that yet.
If I could lay a speed bubble on top of the tacho app, then everything would be good to go. It would be a cheap try anyway. Might have to run a microphone to a wind isolated spot near the engine if it gets confused with wind noise from riding.
this app is close, but it is a calculated rpm based off of gear and current speed. would be okay for a single gear motorcycle
these are all jailbreak type things to do, I am not familiar with this forum yet, is this something that is dealt with hear or is this strictly for "legit" app development that will then go through apple? thanks