Hello
Is there a way to detect the connection type from a lc iPhone app?
I want to be cost conscious and have my app do light weight transfer when cellular connected deferring heavy transfers to wifi connected sessions.
It would be great to have a function to query the current connection type. Even better to have a trigger event to fire as the connection moves into and outof wifi connectivity
Thoughts?
E
Connection detection
Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller
Re: Connection detection
Yes, you can. Read the LiveCode iOS release notes and look for "Network reachability". If you have any questions after checking there feel free to ask here
Gerry
Gerry
14" MacBook Pro
Former LiveCode developer.
Now recovering.
Former LiveCode developer.
Now recovering.
-
- VIP Livecode Opensource Backer
- Posts: 243
- Joined: Sun Dec 06, 2009 12:24 am
- Location: Fredericktown, MO
- Contact:
Re: Connection detection
Where would this information be found today? In the download release notes for LC8?
-
- VIP Livecode Opensource Backer
- Posts: 3901
- Joined: Sat Mar 24, 2007 2:54 am
- Location: Palo Alto
Re: Connection detection
Hi ctflatt,
Look in the dictionary for "reachabilityChanged"
Simon
Look in the dictionary for "reachabilityChanged"
Simon
I used to be a newbie but then I learned how to spell teh correctly and now I'm a noob!
-
- VIP Livecode Opensource Backer
- Posts: 243
- Joined: Sun Dec 06, 2009 12:24 am
- Location: Fredericktown, MO
- Contact:
Re: Connection detection
Simon,
Thank you for the reference.
Is this an iOS only feature, or is there an Android equivalent?
Many thanks.
Thank you for the reference.
Is this an iOS only feature, or is there an Android equivalent?
Many thanks.
-
- VIP Livecode Opensource Backer
- Posts: 3901
- Joined: Sat Mar 24, 2007 2:54 am
- Location: Palo Alto
Re: Connection detection
I don't have the dictionary in front of me right now but I believe it's ios only.
Simon
Simon
I used to be a newbie but then I learned how to spell teh correctly and now I'm a noob!