Re: an app that never quits

2009-09-22 Thread Bill Bumgarner
On Sep 22, 2009, at 9:41 PM, Erick Calder wrote: no need to state the obvious. if Clock can do what it does, then it's possible to do it... I'm interested to know how I can do the same thing You can't. End of thread. b.bum ___ Cocoa-dev mail

Re: an app that never quits

2009-09-22 Thread Erick Calder
On Sep 22, 2009, at 9:53 PM, Marco S Hyman wrote: no need to state the obvious. if Clock can do what it does, then it's possible to do it... I'm interested to know how I can do the same thing You are limited to using public APIs. You have to agree to that to get the iphone SDK. Apple do

Re: an app that never quits

2009-09-22 Thread dangerwillrobinsondanger
perhaps I an ask the question differently: if you wanted to be able to respond to physical events (say the location of the phone, or time of day, etc.) throughout the day in some unattended fashion, how would you do it? What u r wanting is a system enhancement that would offer notifications fo

Re: an app that never quits

2009-09-22 Thread Roland King
Erick Calder wrote: On Sep 22, 2009, at 9:30 PM, Bill Bumgarner wrote: Because the alarm clock application -- an application written by Apple -- is implemented to work that way. no need to state the obvious. if Clock can do what it does, then it's possible to do it... I'm interested t

Re: an app that never quits

2009-09-22 Thread Erick Calder
On Sep 22, 2009, at 9:30 PM, Bill Bumgarner wrote: On Sep 22, 2009, at 9:30 PM, Erick Calder wrote: I had a thought: how do alarms work? the application (the Clock) isn't running all the time, yet, 7am the alarm goes off... how did the Clock get itself started (without my permission)? and

Re: an app that never quits

2009-09-22 Thread PCWiz
There are few ways I know of that would make this possible. One way is a daemon, which is started every time the computer starts (or possibly when you log in). The daemon then runs in the background and provides notifications when necessary. Another way this is possible (a more commonly use

Re: an app that never quits

2009-09-22 Thread Bill Bumgarner
On Sep 22, 2009, at 9:30 PM, Erick Calder wrote: I had a thought: how do alarms work? the application (the Clock) isn't running all the time, yet, 7am the alarm goes off... how did the Clock get itself started (without my permission)? and if you look at the alarms... there is no Clock win

Re: an app that never quits

2009-09-22 Thread Erick Calder
I had a thought: how do alarms work? the application (the Clock) isn't running all the time, yet, 7am the alarm goes off... how did the Clock get itself started (without my permission)? and if you look at the alarms... there is no Clock window! it's just a message of some kind... so how d

Re: an app that never quits

2009-09-22 Thread Rob Keniger
On 23/09/2009, at 1:06 PM, Erick Calder wrote: perhaps I an ask the question differently: if you wanted to be able to respond to physical events (say the location of the phone, or time of day, etc.) throughout the day in some unattended fashion, how would you do it? You can't. the thoug

Re: an app that never quits

2009-09-22 Thread Erick Calder
On Sep 22, 2009, at 4:27 PM, Jens Alfke wrote: On Sep 22, 2009, at 3:44 PM, Erick Calder wrote: one final recourse of a solution for me: is there such a thing as cron on the iPhone whereby I could schedule a bit of processing to occur every x seconds? No. The current policy on the OS is t

Re: an app that never quits

2009-09-22 Thread Erick Calder
On Sep 22, 2009, at 5:49 PM, Julien Jalon wrote: Note that when filing this kind of bug, it's always better to explain more precisely your use case (not just "let me have background processes!") as it might help design a suited solution within the constraints of the device (same way "Push n

Re: an app that never quits

2009-09-22 Thread Julien Jalon
Note that when filing this kind of bug, it's always better to explain more precisely your use case (not just "let me have background processes!") as it might help design a suited solution within the constraints of the device (same way "Push notifications" was proposed to solve many use cases) --

Re: an app that never quits

2009-09-22 Thread Jens Alfke
On Sep 22, 2009, at 3:44 PM, Erick Calder wrote: one final recourse of a solution for me: is there such a thing as cron on the iPhone whereby I could schedule a bit of processing to occur every x seconds? No. The current policy on the OS is that 3rd party code does not execute unless the

Re: an app that never quits

2009-09-22 Thread Erick Calder
On Sep 22, 2009, at 9:06 AM, Jens Alfke wrote: On Sep 21, 2009, at 11:31 PM, Kyle Sluder wrote: On Mon, Sep 21, 2009 at 11:30 PM, Erick Calder wrote: wow. ok. I guess that's not going to help much then. I must say that without daemons the range of applications possible seems rather qui

Re: an app that never quits

2009-09-22 Thread Erick Calder
On Sep 22, 2009, at 3:01 AM, Greg Reichow wrote: The Apple iPhone Developer Forum is at- https://devforums.apple.com/community/iphone You will need to log in using your dev account. thanks for the link. are you using it? I see a "Log in now" button which, when I press, returns me to the

Re: an app that never quits

2009-09-22 Thread Erick Calder
On Sep 21, 2009, at 11:31 PM, Kyle Sluder wrote: On Mon, Sep 21, 2009 at 11:30 PM, Erick Calder wrote: wow. ok. I guess that's not going to help much then. I must say that without daemons the range of applications possible seems rather quite narrow to me. Background processing is a mu

Re: an app that never quits

2009-09-22 Thread Jens Alfke
On Sep 21, 2009, at 11:31 PM, Kyle Sluder wrote: On Mon, Sep 21, 2009 at 11:30 PM, Erick Calder wrote: wow. ok. I guess that's not going to help much then. I must say that without daemons the range of applications possible seems rather quite narrow to me. Background processing is a m

Re: an app that never quits

2009-09-22 Thread Greg Reichow
The Apple iPhone Developer Forum is at- https://devforums.apple.com/community/iphone You will need to log in using your dev account. Best of luck with your application. While the lack of background processing is problematic for many applications, there is still a large variety of apps t

Re: an app that never quits

2009-09-21 Thread Kyle Sluder
On Mon, Sep 21, 2009 at 11:30 PM, Erick Calder wrote: > wow.  ok.  I guess that's not going to help much then.  I must say that > without daemons the range of applications possible seems rather quite narrow > to me. Background processing is a much-desired feature. You can add your voice by filin

Re: an app that never quits

2009-09-21 Thread Erick Calder
On Sep 21, 2009, at 1:21 PM, Sixten Otto wrote: On Mon, Sep 21, 2009 at 4:15 PM, Erick Calder wrote: ok, perhaps there's another way I can solve my problem. I have a little app called Trapster that uses something called "push technology"... I think what it means is that some server can sen

Re: an app that never quits

2009-09-21 Thread Sixten Otto
On Mon, Sep 21, 2009 at 4:15 PM, Erick Calder wrote: > ok, perhaps there's another way I can solve my problem.  I have a little app > called Trapster that uses something called "push technology"... I think what > it means is that some server can send my app a signal and even though the > app isn't

Re: an app that never quits

2009-09-21 Thread Erick Calder
On Sep 21, 2009, at 8:54 AM, Greg Reichow wrote: Possible - yes Possible without violating your developer agreement - No ok, perhaps there's another way I can solve my problem. I have a little app called Trapster that uses something called "push technology"... I think what it means is tha

Re: an app that never quits

2009-09-21 Thread Clark Cox
On Sat, Sep 19, 2009 at 9:07 AM, Erick Calder wrote: > I want to write a daemon for the iPhone.  my goal is to record the > orientation of the phone across time for later analysis.  I am unsure how > this could be done since it seems only one application gets to run at a time > i.e. when the user

Re: an app that never quits

2009-09-21 Thread BJ Homer
On Sat, Sep 19, 2009 at 1:07 AM, Erick Calder wrote: > I want to write a daemon for the iPhone. my goal is to record the > orientation of the phone across time for later analysis. I am unsure how > this could be done since it seems only one application gets to run at a time > i.e. when the user

Re: an app that never quits

2009-09-21 Thread Dave DeLong
Unless you're running your app on a jailbroken iPhone, or you leave your app running all the time, what you are asking is not possible. IIRC, when the user takes a call, your app does not necessarily terminated, but the user can choose to switch to the phone app, which would kill your app.

an app that never quits

2009-09-21 Thread Erick Calder
I want to write a daemon for the iPhone. my goal is to record the orientation of the phone across time for later analysis. I am unsure how this could be done since it seems only one application gets to run at a time i.e. when the user takes a call my program quits. can this be done? than