Recent

Author Topic: How to do a phone vibration  (Read 1069 times)

kristof.project

  • New Member
  • *
  • Posts: 26
How to do a phone vibration
« on: April 23, 2021, 05:26:21 pm »
hello,

I try to create an application for "Shoping". I use to BareCodeScanner without probleme at this time.
Is it possible to have phone vibration on scan result ?
And is there a wiki or pdf for the component ?

Thank for your Help



 
Lubuntu 22.04

rsu333

  • Full Member
  • ***
  • Posts: 110
Re: How to do a phone vibration
« Reply #1 on: April 25, 2021, 08:32:24 am »
Try this code
after  completion of  your desired process you can add following code
self.vibrate( duration in milisec)
Thanks LAMW LAZARUS

kristof.project

  • New Member
  • *
  • Posts: 26
Re: How to do a phone vibration
« Reply #2 on: April 26, 2021, 03:29:57 pm »
thank you

exactly i want.
with sleep, i can do a double if produit found and single for not found.
Lubuntu 22.04

rsu333

  • Full Member
  • ***
  • Posts: 110
Re: How to do a phone vibration
« Reply #3 on: April 28, 2021, 08:41:31 am »
ok,
Actually LAMW and LAZARUS provide us so may things freely ,I like to study LAZARUS and LAMW thoroughly .
THANKS   to LAMW-LAZARUS

 

TinyPortal © 2005-2018