1. Check out our app, Forums for Android! Download and leave feedback here!

can android do this...

Discussion in 'Application Development' started by chrisadam, Aug 4, 2010.

  1. chrisadam

    chrisadam New Member
    Thread Starter
    5

    Aug 4, 2010
    3
    0
    5
    Hey guys I have a specific question regarding android work on phones.

    Can the phone "vibrate" function be accessed?
    Specifically can it be accessed and controlled?

    For instance, I want an app to barely "ting" the vibrate function on certain events. Not a full second of vibrate, but less.. significantly less.

    So lets say a regular vibrate function calls a phone to vibrate for 1 second.
    Can a function be called to use vibrate for less than that second, like half of that, or half of that half.. and so on.

    does this make sense?

    Thank you for taking the time to read this, I dont need to know how, I just want to know if it is a possibility..

    I welcome thoughts and comments.

    -Chris
     

    Advertisement

  2. jonbonazza

    jonbonazza Well-Known Member
    163

    Jul 13, 2010
    1,934
    458
    163
    Male
    Yes, it can.

    EDIT: You can set the length of the vibrate in milliseconds too.
     
    chrisadam likes this.
  3. chrisadam

    chrisadam New Member
    Thread Starter
    5

    Aug 4, 2010
    3
    0
    5
    what a fast response!

    I went back to spellcheck my post here and kidna re stated it to make more sense... by the time I hit "save" you replied and answered my question lol.

    I really appreciate that.

    Thank you
    -Chris
     
  4. jonbonazza

    jonbonazza Well-Known Member
    163

    Jul 13, 2010
    1,934
    458
    163
    Male
  5. id0001

    id0001 Well-Known Member
    38

    Apr 20, 2010
    142
    23
    38
    Student.. also software developer
    Netherlands
    konreu likes this.
  6. chrisadam

    chrisadam New Member
    Thread Starter
    5

    Aug 4, 2010
    3
    0
    5
    Thank you for this info, I have not yet begun to develop for android, I am more or less putting together a game plan for moving forward.

    I appreciate you looking this up for me!

    -Chris
     
  7. cp1

    cp1 Well-Known Member
    53

    Apr 30, 2010
    375
    35
    53
    You need to remember to set the permissions for vibrating, or else you'll get force close errors.
     

Share This Page

Loading...