gps tracker

classic Classic list List threaded Threaded
30 messages Options
12
Reply | Threaded
Open this post in threaded view
|

gps tracker

Todd Geist
Hello,

I need to create an app for iOS ( and Android ) later that sends the phones
location to a central server that I control.  It would have to work in the
background to be most effective.  Is this even possible?  Has one done
something like that?

Thanks

Todd
_______________________________________________
use-livecode mailing list
[hidden email]
Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode
Reply | Threaded
Open this post in threaded view
|

Re: gps tracker

Todd Geist
one more thing, it would have to ping the sever every 5 or ten minutes

Todd

On Wed, May 20, 2015 at 3:21 PM, Todd Geist <[hidden email]>
wrote:

> Hello,
>
> I need to create an app for iOS ( and Android ) later that sends the
> phones location to a central server that I control.  It would have to work
> in the background to be most effective.  Is this even possible?  Has one
> done something like that?
>
> Thanks
>
> Todd
>



--
Todd Geist


(800) 935-6068
_______________________________________________
use-livecode mailing list
[hidden email]
Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode
Reply | Threaded
Open this post in threaded view
|

Re: gps tracker

Monte Goulding
In reply to this post by Todd Geist
You need mergCL ;-)

--
M E R Goulding
Software development services

mergExt - There's an external for that!

> On 21 May 2015, at 8:21 am, Todd Geist <[hidden email]> wrote:
>
> I need to create an app for iOS ( and Android ) later that sends the phones
> location to a central server that I control.  It would have to work in the
> background to be most effective.  Is this even possible?  Has one done
> something like that?

_______________________________________________
use-livecode mailing list
[hidden email]
Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode
Reply | Threaded
Open this post in threaded view
|

Re: gps tracker

rjd318
Todd - I did a functioning mock-up of a courier app for our company a while back using the built-in IOS mobileCurrentLocation functions (if I remember right). I would now use Monte's mergeCL if I had to redo it since I've since become a subscriber to his excellent set of externals.

Also, I was sending the location data every minute to a hosted SQL server back for the dispatcher software to use but then again, if it had to be re-done today, I would use Canela's Livecloud cloud database.


Sent from my iPhone

> On May 20, 2015, at 5:24 PM, Monte <[hidden email]> wrote:
>
> You need mergCL ;-)
>
> --
> M E R Goulding
> Software development services
>
> mergExt - There's an external for that!
>
>> On 21 May 2015, at 8:21 am, Todd Geist <[hidden email]> wrote:
>>
>> I need to create an app for iOS ( and Android ) later that sends the phones
>> location to a central server that I control.  It would have to work in the
>> background to be most effective.  Is this even possible?  Has one done
>> something like that?
>
> _______________________________________________
> use-livecode mailing list
> [hidden email]
> Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode

_______________________________________________
use-livecode mailing list
[hidden email]
Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode
Reply | Threaded
Open this post in threaded view
|

Re: gps tracker

Richard Gaskin
rjd318 wrote:
 > Todd - I did a functioning mock-up of a courier app for our company a
 > while back using the built-in IOS mobileCurrentLocation functions (if
 > I remember right). I would now use Monte's mergeCL if I had to redo
 > it...

Monte does great work, but if mobileCurrentLocation is broken someone
should submit a bug report.

--
  Richard Gaskin
  Fourth World Systems
  Software Design and Development for the Desktop, Mobile, and the Web
  ____________________________________________________________________
  [hidden email]                http://www.FourthWorld.com

_______________________________________________
use-livecode mailing list
[hidden email]
Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode
Reply | Threaded
Open this post in threaded view
|

Re: gps tracker

rjd318
Ah sorry I don't mean to imply it was broken. I didn't have mergext back then 😊

Sent from my iPhone

> On May 20, 2015, at 6:19 PM, Richard Gaskin <[hidden email]> wrote:
>
> rjd318 wrote:
> > Todd - I did a functioning mock-up of a courier app for our company a
> > while back using the built-in IOS mobileCurrentLocation functions (if
> > I remember right). I would now use Monte's mergeCL if I had to redo
> > it...
>
> Monte does great work, but if mobileCurrentLocation is broken someone should submit a bug report.
>
> --
> Richard Gaskin
> Fourth World Systems
> Software Design and Development for the Desktop, Mobile, and the Web
> ____________________________________________________________________
> [hidden email]                http://www.FourthWorld.com
>
> _______________________________________________
> use-livecode mailing list
> [hidden email]
> Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode

_______________________________________________
use-livecode mailing list
[hidden email]
Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode
Reply | Threaded
Open this post in threaded view
|

Re: gps tracker

Skip Kimpel
+1 for mergCL



> On May 20, 2015, at 7:24 PM, rjd318 <[hidden email]> wrote:
>
> Ah sorry I don't mean to imply it was broken. I didn't have mergext back then 😊
>
> Sent from my iPhone
>
>> On May 20, 2015, at 6:19 PM, Richard Gaskin <[hidden email]> wrote:
>>
>> rjd318 wrote:
>>> Todd - I did a functioning mock-up of a courier app for our company a
>>> while back using the built-in IOS mobileCurrentLocation functions (if
>>> I remember right). I would now use Monte's mergeCL if I had to redo
>>> it...
>>
>> Monte does great work, but if mobileCurrentLocation is broken someone should submit a bug report.
>>
>> --
>> Richard Gaskin
>> Fourth World Systems
>> Software Design and Development for the Desktop, Mobile, and the Web
>> ____________________________________________________________________
>> [hidden email]                http://www.FourthWorld.com
>>
>> _______________________________________________
>> use-livecode mailing list
>> [hidden email]
>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
>> http://lists.runrev.com/mailman/listinfo/use-livecode
>
> _______________________________________________
> use-livecode mailing list
> [hidden email]
> Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode

_______________________________________________
use-livecode mailing list
[hidden email]
Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode
Reply | Threaded
Open this post in threaded view
|

Re: gps tracker

Roger Eller
In reply to this post by rjd318
So mergCL is now fully x-plat for mobile devices?
 On May 20, 2015 7:24 PM, "rjd318" <[hidden email]> wrote:

> Ah sorry I don't mean to imply it was broken. I didn't have mergext back
> then 😊
>
> Sent from my iPhone
>
> > On May 20, 2015, at 6:19 PM, Richard Gaskin <[hidden email]>
> wrote:
> >
> > rjd318 wrote:
> > > Todd - I did a functioning mock-up of a courier app for our company a
> > > while back using the built-in IOS mobileCurrentLocation functions (if
> > > I remember right). I would now use Monte's mergeCL if I had to redo
> > > it...
> >
> > Monte does great work, but if mobileCurrentLocation is broken someone
> should submit a bug report.
> >
> > --
> > Richard Gaskin
> > Fourth World Systems
> > Software Design and Development for the Desktop, Mobile, and the Web
> > ____________________________________________________________________
> > [hidden email]                http://www.FourthWorld.com
> >
> > _______________________________________________
> > use-livecode mailing list
> > [hidden email]
> > Please visit this url to subscribe, unsubscribe and manage your
> subscription preferences:
> > http://lists.runrev.com/mailman/listinfo/use-livecode
>
> _______________________________________________
> use-livecode mailing list
> [hidden email]
> Please visit this url to subscribe, unsubscribe and manage your
> subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode
_______________________________________________
use-livecode mailing list
[hidden email]
Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode
Reply | Threaded
Open this post in threaded view
|

Re: gps tracker

Monte Goulding
No sorry Roger, I haven't looked at what's required on Android for similar functionality.

--
M E R Goulding
Software development services

mergExt - There's an external for that!

> On 21 May 2015, at 9:32 am, Roger Eller <[hidden email]> wrote:
>
> So mergCL is now fully x-plat for mobile devices?

_______________________________________________
use-livecode mailing list
[hidden email]
Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode
Reply | Threaded
Open this post in threaded view
|

Re: gps tracker

Roger Eller
That's what I find most frustrating about reading this list.  We have an
x-plat dev environment, so I keep hoping to see mergExt eventually go
x-plat too.  After all, there's a lot of android devices out there these
days.  Monte, you need an evil twin.  ;-)
 On May 20, 2015 8:08 PM, "Monte" <[hidden email]> wrote:

> No sorry Roger, I haven't looked at what's required on Android for similar
> functionality.
>
> --
> M E R Goulding
> Software development services
>
> mergExt - There's an external for that!
>
> > On 21 May 2015, at 9:32 am, Roger Eller <[hidden email]>
> wrote:
> >
> > So mergCL is now fully x-plat for mobile devices?
>
> _______________________________________________
> use-livecode mailing list
> [hidden email]
> Please visit this url to subscribe, unsubscribe and manage your
> subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode
>
_______________________________________________
use-livecode mailing list
[hidden email]
Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode
Reply | Threaded
Open this post in threaded view
|

Re: gps tracker

Richard Gaskin
Roger Eller wrote:

 > That's what I find most frustrating about reading this list.  We have
 > an x-plat dev environment, so I keep hoping to see mergExt eventually
 > go x-plat too.  After all, there's a lot of android devices out there
 > these days.

Last time I used it mobileCurrentLocation is working on Android.

Does it not work in iOS?

--
  Richard Gaskin
  Fourth World Systems
  Software Design and Development for the Desktop, Mobile, and the Web
  ____________________________________________________________________
  [hidden email]                http://www.FourthWorld.com

_______________________________________________
use-livecode mailing list
[hidden email]
Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode
Reply | Threaded
Open this post in threaded view
|

Re: gps tracker

Monte Goulding
In reply to this post by Roger Eller

> On 21 May 2015, at 10:16 am, Roger Eller <[hidden email]> wrote:
>
> That's what I find most frustrating about reading this list.  We have an
> x-plat dev environment, so I keep hoping to see mergExt eventually go
> x-plat too.  After all, there's a lot of android devices out there these
> days.  Monte, you need an evil twin.  ;-)

I don’t need an evil twin. I need a solid sdk and clients that want the features. As I’ve said before the only way mergExt can work is if a client wants something enough to at least part fund me to do it.

I would have done mergMK and mergBanner for Android if I could work out how to get google play services library to play nicely with LiveCode. I actually had agreed to do mergBanner (AdMob) for a client but after spending 2 days banging my head against google play services library I had to tell them I can’t do it. I asked on the engine forum but it didn’t go anywhere…

Cheers

Monte

--
M E R Goulding <http://goulding.ws/>
Software development services
Bespoke application development for vertical markets

mergExt <http://mergext.com/> - There's an external for that!

_______________________________________________
use-livecode mailing list
[hidden email]
Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode
Reply | Threaded
Open this post in threaded view
|

Re: gps tracker

Monte Goulding
In reply to this post by Richard Gaskin

> On 21 May 2015, at 10:36 am, Richard Gaskin <[hidden email]> wrote:
>
> Last time I used it mobileCurrentLocation is working on Android.
>
> Does it not work in iOS?

Does it work in the background? BTW mergCL implements the significant change, region and beacon monitoring which is what Apple want you to do for background location stuff rather than more the energy intensive form as implemented by the engine that you might use in the foreground. It actually wakes your app up from suspension when something happens rather than having it running all the time in the background.

So mergCL <> mobileCurrentLocation. At least on iOS. On Android it might be the same as I haven’t looked at it but it could be that if it doesn’t work in the background it may just need an implementation tweak or something???

Cheers

Monte

--
M E R Goulding <http://goulding.ws/>
Software development services
Bespoke application development for vertical markets

mergExt <http://mergext.com/> - There's an external for that!

_______________________________________________
use-livecode mailing list
[hidden email]
Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode
Reply | Threaded
Open this post in threaded view
|

Re: gps tracker

J. Landman Gay
In reply to this post by Monte Goulding
On 5/20/2015 8:40 PM, Monte Goulding wrote:
> I actually had agreed to do mergBanner (AdMob) for a client but after
> spending 2 days banging my head against google play services library
> I had to tell them I can’t do it. I asked on the engine forum but it
> didn’t go anywhere…

That's too bad. I hope they'll address the Android issues soon. Android
has about 80% of the mobile market now.

--
Jacqueline Landman Gay         |     [hidden email]
HyperActive Software           |     http://www.hyperactivesw.com


_______________________________________________
use-livecode mailing list
[hidden email]
Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode
Reply | Threaded
Open this post in threaded view
|

Re: gps tracker

Monte Goulding

> On 21 May 2015, at 1:29 pm, J. Landman Gay <[hidden email]> wrote:
>
> That's too bad. I hope they'll address the Android issues soon. Android has about 80% of the mobile market now.

It’s not all android externals. Just google play services which has some cool stuff I’d like to make available...

--
M E R Goulding <http://goulding.ws/>
Software development services
Bespoke application development for vertical markets

mergExt <http://mergext.com/> - There's an external for that!

_______________________________________________
use-livecode mailing list
[hidden email]
Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode
Reply | Threaded
Open this post in threaded view
|

Re: gps tracker

Todd Geist
OK well this is great news.   I could use some help getting this built.
Everyone else on my team is booked solid.  Does any one have any time for
sale?

If you do, hit me up back channel at [hidden email]

Thanks

Todd

On Wed, May 20, 2015 at 9:08 PM, Monte Goulding <[hidden email]
> wrote:

>
> > On 21 May 2015, at 1:29 pm, J. Landman Gay <[hidden email]>
> wrote:
> >
> > That's too bad. I hope they'll address the Android issues soon. Android
> has about 80% of the mobile market now.
>
> It’s not all android externals. Just google play services which has some
> cool stuff I’d like to make available...
>
> --
> M E R Goulding <http://goulding.ws/>
> Software development services
> Bespoke application development for vertical markets
>
> mergExt <http://mergext.com/> - There's an external for that!
>
> _______________________________________________
> use-livecode mailing list
> [hidden email]
> Please visit this url to subscribe, unsubscribe and manage your
> subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode
>



--
Todd Geist


(800) 935-6068
_______________________________________________
use-livecode mailing list
[hidden email]
Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode
Reply | Threaded
Open this post in threaded view
|

Re: gps tracker

Richard Gaskin
In reply to this post by Monte Goulding
Monte Goulding wrote:
 >> On 21 May 2015, at 10:36 am, Richard Gaskin wrote:
 >>
 >> Last time I used it mobileCurrentLocation is working on Android.
 >>
 >> Does it not work in iOS?
 >
 > Does it work in the background?

If LiveCode doesn't work in the background, how will Todd be able to use
any function, whether built-in or added on, to retrieve the current
location and send it to a server?

It sounds like what's needed is for LC to adopt current background APIs.
  Is there an RQCC request for that?

--
  Richard Gaskin
  Fourth World Systems
  Software Design and Development for the Desktop, Mobile, and the Web
  ____________________________________________________________________
  [hidden email]                http://www.FourthWorld.com

_______________________________________________
use-livecode mailing list
[hidden email]
Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode
Reply | Threaded
Open this post in threaded view
|

Re: gps tracker

Todd Geist
I believe with mergeCL, the app gets notified when the location changes. If
it is suspended in the background it will awake, and have a brief amount of
time to act before it is suspended again.

Todd

On Thu, May 21, 2015 at 7:25 AM, Richard Gaskin <[hidden email]>
wrote:

> Monte Goulding wrote:
> >> On 21 May 2015, at 10:36 am, Richard Gaskin wrote:
> >>
> >> Last time I used it mobileCurrentLocation is working on Android.
> >>
> >> Does it not work in iOS?
> >
> > Does it work in the background?
>
> If LiveCode doesn't work in the background, how will Todd be able to use
> any function, whether built-in or added on, to retrieve the current
> location and send it to a server?
>
> It sounds like what's needed is for LC to adopt current background APIs.
> Is there an RQCC request for that?
>
> --
>  Richard Gaskin
>  Fourth World Systems
>  Software Design and Development for the Desktop, Mobile, and the Web
>  ____________________________________________________________________
>  [hidden email]                http://www.FourthWorld.com
>
> _______________________________________________
> use-livecode mailing list
> [hidden email]
> Please visit this url to subscribe, unsubscribe and manage your
> subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode
>



--
Todd Geist


(800) 935-6068
_______________________________________________
use-livecode mailing list
[hidden email]
Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode
Reply | Threaded
Open this post in threaded view
|

Re: gps tracker

Richard Gaskin
Todd Geist wrote:
 > I believe with mergeCL, the app gets notified when the location
 > changes. If it is suspended in the background it will awake, and
 > have a brief amount of time to act before it is suspended again.

That would seem useful for handling locations in LC in general.

To paraphrase Steve Jobs, why doesn't it do that?

--
  Richard Gaskin
  Fourth World Systems
  Software Design and Development for the Desktop, Mobile, and the Web
  ____________________________________________________________________
  [hidden email]                http://www.FourthWorld.com



_______________________________________________
use-livecode mailing list
[hidden email]
Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode
Reply | Threaded
Open this post in threaded view
|

Re: gps tracker

Monte Goulding

> On 22 May 2015, at 5:32 am, Richard Gaskin <[hidden email]> wrote:
>
> That would seem useful for handling locations in LC in general.
>
> To paraphrase Steve Jobs, why doesn't it do that?

Well it’s a different API for a start and then there’s the fact that the suspended state is not officially supported by LiveCode. The question has been asked several times why it’s not supported and as far as I know there hasn’t been much of a response. Lots of people have removed the exits on suspend key from the plist without many issues though.

Cheers

--
Monte Goulding

M E R Goulding <http://goulding.ws/> - software development services
mergExt <http://mergext.com/> - There's an external for that!





_______________________________________________
use-livecode mailing list
[hidden email]
Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode
12