Re: sync LC applications

2017-11-25 Thread Mike Kerner via use-livecode
@paolo, I don't do push on android, so I can't tell you much about it.  I'm
doing it on ios.  John Craig wrote a stack a long time ago that I have
tweaked for the purpose.  Somewhere I also have a push server started, but
it isn't ready for the rest of the universe (like most things that I work
on).

On Sat, Nov 25, 2017 at 7:54 PM, Mike Kerner 
wrote:

> That would be a good thing for the community to maintain, I think, too.
>
> On Sat, Nov 25, 2017 at 3:00 PM, Jim Lambert via use-livecode <
> use-livecode@lists.runrev.com> wrote:
>
>> > Paolo wrote:
>> >
>> > I went through this tutorial about push notifications
>> > ...
>> > According to some comments, this technique is is out of date now,
>> because  C2DM has been officially deprecated as of June 26, 2012.
>>
>> Wouldn’t it be nice if the lessons and any other coding examples posted
>> by the Mothership contained a prominent field stating the current viability
>> of that lesson. Also the lesson’s compatibility/incompatibility with
>> various LC versions.
>>
>> Perhaps several fields, something akin to the dictionary’s Edition,
>> Introduced, OS & Platforms fields.
>>
>> And if a technique has been deprecated a link to the current alternative
>> technique, if any.
>>
>> Ditto for extensions & widgets.
>>
>> Jim Lambert
>>
>> ___
>> use-livecode mailing list
>> use-livecode@lists.runrev.com
>> Please visit this url to subscribe, unsubscribe and manage your
>> subscription preferences:
>> http://lists.runrev.com/mailman/listinfo/use-livecode
>>
>
>
>
> --
> On the first day, God created the heavens and the Earth
> On the second day, God created the oceans.
> On the third day, God put the animals on hold for a few hours,
>and did a little diving.
> And God said, "This is good."
>



-- 
On the first day, God created the heavens and the Earth
On the second day, God created the oceans.
On the third day, God put the animals on hold for a few hours,
   and did a little diving.
And God said, "This is good."
___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode

Re: sync LC applications

2017-11-25 Thread Mike Kerner via use-livecode
That would be a good thing for the community to maintain, I think, too.

On Sat, Nov 25, 2017 at 3:00 PM, Jim Lambert via use-livecode <
use-livecode@lists.runrev.com> wrote:

> > Paolo wrote:
> >
> > I went through this tutorial about push notifications
> > ...
> > According to some comments, this technique is is out of date now,
> because  C2DM has been officially deprecated as of June 26, 2012.
>
> Wouldn’t it be nice if the lessons and any other coding examples posted by
> the Mothership contained a prominent field stating the current viability of
> that lesson. Also the lesson’s compatibility/incompatibility with various
> LC versions.
>
> Perhaps several fields, something akin to the dictionary’s Edition,
> Introduced, OS & Platforms fields.
>
> And if a technique has been deprecated a link to the current alternative
> technique, if any.
>
> Ditto for extensions & widgets.
>
> Jim Lambert
>
> ___
> use-livecode mailing list
> use-livecode@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your
> subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode
>



-- 
On the first day, God created the heavens and the Earth
On the second day, God created the oceans.
On the third day, God put the animals on hold for a few hours,
   and did a little diving.
And God said, "This is good."
___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode

Re: sync LC applications

2017-11-25 Thread Jim Lambert via use-livecode
> Paolo wrote:
> 
> I went through this tutorial about push notifications
> ...
> According to some comments, this technique is is out of date now, because  
> C2DM has been officially deprecated as of June 26, 2012.

Wouldn’t it be nice if the lessons and any other coding examples posted by the 
Mothership contained a prominent field stating the current viability of that 
lesson. Also the lesson’s compatibility/incompatibility with various LC 
versions. 

Perhaps several fields, something akin to the dictionary’s Edition, Introduced, 
OS & Platforms fields.

And if a technique has been deprecated a link to the current alternative 
technique, if any.

Ditto for extensions & widgets.

Jim Lambert

___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode

Re: sync LC applications

2017-11-23 Thread paolo mazza via use-livecode
Hi all,
I went through this tutorial about push notifications

http://lessons.livecode.com/m/4069/l/59312-how-do-i-use-push-notifications-with-android
 


According to some comments, this technique is is out of date now, because  C2DM 
has been officially deprecated as of June 26, 2012.


How can we proceed now?


All the best

Paolo



> Il giorno 23 nov 2017, alle ore 10:25, paolo mazza 
>  ha scritto:
> 
> Mike wrote:
>> You can use push without having a notification
>> to the user or setting a badge.  The app will receive the notification and
>> act on it, provided that the app is up and running on the phone.  I've used
>> this technique for five years, I think. 
> 
> 
> Hi Mike,
> i am interested in your solution.
> 
> Can you share a sample or  any kind of documentation of this technique ?
> 
> Can I send a notification  to several devices (running the app on the phone) 
> at the same time?
> 
> Thanks,
> 
> Paolo

___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: sync LC applications

2017-11-23 Thread paolo mazza via use-livecode
Mike wrote:
> You can use push without having a notification
> to the user or setting a badge.  The app will receive the notification and
> act on it, provided that the app is up and running on the phone.  I've used
> this technique for five years, I think. 


Hi Mike,
i am interested in your solution.

Can you share a sample or  any kind of documentation of this technique ?

Can I send a notification  to several devices (running the app on the phone) at 
the same time?

Thanks,

Paolo
___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: sync LC applications

2017-11-18 Thread Mike Kerner via use-livecode
I use dropbox for this purpose.  I have a desktop/server process that is
responsible for being the arbiter of truth (i.e. grabbing the updates the
mobiles want to make and then deciding updating the data that the mobiles
will use).  The mobiles read and write files to and from dropbox.  You can
ping the server from the mobile once per second, for example, to see if
there are any updates.  Push works, but can be unreliable if the user of
the phone turns off push.  You can use push without having a notification
to the user or setting a badge.  The app will receive the notification and
act on it, provided that the app is up and running on the phone.  I've used
this technique for five years, I think.  You can do the same thing using an
online database server, if you like.

On Fri, Nov 17, 2017 at 10:28 AM, Bob Sneidar via use-livecode <
use-livecode@lists.runrev.com> wrote:

> For Wireshark to work on a mobile device, it would have to be on a
> repeater (hub). Packet Capture doesn't work with wireless for anything but
> the local device. All that would do is monitor network traffic, not
> processes running on your device.
>
> Bob S
>
>
> > On Nov 16, 2017, at 16:57 , Stephen Barncard via use-livecode <
> use-livecode@lists.runrev.com> wrote:
> >
> >> Hi Paolo and Jim,
> >>
> >> I always turn off all notifications on all of my devices.
> >> I hate notifications because they consume my device
> >> batteries with their constant polling.
> >>
> >
> > I sure would like to know that.
> > Is there some kind of wire shark like application for the phone?
>
>
> ___
> use-livecode mailing list
> use-livecode@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your
> subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode
>



-- 
On the first day, God created the heavens and the Earth
On the second day, God created the oceans.
On the third day, God put the animals on hold for a few hours,
   and did a little diving.
And God said, "This is good."
___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: sync LC applications

2017-11-17 Thread Bob Sneidar via use-livecode
For Wireshark to work on a mobile device, it would have to be on a repeater 
(hub). Packet Capture doesn't work with wireless for anything but the local 
device. All that would do is monitor network traffic, not processes running on 
your device. 

Bob S


> On Nov 16, 2017, at 16:57 , Stephen Barncard via use-livecode 
>  wrote:
> 
>> Hi Paolo and Jim,
>> 
>> I always turn off all notifications on all of my devices.
>> I hate notifications because they consume my device
>> batteries with their constant polling.
>> 
> 
> I sure would like to know that.
> Is there some kind of wire shark like application for the phone?


___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: sync LC applications

2017-11-16 Thread Stephen Barncard via use-livecode
On Thu, Nov 16, 2017 at 13:15 Rick Harrison via use-livecode <
use-livecode@lists.runrev.com> wrote:

> Hi Paolo and Jim,
>
> I always turn off all notifications on all of my devices.
> I hate notifications because they consume my device
> batteries with their constant polling.
>

 I sure would like to know that.
Is there some kind of wire shark like application for the phone?



> The image should only be changed in the application
> when the user uses that application.  Only check for
> image updates at the website when they try to use
> the application.
>
> Good luck,
>
> Rick
>
> > On Nov 16, 2017, at 3:13 PM, Jim Lambert via use-livecode <
> use-livecode@lists.runrev.com> wrote:
> >
> >
> >
> >> Paolo wrote:
> >
> >> what?s the best way to sync several  LC applications installed on many
> different devices?
> >> For example, consider having 100 smartphones connected to internet
> running the same LC application, how can I send a signal/command so that an
> image shows up  at the same time in every smatphone?
> >> AFAIK a solution is to set up a text file in a web server and let the
> app installed in each device to check (every second)  if any change occour
> , but this solutionsubscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode
>
-- 
--
Stephen Barncard - Sebastopol Ca. USA -
mixstream.org
___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: sync LC applications

2017-11-16 Thread Rick Harrison via use-livecode
Hi Paolo and Jim,

I always turn off all notifications on all of my devices.
I hate notifications because they consume my device
batteries with their constant polling.

The image should only be changed in the application
when the user uses that application.  Only check for
image updates at the website when they try to use
the application.

Good luck,

Rick

> On Nov 16, 2017, at 3:13 PM, Jim Lambert via use-livecode 
>  wrote:
> 
> 
> 
>> Paolo wrote:
> 
>> what?s the best way to sync several  LC applications installed on many 
>> different devices?
>> For example, consider having 100 smartphones connected to internet running 
>> the same LC application, how can I send a signal/command so that an image 
>> shows up  at the same time in every smatphone?
>> AFAIK a solution is to set up a text file in a web server and let the app 
>> installed in each device to check (every second)  if any change occour , but 
>> this solution is not efficient.
>> Any idea?
> 
> Perhaps sockets or pushing app notifications.
> 
> Jim Lambert
> 
> ___
> use-livecode mailing list
> use-livecode@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@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: sync LC applications

2017-11-16 Thread Jim Lambert via use-livecode


> Paolo wrote:

> what?s the best way to sync several  LC applications installed on many 
> different devices?
> For example, consider having 100 smartphones connected to internet running 
> the same LC application, how can I send a signal/command so that an image 
> shows up  at the same time in every smatphone?
> AFAIK a solution is to set up a text file in a web server and let the app 
> installed in each device to check (every second)  if any change occour , but 
> this solution is not efficient.
> Any idea?

Perhaps sockets or pushing app notifications.

Jim Lambert

___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


sync LC applications

2017-11-16 Thread paolo mazza via use-livecode
Hi all,
what’s the best way to sync several  LC applications installed on many 
different devices?
For example, consider having 100 smartphones connected to internet running the 
same LC application, how can I send a signal/command so that an image shows up  
at the same time in every smatphone?
AFAIK a solution is to set up a text file in a web server and let the app 
installed in each device to check (every second)  if any change occour , but 
this solution is not efficient.
Any idea?
Best regards,
Paolo Mazza
___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode