Detect a shake of the accelerometer? Can anyone provide an example of method?

Hello

I try to use the accelerometer to detect a shake, can anyone provide an example of method? Thank you very much!

Thanks Marc, I solved this problem already, just forget to mark resolved here.

Tags: BlackBerry Developers

Similar Questions

  • can anyone provide a link to insert the image with the text on the button in the apex 4.2.6

    can anyone provide a link to insert the image with the text on the button in the apex 4.2.6

    ReemaPuri wrote:

    in the workspace image:-resign.jpeg

    As a button? Seriously?

    Ok. First of all, because the image already contains text, there no point in including the same wording in the form of text on the button. Accessibility requirements can be met using re-sign as alternative text. 4.2, create an image button:

    Tag/Alt text: Re-sign

    Static ID: re - sign

    Style button: Image

    Button Image: & WORKSPACE_IMAGES.resign.jpeg

    To make the image looks more like a button, add the following CSS to Inline CSS property page:

    #re-sign img {
      margin: 0 2px 2px 0;
      border: 2px outset;
      border-radius: 4px;
    }
    #re-sign img:active {
      margin: 2px 0 0 2px;
      border: 2px inset;
      border-radius: 4px;
    }
    

    Finally, there is a bug in 4.2 that generates the incorrect URL for the button images, which requires dynamic action of Page Load to fix.

    Event: Loading the page

    Action: Run the JavaScript Code

    Code

    var resignImg = $("#re-sign img");
    resignImg.attr("src", resignImg.attr("src").replace("/i/", ""));
    
  • Can anyone provide an exclusive link for a 30 day trial of diskeeper?

    CAN ANYONE PROVIDE AN EXCLUSIVE FOR A 30 DAYS TRIAL LINK DISKEEPER (USER)?

    WHENEVER I HAVE A LINK, HE EVENTUALLY PAID OTHER DOWNLOAD PROGRAMS THAT IVE SPENT AGES UNINSTALL!

    Hello

    Here are the exact location to download real Condusiv Technologies 12 Diskeeper trialware:

    -Alex
  • I am a new user of Acer Iconia B1 and I'm unable to use the camera, can anyone help

    It seems that I can't see myself on the screen, I would be grateful for any advice, thanks

    Angie wrote:

    Thank you very much for your reply, could you tell me how to take a picture of all the rest, I am grateful for your help, Marilee

    There is no easy way because you need to trigger the image while the Tablet is back on you, unless you want to Selfies of course!

    The other issue is because the device is designed for type uses Skype it focuses quite close. This means that he will not good for sunsets and other.

    You can see what you can do with a mirror that was held to see the screen while pointing the camera on something...

  • My RAM is increasing and fill in 5 to 10 minutes to boot up, I found nothing which could be the cause of the problem, can anyone help?

    I threw all the unnessary internet files, Recycle Bin is empty, the process in the Task Manager is very well, I can't find out what is the cause, my antivirus found nothing. Please someone help me!

    In short, Windows 7 (in contrast to XP and earlier versions of Windows) through the philosophy that empty RAM is wasted RAM and attempts to keep in full as possible without performance impact. Please see:

    Windows 7 memory usage: what is the best way to measure?

  • Can anyone provide assistance and instructions (grouping, question of attachment in the scoring system)

    Hi all

    If someone is able to help, I'll be very grateful.

    I need to regroup my products so that they appear in several catalogs while retaining the ability to separate them easily. I know how to group items, it's all good.

    Page on the site: http://www.gsskincare.co/bio-fond-cosmetics/bio-fond-Foundation-makeup 

    Another page: / bio-background-cosmetics/bioblush-bronzers-concealers

    Problem:

    1. (a) if I move an item to a group of eye makeup, it disappears from the other group, that is.
    2. (b) specifically I am having a problem with the small compact and being unable to reproduce the colors on my pages. I tried to use my "custom" option, but it doesn't seem to work.

    The small and blush, bronzers are all the same size (small). Blush/bronzer has 5 points only, but I can't seem to the be displayed simultaneously in the two catalogues. It is one or the other... or I get a page full of small compact.

    * I would normally simply edit a HTML layout and be done, but the model varies according to the instructions I got now that the project is completed.

    , 2nd edition: We have customers, but it seems that the system will update the clients themselves, but it will not show a figure. Everyone says zero. I can handle HTML well enough, but I think I need help, rather than risk a stupid mistake.

    I have been informed that bug fixes are chargeable, so I'll try to do it myself because the project is already in the budget and over time.

    Could you explain the problem with the controls?

    You cannot group items in several groups to see you, is not possible. You would have to do more similar products in the different groups.

  • Kindly can anyone provide info on Flash animations? I'm creating a Web site in Dreamweaver and I intend to use Flash to draw animations to put in the site...?

    I do not know who to choose - whether HTML5 canvas or ActionScript 3.0 - in order to have the animations run smoothly on the browsers (while not giving users to pop-up messages to modernize their plugin to see my animations).

    If not, is there a way that I could use Edge animate to do the job? For example, you could import the flash animations in Edge animate and then import the edge Animation in Dreamweaver?  If I do this, the animations will work without problem most of the time, regardless of the type of plugin users can have?

    Thank you, in advance.

    the decision on whether or not to use html5 is based if you want mobile phones without flash (like ios devices) to 'see' your Web site.

    If you want to use html5, you can use flash or an edge.

  • Can anyone provide a list of the varcon. DataManipulation functions?

    FDM Versions 9.3.3

    I tried to learn to customize FDM and through the API documentation. In workbench FDM under FDM-9 x-G4-A-> Actions-> Consolidate scripts, I found the following line:

    Set objHWReturn = API. IntBlockMgr.IntegrationMgr.PobjIntegrate.varCon.DataManipulation.fCalculateRange (rsEntList.Fields("ValEntListName"). Value, rsEntList.Fields ("ValEntListOrg"). Value, CStr (strDataValue1), CStr (strTCat), CStr (strTargYear), CStr (strTPer (0)), CStr (strTPer (1)), RES. FDMTrue)

    I want to know about varCon, functions DataManipulation.fCalculateRange and similar functions, such as fConsolidate, fConsolidateRange functions.

    I also noticed that I couldn't find fCalculateRange and other similar functions in respect of the FDM object browser. Can someone let me know the full list of functions associated to the object varCon?

    Thanks in advance for your interest, time and advice!

    Kind regards
    Mustafa tailor

    What you need to do is to import the definition FDM adapter dll file in the object browser in the client Workbemch. Lists all the class and methods used by the API.

  • How to get rid of this white screen of google on the home page that I chose the theme of NASA launch went to the home page have seen this white google page that covers so tried LavaFox always the same shit I want google went to see the theme can anyone he

    Windows 7 with Firefox 10

    IMO, theme developers too provide misleading screenshots on their theme download pages. They should show the appearance of their "out of the box" theme, without any other change as the first screenshot of the theme using the default value: Home Home page.

    Was that your comment on this theme and the response from the developer?

    https://addons.Mozilla.org/en-us/Firefox/addon/NASA-Night-Launch/reviews/339474/

    Suggestions of tweaks & Mods for this theme:

    http://home.Comcast.NET/~username54321/Starfield/mods.html#firefox_4_about_home

    Here is the thread of support for this theme.

    http://forums.mozillazine.org/viewtopic.php?t=547498

    The modules Forum is here for complaints about the modules Web site.

    https://forums.addons.Mozilla.org/

  • Hi, Ive got error code 50 happen when you try to update the cloud, can anyone help it stops at 50%

    error code 50 showing on cloud adobe when update it gets to 50% then stops. Claire

    Restart the computer and try to update again.

    Always the same?

    Adobe process 1) end all as creative cloud, CoreSync... this from the activity monitor (Mac) or the task manager (Win)

    ( 2) uninstall Adobe Creative Cloud app using the uninstaller CC.,

    https://helpx.Adobe.com/creative-cloud/help/uninstall-creative-cloud-desktop-app.html

    ( 3) download install and reinstall Adobe Creative Cloud and check.

    Windows:

    https://ccmdls.adobe.com/AdobeProducts/KCCC/1/Win32/CreativeCloudSet-up.exe

    Mac:

    https://ccmdls.Adobe.com/AdobeProducts/KCCC/1/OSX10/CreativeCloudInstaller.dmg

  • Can anyone provide a direct as for website store of windows 8?

    I currently have Windows 7.   Not really sure I'm interested in Windows 8, but can be more interested if I know what RT apps are available for this purpose.   I looked, searched, in all directions and can't seem to find the app store of windows 8.    I found where I can download Windows 8 Preview.  Windows 8 Upgrade for only 39.99.   But could not find an app like iToons or Google game store where I can search and review all of the applications that are available.

    Can someone please provide a direct link to the store.

    Thank you

    There are more than 10,000 for the moment, but this isn't like Itunes, where you can do it via the web and find out, unless you use Win 8.  I have nice; Eve will be a function of navigation as soon as the Web, which would increase interest.

    I found almost all major applications I want and those not here, there are other ways to access the data.

  • Cast operator: a date can be cast into a number? Can anyone provide an eg

    Hi guys,.

    Can someone tell me if a date can be cast to type data number? I happen to fall on a few lines of code which suggested that it could be done. But when I tried out it gives me an error
    "ORA-00932: inconsistent data types: expected DATE got the NUMBER.

    Would be useful if someone gave an example...


    Thank you.

    >
    CREATE THE SUB MATERIALIZED VIEW
    AS
    SELECT mount SCT (SCT as char (3)).
    Mount EFFECTIVE_DATE (EFFECTIVE_DATE under the number (9)),
    Mount CANCEL_DATE (CANCEL_DATE under the number (9)),
    ..................
    where EFFECTIVE_DATE and CANCEL_DATE are of DATE data type...

    but I still would like to know how that is EXPRESSED above stmts work whereas when I try them they do not.
    >
    This code does not work if EFFECTIVE_DATE and CANCEL_DATE are of the DATE data type.

    What makes you think that?

  • I connect my macbook pro to monitor via HDMI, but there is no sound control can do with the macbook, can you help me

    I connect my macbook pro to monitor via HDMI, but there is no sound control can do with the macbook, can anyone help?

    You must use the volume control on the monitor. That's how Apple means yo do and does not provide any method using Mac

  • Im trying to delete the photos and they keep copy over and over again, have performed several scans and nothing detected. Can anyone help?

    I tried to remove several photos but whenever I delete they are copied again up to 10 times. I run scans but nothing is detected, can anyone help?

    Hi PatriciaJefferson,

    Please see the following answer given by volunteer MVP J here.

  • Drive hard WD Passport not able to detect Windows 7, only the PC restart can work

    Hello:

    I have 500 G WD Passport hard drive. My laptop Dell Win7 64-bit not able to detect it. It does not appear in Device Manager, and disk management. When I show the hidden device, I can see the driver properly installed passport but windows says no device detected. The work around I have to plug my passport for PC and then restart my PC every time. I have no problem with an other laptop Win7, but I don't remember now if it is a machine 32 or 64 bit. Can anyone help?

    Thank you.

    Lin Chin

    Hi MightyMiro_WD:

    Just to say the good news before the explanations below. Your method worked partially. :-)

    I followed your instructions as below:

    1. I go to control panel-> device-> Universal Serial Bus controllers Manager and uncheck the "allow this computer to turn off this device' for everything USB with this option: Hub USB root, Generic USB Hub, USB Hub 2.0 MTT and etc.

    2 insert the disc WD Passport to my PC. PC cannot detect. Then I insert USB so that my WD Passport always connected. The PC is able to detect the key USB and WD Passport.

    3 eject my USB. My WD Passport must always be able to be detected by the PC, even I Plug and unplug several times.

    4 remove my WD Passport and connect to another USB port. PC cannot detect. Insert my USB then my WD Passport always connected. The PC is able to detect the key USB and WD Passport.

    5 eject my USB. My WD Passport must always be able to be detected by the PC, even I Plug and unplug several times.

    6 now I plug/unplug my WD Passport to one of the 2 USB ports without my USB connected.

    I then in Power Options in Control Panel to change "USB selective suspend settings" to "disabled". The "turn off hard disk after" has already been fixed forever. Made the start of the procedure from step 2. And behavior are the same from step 2 to step 6.

    I restarted my PC, just in case the changes I did for Device Manager settings to take effect. BLUE SCREEN came out so that the closing of my PC. Do not remember the exact error message. After you restart, done at the beginning of the procedure from step 2. And behavior are the same from step 2 to step 6.

    Then I restored the changes to 'allow this computer to turn off this device' for all USB items except USB root hub. Just to see if a single USB root hub has been changed, it gives the same result. I also restored the "settings USB selective suspend" "Enabled". I restarted the PC after that. BLUE SCREEN again. Do not remember the exact error message. After you restart, done at the beginning of the procedure from step 2. And behavior are the same from step 2 to step 6.

    At this point, I wasn't looking to cancel all changes back to the original and do like to see if it still works as it is.

    Conclusion, your method worked partially. I don't know why the WD Passport cannot trigger the PC to recognize by itself for the first time after restarting the PC. It needs USB key to accompany. But I'm happy now. At least I do not need to restart my PC now. :-)

    Thank you.

    Kind regards

    Lin Chin

Maybe you are looking for