how to make app continue running when phone is suspended

hi,

i’m making a gps fitness App that uses the GPS and tracks your progress, and like ALL other fitness applications out there, i want mine to also work and track me when the phone is suspended (ie, got a call or phone screen went black, or minimized the application) 

the problem is when the application if suspended the gps or any other aspect of my app just don’t run …

please how may i fix it so when it is suspended it continues to track my progress and run the code ?

thanks ! 

shay

I don’t believe this is possible with Corona at present. To be sure, take a good look at the API documentation. Failing that, it might be a good project for a plugin.

It’s not possible with Corona SDK on Android.  While Apple supports some background modes, Corona SDK does not provide support for backgrounded apps and there is no guarantee that it will work with future builds. 

I don’t believe this is possible with Corona at present. To be sure, take a good look at the API documentation. Failing that, it might be a good project for a plugin.

It’s not possible with Corona SDK on Android.  While Apple supports some background modes, Corona SDK does not provide support for backgrounded apps and there is no guarantee that it will work with future builds. 

would this be possible by using corona enterprise? I am thinking about buying it

The normal answer is usually if you can do it on Objective C you can do it in Enterprise.  However the reason that it’s not background safe probably would not be impacted with the Objective C side of things.  It has to do with our code was built with the expectation that Lua would be in the foreground when we call to it.   The way I read this that it would be a potential problem even with Enterprise.

would this be possible by using corona enterprise? I am thinking about buying it

The normal answer is usually if you can do it on Objective C you can do it in Enterprise.  However the reason that it’s not background safe probably would not be impacted with the Objective C side of things.  It has to do with our code was built with the expectation that Lua would be in the foreground when we call to it.   The way I read this that it would be a potential problem even with Enterprise.