Page 2 of 2 FirstFirst 12
Results 21 to 22 of 22
  1. #21  
    Quote Originally Posted by pimpmypre View Post
    I use a vibe as "haptic feedback" in WOG O.S.K. and didn't have to use the palm name.
    Here's the one line I call.

    Mojo.Controller.getAppController().playSoundNotification("vibrate", "",1)
    Thanks will give it a try!
  2. #22  
    Doesn't work as I want. When I take this code:

    this.controller.serviceRequest ("palm://com.palm.vibrate", {
    method: 'vibrate', parameters: { 'period': 0,'duration': 50 }
    });

    The vibration is cool & smooth and very quick.

    Using that kind of code however

    Mojo.Controller.getAppController().playSoundNotification("vibrate", "",1)

    will work even without com.palm.app.XXX but the vibration takes much longer. Not good for touch feedback.

    -----------

    UPDATE: Okay i read a bit. Seems like we have to wait until palm allows us to use the vibration feature. If you want your app in the App Catalog second code line is the way to go. If you just say "Hey Preware is cool!" then go with the first code line and edit your appinfo.json
    Last edited by JuJulian1987; 12/13/2009 at 05:05 AM.
Page 2 of 2 FirstFirst 12

Posting Permissions