Vibration app

Discussion in 'Share Your Creations' started by Mr_Gee, Mar 14, 2008.

  1. Mr_Gee

    Mr_Gee Active Member Licensed User

    As some of you might know there was some discussion on xda-developers.com about having the phone vibrate when you press a key.
    I was wondering if I could create a small program wich would be able to provide that functionality

    There is no help file , but if you run the program without any arguments
    you'll see how to use it.

    I can also mentione it here :
    Create a .ink with '\link\to\ngVibrate.exe' 3 50 100.
    Phone will vibrate 3 times each for 50ms with a 100ms pauze

    Let me know what you think, be gentle it's my first release :cool:
     

    Attached Files:

    Last edited: Mar 14, 2008
  2. VoDB

    VoDB Member Licensed User

    that's, what I'm looking for.
    Thanks!
    VoDB
     
  3. taximania

    taximania Well-Known Member Licensed User

    Gentle !
    I feel 'gently' irate.

    DZT wrote/found that code, AND, posted it on here months ago !!

    I used the code for my DZTLeds.dll, respect to DZT :)
    Yours is called dzLEDs.dll :(
    Coincidence, Reflector shows nearly identical code for both .dll's


    I forgot to bring it to the forum's attention in my thread linked below

    Using the .dll I wrote using DZT's code

    .ActivateLed(0) makes my XDA Orbit's Led flash,
    .DeActivateLed(0) stops the flashing.

    .ActivateLed(1) makes my XDA Orbit vibrate,
    .DeActivateLed(1) stops the vibration.

    http://www.basic4ppc.com/forum/questions-help-needed/4444-turning-status-led-off.html#post25467

    If someone had asked on here, "How do I make my device vibrate?"
    I could have said, "Try DZT's code that's in my DZTLeds.dll"



    I do like your usage of the Args() coding though :sign0152:
     
  4. taximania

    taximania Well-Known Member Licensed User

    I knew I'd posted something somewhere :sign0137: My website.

    I first used DZT's code in my RawIR.dll
    See this page from my website.
    IR - IRDA RS232 from microchip Pic to Pocket PC
    The vibrate function wasn't apparent at this time as I wasn't using a Phone PDA.
    I think I realised later, that on a Phone PDA, using my RawIR.dll LED properties could have the adverse affect of setting the phone vibrating.

    If you quit your program before issuing a 'stop flash or vibrate' command,
    you had to reset your device to make it stop.

    The date that page was last edited was 27th ‎January ‎2008, ‏‎11:35:37
    That's about a month before I purchased the Orbit.

    My fault for not telling the forum about my findings.
     
    Last edited: Jul 29, 2009
  5. taximania

    taximania Well-Known Member Licensed User

    I've rehosted my website and updated the link.
    I've also edited the webpage to indicate the vibrate function oddity between devices.
     
Loading...
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice