Emulator vibration/lights flashing?

Common bugs/problems with the Android SDK the Emulator and the ADT-Plugin.

Emulator vibration/lights flashing?

Postby simonhaines » Fri Dec 21, 2007 7:26 am

Just out of curiosity, does anyone know how the emulator simulates vibration or flashing lights? I'm firing these off with a notification, but don't know if the emulator either doesn't show these events, or I've not got them working properly...
Cheers,
Simon.
simonhaines
Freshman
Freshman
 
Posts: 5
Joined: Fri Nov 30, 2007 11:04 pm

Top

Postby plusminus » Fri Dec 21, 2007 4:30 pm

Hello simonhaines,

the Emulator "simulates" the vibration with a LogCat output:
Syntax: [ Download ] [ Hide ]
Using java Syntax Highlighting
  1. I/Vibrator(484): off
  2. I/Vibrator(484): on
  3. I/Vibrator(484): off
  4. I/Vibrator(484): on
  5. ...
Parsed in 0.030 seconds, using GeSHi 1.0.8.4


:arrow: :src: Android Vibration Manager Tutorial

Regards,
plusminus
Image
Image | Android Development Community / Tutorials
User avatar
plusminus
Site Admin
Site Admin
 
Posts: 2688
Joined: Wed Nov 14, 2007 8:37 pm
Location: Schriesheim, Germany

Postby lordhong » Sat Dec 22, 2007 5:16 am

for flashing, there's no API call yet. but u can build ur own canvas to do the trick
lordhong
Developer
Developer
 
Posts: 42
Joined: Thu Nov 22, 2007 5:25 am
Location: New York

Top

Return to SDK/ADT/Emulator Problems

Who is online

Users browsing this forum: Google [Bot] and 3 guests