checking car is standing or moving?

Got a LiveCode personal license? Are you a beginner, hobbyist or educator that's new to LiveCode? This forum is the place to go for help getting started. Welcome!

Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller

Post Reply
anil
Posts: 16
Joined: Sun Apr 14, 2013 4:12 am

checking car is standing or moving?

Post by anil » Tue Oct 29, 2013 6:21 am

How to detect whether a car is stopped or running by android app?


Can we use phone sensors to detect car vibrations?

Mark
Livecode Opensource Backer
Livecode Opensource Backer
Posts: 5150
Joined: Thu Feb 23, 2006 9:24 pm
Contact:

Re: checking car is standing or moving?

Post by Mark » Wed Oct 30, 2013 11:22 pm

Hi,

Using GPS, you should be able to check if the car moved during a specific time range. Motion sensors aren't a very good way to do this, because a device may move for all kinds of reasons besides the moving car.

Kind regards,

Mark
The biggest LiveCode group on Facebook: https://www.facebook.com/groups/livecode.developers
The book "Programming LiveCode for the Real Beginner"! Get it here! http://tinyurl.com/book-livecode

anil
Posts: 16
Joined: Sun Apr 14, 2013 4:12 am

Re: checking car is standing or moving?

Post by anil » Thu Oct 31, 2013 5:39 am

What if i need to know whether a car is on or off on traffic signal?

Mark
Livecode Opensource Backer
Livecode Opensource Backer
Posts: 5150
Joined: Thu Feb 23, 2006 9:24 pm
Contact:

Re: checking car is standing or moving?

Post by Mark » Thu Oct 31, 2013 10:34 am

Hi,

Maybe you could build an Arduino device into your car, which detects that the power is on. Ask a automobile technician where to connect it. Connect a tablet or laptop to the Arduino en you'll know if the car is working.

Kind regards,

Mark
The biggest LiveCode group on Facebook: https://www.facebook.com/groups/livecode.developers
The book "Programming LiveCode for the Real Beginner"! Get it here! http://tinyurl.com/book-livecode

anil
Posts: 16
Joined: Sun Apr 14, 2013 4:12 am

Re: checking car is standing or moving?

Post by anil » Thu Oct 31, 2013 11:47 am

is it possible to detect car vibrations by android device sensors to know whether a car is just standing and is on, to create an alert.

Mark
Livecode Opensource Backer
Livecode Opensource Backer
Posts: 5150
Joined: Thu Feb 23, 2006 9:24 pm
Contact:

Re: checking car is standing or moving?

Post by Mark » Thu Oct 31, 2013 11:59 am

Hi,

Probably not, unless you acquire a special device that is designed to pick up vibrations. Motion sensors in tablets and laptops are not designed for this.

Kind regards,

Mark
The biggest LiveCode group on Facebook: https://www.facebook.com/groups/livecode.developers
The book "Programming LiveCode for the Real Beginner"! Get it here! http://tinyurl.com/book-livecode

makeshyft
Posts: 222
Joined: Mon Apr 15, 2013 4:41 am
Contact:

Re: checking car is standing or moving?

Post by makeshyft » Thu Oct 31, 2013 8:48 pm

I guess the "AmISittingInMyCarAndIsItOn" function isn't done yet? Damn you RunRev. :roll: :wink:
Founder & Developer @ MakeShyft R.D.A - https://www.makeshyft.com
Build Software with AppStarterStack for Livecode - https://www.AppStarterStack.com
Save Time with The Time Saver's Toolbox - https://www.TimeSaversToolbox.com

Post Reply