ANSWERED: A working LiveCode 5.5 GPS smpl app for Android?
Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller
-
- Posts: 1201
- Joined: Sun Apr 24, 2011 2:17 am
ANSWERED: A working LiveCode 5.5 GPS smpl app for Android?
Hi all,
I've got my gps app working with LiveCode 4.6.4.
I had to use Basic4Android to generate my GPS coordinates since LC 4.6.4 couldn't.
Now that LC 5.5 for Android has GSP capability,
I can't seem to find a practicle example of its use.
Does anyone have a working GPS sample app for Andoird?
I've got my gps app working with LiveCode 4.6.4.
I had to use Basic4Android to generate my GPS coordinates since LC 4.6.4 couldn't.
Now that LC 5.5 for Android has GSP capability,
I can't seem to find a practicle example of its use.
Does anyone have a working GPS sample app for Andoird?
Last edited by BarrySumpter on Wed Apr 04, 2012 12:30 am, edited 1 time in total.
All my best,
Barry G. Sumpter
Deving on WinXP sp3-32 bit. LC 5.5 Professional Build 1477
Android/iOS/Server Add Ons. OmegaBundle 2011 value ROCKS!
2 HTC HD2 Latest DorimanX Roms
Might have to reconsider LiveCode iOS Developer Program.
Barry G. Sumpter
Deving on WinXP sp3-32 bit. LC 5.5 Professional Build 1477
Android/iOS/Server Add Ons. OmegaBundle 2011 value ROCKS!
2 HTC HD2 Latest DorimanX Roms
Might have to reconsider LiveCode iOS Developer Program.
-
- Posts: 1201
- Joined: Sun Apr 24, 2011 2:17 am
Re: Anyone have a working LiveCode 5.5 GPS smpl app for Andr
I'm gonna stumble me way thus this lesson n see what trouble I can find on Android:
How do I use Core Location in revMobile
http://lessons.runrev.com/s/lessons/m/4 ... -revmobile
How do I use Core Location in revMobile
http://lessons.runrev.com/s/lessons/m/4 ... -revmobile
All my best,
Barry G. Sumpter
Deving on WinXP sp3-32 bit. LC 5.5 Professional Build 1477
Android/iOS/Server Add Ons. OmegaBundle 2011 value ROCKS!
2 HTC HD2 Latest DorimanX Roms
Might have to reconsider LiveCode iOS Developer Program.
Barry G. Sumpter
Deving on WinXP sp3-32 bit. LC 5.5 Professional Build 1477
Android/iOS/Server Add Ons. OmegaBundle 2011 value ROCKS!
2 HTC HD2 Latest DorimanX Roms
Might have to reconsider LiveCode iOS Developer Program.
-
- Posts: 1201
- Joined: Sun Apr 24, 2011 2:17 am
Re: Anyone have a working LiveCode 5.5 GPS smpl app for Andr
Just change any iOSxxx command to mobilexxx.
And iPhonexxxx to mobilexxxx.
My tests took about 30 secs to 2.5 mins to get the GPS reading.
(See next message to improve GPS response.)
16. The permissions to be added to the manifest.
i. Write external storage is required if your app will read or write files on external storage
(e.g. an SD card)
ii. Internet is required if your app is accessing the internet.
iii. Camera is required if your app is using any camera features.
iv. In-App Billing is required if you wish to use In-App purchasing
v. Fine Location is required if you wish to use GPS to triangulate device location (requires
course location)
vi. Coarse location is required if you wish to use mobile networks to triangulate device
location
And iPhonexxxx to mobilexxxx.
My tests took about 30 secs to 2.5 mins to get the GPS reading.
(See next message to improve GPS response.)
16. The permissions to be added to the manifest.
i. Write external storage is required if your app will read or write files on external storage
(e.g. an SD card)
ii. Internet is required if your app is accessing the internet.
iii. Camera is required if your app is using any camera features.
iv. In-App Billing is required if you wish to use In-App purchasing
v. Fine Location is required if you wish to use GPS to triangulate device location (requires
course location)
vi. Coarse location is required if you wish to use mobile networks to triangulate device
location
- Attachments
-
- AndroidGPS.zip
- (2.04 KiB) Downloaded 455 times
Last edited by BarrySumpter on Sun Mar 25, 2012 11:52 pm, edited 1 time in total.
All my best,
Barry G. Sumpter
Deving on WinXP sp3-32 bit. LC 5.5 Professional Build 1477
Android/iOS/Server Add Ons. OmegaBundle 2011 value ROCKS!
2 HTC HD2 Latest DorimanX Roms
Might have to reconsider LiveCode iOS Developer Program.
Barry G. Sumpter
Deving on WinXP sp3-32 bit. LC 5.5 Professional Build 1477
Android/iOS/Server Add Ons. OmegaBundle 2011 value ROCKS!
2 HTC HD2 Latest DorimanX Roms
Might have to reconsider LiveCode iOS Developer Program.
-
- Posts: 1201
- Joined: Sun Apr 24, 2011 2:17 am
Re: Anyone have a working LiveCode 5.5 GPS smpl app for Andr
As an additional note I have confirmed that the GPS Tracking automatically stops when I exit my GPS test app.
Make sure Settings | Wireless & Networks | Wi-Fi is Connected (ticked on)
Settings | Location & Security Settings | Use wireless networks (ticked on)
Settings | Location & Security Settings | Use GPS satellites (ticked on)
I'm wondering is there a way for LiveCode for Android to check these three settings?
Make sure Settings | Wireless & Networks | Wi-Fi is Connected (ticked on)
Settings | Location & Security Settings | Use wireless networks (ticked on)
Settings | Location & Security Settings | Use GPS satellites (ticked on)
I'm wondering is there a way for LiveCode for Android to check these three settings?
All my best,
Barry G. Sumpter
Deving on WinXP sp3-32 bit. LC 5.5 Professional Build 1477
Android/iOS/Server Add Ons. OmegaBundle 2011 value ROCKS!
2 HTC HD2 Latest DorimanX Roms
Might have to reconsider LiveCode iOS Developer Program.
Barry G. Sumpter
Deving on WinXP sp3-32 bit. LC 5.5 Professional Build 1477
Android/iOS/Server Add Ons. OmegaBundle 2011 value ROCKS!
2 HTC HD2 Latest DorimanX Roms
Might have to reconsider LiveCode iOS Developer Program.
-
- Posts: 1201
- Joined: Sun Apr 24, 2011 2:17 am
Re: Anyone have a working LiveCode 5.5 GPS smpl app for Andr
Another GPS sample using the LC browser.
Instead of retrieving a static map from google like the TickedOn project.
Originaly posted by dixie.
Updated to Android by me.
Lots of nice reminders how well rounded LiveCode is.
(Well if one knows how to use it properly that is. Meaning not me. )
Orientations, ControlCreate, mobileControlSet, Environment, resizeStack, etc.
Very nice.
Thanks Dixie.
Instead of retrieving a static map from google like the TickedOn project.
Originaly posted by dixie.
Updated to Android by me.
Lots of nice reminders how well rounded LiveCode is.
(Well if one knows how to use it properly that is. Meaning not me. )
Orientations, ControlCreate, mobileControlSet, Environment, resizeStack, etc.
Very nice.
Thanks Dixie.
- Attachments
-
- Android Mapping.zip
- (2.13 KiB) Downloaded 431 times
Last edited by BarrySumpter on Sat Apr 21, 2012 2:10 am, edited 1 time in total.
All my best,
Barry G. Sumpter
Deving on WinXP sp3-32 bit. LC 5.5 Professional Build 1477
Android/iOS/Server Add Ons. OmegaBundle 2011 value ROCKS!
2 HTC HD2 Latest DorimanX Roms
Might have to reconsider LiveCode iOS Developer Program.
Barry G. Sumpter
Deving on WinXP sp3-32 bit. LC 5.5 Professional Build 1477
Android/iOS/Server Add Ons. OmegaBundle 2011 value ROCKS!
2 HTC HD2 Latest DorimanX Roms
Might have to reconsider LiveCode iOS Developer Program.
-
- Posts: 1201
- Joined: Sun Apr 24, 2011 2:17 am
Re: ANSWERED: A working LiveCode 5.5 GPS smpl app for Androi
Yet another contribution by Dixie.
Updated by me for Android.
This one using the LC browser.
App Changes City selected locations by editing the .html file.
Genius!
Updated by me for Android.
This one using the LC browser.
App Changes City selected locations by editing the .html file.
Genius!
- Attachments
-
- MapMobile.zip
- (10.79 KiB) Downloaded 404 times
All my best,
Barry G. Sumpter
Deving on WinXP sp3-32 bit. LC 5.5 Professional Build 1477
Android/iOS/Server Add Ons. OmegaBundle 2011 value ROCKS!
2 HTC HD2 Latest DorimanX Roms
Might have to reconsider LiveCode iOS Developer Program.
Barry G. Sumpter
Deving on WinXP sp3-32 bit. LC 5.5 Professional Build 1477
Android/iOS/Server Add Ons. OmegaBundle 2011 value ROCKS!
2 HTC HD2 Latest DorimanX Roms
Might have to reconsider LiveCode iOS Developer Program.
-
- VIP Livecode Opensource Backer
- Posts: 75
- Joined: Wed Mar 09, 2011 6:48 pm
- Location: Northern California
Re: ANSWERED: A working LiveCode 5.5 GPS smpl app for Androi
Are you just interested in a simple example of how LC 5.5 can be used to return Lat and Lon coordinates? I have a stack that I have been playing with more for fun than anything else. It came out of an idea for racing sailboats, where the app automatically detects the time you pass over the start line (between to GPS coordinates). It has the basics of grabbing the Lat/Lon coordinates and some basic trig to process the ouput. I'll post it if this sounds like something that would help, but I think the L/C code is probably pretty crude.
I have a more advanced app I'm working on to lay out a race course using GPS, but the GPS stuff is pretty much buried in the complexities of the rest of the program.
Cheers - Gene
I have a more advanced app I'm working on to lay out a race course using GPS, but the GPS stuff is pretty much buried in the complexities of the rest of the program.
Cheers - Gene
-
- Posts: 1201
- Joined: Sun Apr 24, 2011 2:17 am
Re: ANSWERED: A working LiveCode 5.5 GPS smpl app for Androi
Yes please Gene.
Anything you would care to post would be fantastic.
Anything you would care to post would be fantastic.
All my best,
Barry G. Sumpter
Deving on WinXP sp3-32 bit. LC 5.5 Professional Build 1477
Android/iOS/Server Add Ons. OmegaBundle 2011 value ROCKS!
2 HTC HD2 Latest DorimanX Roms
Might have to reconsider LiveCode iOS Developer Program.
Barry G. Sumpter
Deving on WinXP sp3-32 bit. LC 5.5 Professional Build 1477
Android/iOS/Server Add Ons. OmegaBundle 2011 value ROCKS!
2 HTC HD2 Latest DorimanX Roms
Might have to reconsider LiveCode iOS Developer Program.