Vibration support

Help with Air Manager Android version

Moderators: Ralph, russ

Message
Author
frumpy
Posts: 236
Joined: Sat Jan 30, 2016 12:01 pm

Vibration support

#1 Post by frumpy » Mon Aug 12, 2019 7:20 pm

Hi guys,

I wonder if there will be a future function of using the vibration on some Android-devices?
I'd like to add a little haptic feedback to pressing a button.

Olli

User avatar
Ralph
Posts: 5102
Joined: Tue Oct 27, 2015 7:02 pm
Location: De Steeg
Contact:

Re: Vibration support

#2 Post by Ralph » Tue Aug 13, 2019 5:45 am

What should trigger the vibration?

frumpy
Posts: 236
Joined: Sat Jan 30, 2016 12:01 pm

Re: Vibration support

#3 Post by frumpy » Tue Aug 13, 2019 6:06 am

The click of a virtual button, like typing a message on a smartphone. I'm thinking of a CDU,
where you e.g. enter the names of waypoints. A single sinus-wave would do.

User avatar
Ralph
Posts: 5102
Joined: Tue Oct 27, 2015 7:02 pm
Location: De Steeg
Contact:

Re: Vibration support

#4 Post by Ralph » Tue Aug 13, 2019 8:52 am

You have the button callbacks. But you'll need an Arduino with a DAC to make a sine wave, or have an external DAC. You can control those through our Arduino Message Port library.

frumpy
Posts: 236
Joined: Sat Jan 30, 2016 12:01 pm

Re: Vibration support

#5 Post by frumpy » Tue Aug 13, 2019 9:04 am

Hm, I'm talking about Android devices, no Arduino. Like a smartphone with an inbuilt vibration motor. :)

SimPassion
Posts: 3542
Joined: Thu Jul 27, 2017 12:22 am

Re: Vibration support

#6 Post by SimPassion » Tue Aug 13, 2019 9:54 am

It's like vibrate feature we find in ringtone vs vibrate, but here when we are typing with fingers on the Android phone or device touch screen (vibration triggered when typing on virtual keyboard or virtual numpad on the android device)

Here's some vibration we could activate for the ring (not what's is needed here, as it's rather on typing virtual keys on the device, but just as a sample to understand the required vibration)
https://youtu.be/sQoiD5UvVhA?t=57

Gilles

SimPassion
Posts: 3542
Joined: Thu Jul 27, 2017 12:22 am

Re: Vibration support

#7 Post by SimPassion » Tue Aug 13, 2019 9:55 am


User avatar
Sling
Posts: 4440
Joined: Mon Sep 11, 2017 2:37 pm
Contact:

Re: Vibration support

#8 Post by Sling » Tue Aug 13, 2019 12:58 pm

If Corjan can access the haptic stuff via the Android/iOS API then I guess that could work in Air Manager.

User avatar
Sling
Posts: 4440
Joined: Mon Sep 11, 2017 2:37 pm
Contact:

Re: Vibration support

#9 Post by Sling » Tue Aug 13, 2019 1:00 pm

Someone else was tying haptic type feedback but using the desktop version just recently. Interesting to see where this goes.

SimPassion
Posts: 3542
Joined: Thu Jul 27, 2017 12:22 am

Re: Vibration support

#10 Post by SimPassion » Tue Aug 13, 2019 2:28 pm

+1

I realize the feedback on typing the touch screen on Android, would be very useful in order to know if we are typing the right way : proper button, switch, dial location

Gilles

Post Reply

Who is online

Users browsing this forum: No registered users and 2 guests