Location-Based Push Message?

JOHN PATTEN johnpatten at mac.com
Thu Nov 15 19:22:46 EST 2012


Hi Monte…

How accurate would the location location external identification be? If for example I was on a school campus, could it distinguish between classrooms? Or if I was at a conference, between meeting rooms?

Just thinking out loud…

Thank you!


On Nov 15, 2012, at 3:10 PM, Monte Goulding <monte at sweattechnologies.com> wrote:

> If I were limited to just what the engine provides then that's the way I'd do it. If I needed this function I would write the external though. The user just needs to run the app once and from then it will work. There's no other way on any platform because how else can you find the users loc or uuid or anything?
> 
> --
> M E R Goulding
> Software development services
> 
> mergExt - There's an external for that!
> 
> On 16/11/2012, at 10:05 AM, Dan Friedman <dan at clearvisiontech.com> wrote:
> 
>> Monte,
>> 
>> So, your saying that in the confines of LC, it can't be done... not without the app running and polling the location every so often?
>> 
>> -Dan
>> 
>> 
>>> I think it would be. First step is to remove the exits on suspend plist entry and add UIBackgroundModes location. Then check the location every so often and send a local notification when in the right area. There are better/lower battery power solutions if you don't need a high level of accuracy but this is the only way without an external to add some more core location features. For example with an external you could define a location and radius and have your app woken in the background to do something when the user went in or out which I think would do exactly what you need if you send a local notification when woken...
>> 
>>>> Is it possible to send a push message to users of an app that are within a given location?  For example, I want to send a push message to all users of my app that are within a 1/2 mile radius of a given latitude and longitude.
>> 
>> _______________________________________________
>> use-livecode mailing list
>> use-livecode at lists.runrev.com
>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
>> http://lists.runrev.com/mailman/listinfo/use-livecode
> 
> _______________________________________________
> use-livecode mailing list
> use-livecode at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode





More information about the use-livecode mailing list