On Tue, Aug 23, 2011 at 10:22:07AM +0100, Nic Wise wrote:
> Absolutely, yes.
> 
> you have 2 options for this:
> 
> 1. you can write a satnav-like solution, similar to TomTom or MapMyRun
> or Runkeeper. These stay running in the background and get location
> updates as the user moves. The downside is, this chews the battery, so
> it's not something the user  might want to have on all the time. I
> think there might even be API's for "when you enter this area, do X"
> 
> 2. you could use significant location change API's. This means you get
> called when the user has moved a significant amount - usually between
> cell sites. Basically, your app is put to sleep, and woken up when the
> change happens. However, apple's version of "significant" is different
> to mine. I wanted (for eg) every 100m or even 500m. I ended up getting
> 2 change events in a 20 min bus ride in London. Thats not enough, even
> at slow London traffic speeds :)
> 

Thanks. I think #2 will not cut it for the client's needs. Is there
anything one can do to mitigate the battery drainage of #1? Like using
cell tower/wifi for location instead of GPS? (This app will only be used
in urban settings anyway.) And maybe increasing the polling interval? I
don't need the precision of something like Runkeeper.

> 
> So yes, what you describe can be done, and of course can be done in
> MonoTouch (a usual rule of thumb is: if you can do it Obj-C, you can
> do it in MonoTouch, at least with respect to CocoaTouch API's)

That's also good to know.

> 
> The apple docs are good on location change stuff, and I got a copy of
> this: 
> http://www.amazon.co.uk/IPhone-Application-Development-IOS-QuickStart/dp/0321719689
> which has a good section on location-based stuff.
> 
> Now, would apple accept this into the appstore? I'm not sure.....
> thats a question for Apple :)
>

Anything in particular with this concept that you think would make them
disapprove?


Oivvio

-- 
http://liberationtech.net
_______________________________________________
MonoTouch mailing list
[email protected]
http://lists.ximian.com/mailman/listinfo/monotouch

Reply via email to