KeyPress pada blackberry

Hai all,

Please help me... first I want an aplication to develop for blackberry... but I don't know how I have to first of all for the throw, saya juga kesulitan dalam menggunakan program pada blackberry that have... saya ingin menanyakan bagaimana sih coding dalam pembuatan keypress pada blackberry?

Please bantuan contohnya dalam coding...

regrads

Andi

@ inoek_ho

Please post only in the English language for a better response.

Tags: BlackBerry Developers

Similar Questions

  • Transfer Memo Pad blackBerry 9900 handset to Q10 Q10 files

    Is it possible to transfer files from Notepad to a 9900 to a Q10 handset handset or do a backup/restore using BB Desktop Software, or by other means? I have a lot of information stored in Memo Pad files on my 9900 I want to transfer to the Q10, after upgrade.

    Thank you

    I did this:

    • Check that Evernote is enabled on your Q10. Create an account if not and activate your settings > accounts > Evernote.
    • Install Evernote on your PC.
    • If you synchronize your memos to your 9900 to your Office Outlook, then copy all your memos from Outlook and paste them into your Evernote account on the browser on your PC.
    • Today, all your memos will sync as Evernote in your app Remember > Evernote folder (or more, install the application Evernote to your AppWorld Q10.

    If you do not use Outlook on your computer, it gets a little more complicated, let me know.

  • a button for blackberry

    Hai all the...

    thaks for all now I mean little to us keypress on blackberry

    It is encoding for the kanpas.java class

     protected void keyPressed( int keycode )
        {
            switch( keycode )
            {
                //case -1://up
                case 1://up
                    switch (this.screen) {
                        case Kanpas.SCREEN_MAIN:
                            if(this.selected > 0)
                                this.selected--;
                            else
                                this.selected = 1;
                            this.repaint();
                            break;
                        case Kanpas.SCREEN_PLAYMIDI:
                            if( indexToStart > 0 )
                                indexToStart--;
                            this.repaint();
                            break;
                    }
                    break;
                //case -2://down
                case 6:
                    switch (this.screen) {
                        case Kanpas.SCREEN_MAIN:
                            if (this.selected < 1)
                                this.selected++;
                            else
                                this.selected = 0;
                            this.repaint();
                            break;
                        case Kanpas.SCREEN_PLAYMIDI:
                            if( indexToStart < vLyrics.size() - maxLine )
                            {
                                indexToStart++;
                            }
                            this.repaint();
                            break;
                    }
                    break;
                //case -3: //left
                case 2:
                    switch (this.screen) {
                        case Kanpas.SCREEN_MAIN:
                            if(this.selected > 0)
                                this.selected--;
                            else
                                this.selected = 1;
                            this.repaint();
                            break;
                        case Kanpas.SCREEN_PLAYMIDI:
                            if (this.volumeControl != null) {
                                int level = this.volumeControl.getLevel();
    
                                if (level > 0) {
                                    level -= 10;
    
                                    if (level < 0)
                                        level = 0;
                                    this.volumeControl.setLevel(level);
                                    this.left = true;
                                    this.right = false;
                                    this.repaint();
                                }
                            }
                            break;
                    }
                    break;
                //case -4: //right
                case 5:
                    switch (this.screen) {
                        case Kanpas.SCREEN_MAIN:
                            if (this.selected < 1)
                                this.selected++;
                            else
                                this.selected = 0;
                            this.repaint();
                            break;
                        case Kanpas.SCREEN_PLAYMIDI:
                            if (this.volumeControl != null) {
                                int level = this.volumeControl.getLevel();
    
                                if (level < 100) {
                                    if (level <= 0) {
                                        this.volumeControl.setMute(false);
                                        level = 10;
                                    }
                                    else {
                                        level += 10;
    
                                        if (level > 100)
                                            level = 100;
                                    }
                                    this.volumeControl.setLevel(level);
                                    this.left = false;
                                    this.right = true;
                                    this.repaint();
                                }
                            }
                            break;
                    }
                    break;
                //case -5://enter,middle button
                case 10:
                    switch (this.screen) {
                        case Kanpas.SCREEN_MAIN:
                            if( this.selected == 0 )
                            {   //play the song
                                playMidi();
                                this.screen = Kanpas.SCREEN_PLAYMIDI;
                                // added by masbudi
                                indexToStart=0;
                                repaint();
                            }
                            else
                            {
                                this.main_.InitMenu();
                                this.main_.display.setCurrent(this.main_.extraFun);
                                //this.parent.extraFun.keypressAction("ENTER", this.parent.extraFun.currentMenu, true);
                                this.main_.extraFun.keyPressAction("ENTER", this.main_.extraFun.currentMenu, true);
                            }
                            this.stopTimerScrollingText();
                            break;
                    }
                    break;
                //case -6://left-ok button
                case 113:
                    switch (this.screen) {
                        case Kanpas.SCREEN_MAIN:
                            this.screen = Kanpas.SCREEN_CLOSINGSPLASH;
                            if(splash!=null)
                                splash = null;
                            splash = new SplashScreen();
                            mokaIntro();
                            if(timer!=null)
                            {
                                timer.cancel();
                                timer = null;
                                splash=null;
                                headerAnim=null;
                            }
                            splash = new SplashScreen();
                            timer = new Timer();
                            timer.schedule(splash, 0, 250);
                            break;
                        case Kanpas.SCREEN_PLAYMIDI:
                            stop();
                            if(timer!=null)
                            {
                                timer.cancel();
                                timer = null;
                                splash=null;
                                headerAnim=null;
                            }
                            backToMain();
                            break;
                    }
                    break;
            }
        }
    
        protected void keyReleased(int keycode) {
            switch (keycode) {
                //case -3:
                case 2: //left
                    switch (this.screen) {
                        case Kanpas.SCREEN_PLAYMIDI:
                            this.left = false;
                            this.right = false;
                            this.repaint();
                            break;
                    }
                    break;
                //case -4:
                case 5://right
                    switch (this.screen) {
                        case Kanpas.SCREEN_PLAYMIDI:
                            this.left = false;
                            this.right = false;
                            this.repaint();
                            break;
                    }
                    break;
            }
        }
    

    and then it's for the appcanvas.java class

       protected void keyPressed(int keyCode) {
            if (this.isHTTPUpdateMenu && this.currentMenuUpdating != null ||
                    this.main_.isGetImage) {
                switch (keyCode) {
                    case -7:
                        this.keyPressedSoftkeyRight();
                        break;
                }
            }
            else {
                switch (keyCode) {
                    //case -1:
                    case 1: //up
                        switch (this.stateMenu) {
                            case AppCanvas.STATE_LISTMENU:
                                this.stopTimerRunningText();
                                this.keyPressedMenuUp();
                                break;
                        }
                        break;
                    case -2:
                    case 6: //down
                        switch (this.stateMenu) {
                            case AppCanvas.STATE_LISTMENU:
                                this.stopTimerRunningText();
                                this.keyPressedMenuDown();
                                break;
                        }
                        break;
                    //case -5:
                    case 10: //enter
                        switch (this.stateMenu) {
                            case AppCanvas.STATE_LISTMENU:
                                this.stopTimerRunningText();
                                this.keyPressedMenuEnter();
                               break;
                        }
                        break;
                    //case -6:
                    case 113://soft case left
                        if (this.isEmptyMenu) {
                            this.isEmptyMenu = false;
                            this.stopTimerRunningText();
                            this.stopTimerScrollingTitle();
                            this.keyPressedSoftkeyLeft();
                        }
                        else {
                            switch (this.stateMenu) {
                                case AppCanvas.STATE_LISTMENU:
                                case AppCanvas.STATE_SHOWCONFIRM:
                                case AppCanvas.STATE_VIEWTEXT:
                                case AppCanvas.STATE_SENDSMS:
                                    this.stopTimerRunningText();
                                    this.stopTimerScrollingTitle();
                                    this.keyPressedSoftkeyLeft();
                                    break;
                            }
                        }
                        break;
                    //case -7:
                    case 116: //right sofcase
                        switch (this.stateMenu) {
                            case AppCanvas.STATE_SHOWCONFIRM:
                                this.stopTimerRunningText();
                                this.stopTimerScrollingTitle();
                                this.keyPressedSoftkeyRight();
                                break;
                        }
                        break;
                }
            }
        }
    

    I hope all that can develop with blackberry.

    concerning

    Andi

    Thanks for sharing your code keypress. Its accurate once you said. As a result, are resolved.

  • Processing digital keypress and keyrepeat in Blackberry

    For BB curve and Blackberry 8820, I need to manipulate the pavement directly (without pressing alt).

    because my requirement requires no user input. Simply, it executes the action based on the key that the user selects. and also the keys up, down, left, right.

    J2ME keypressed method is like that

    protected void keyPressed (int keyCode) {}

    switch (getGameAction (keyCode))
    {
    case of LEFT: doSomething (); break;

    case UP: doSomething (); break;
    right: doSomething (); break;
    cases (DOWN: doSomething); break;
    case of FIRE: doSomething (); break;

    }

    }

    Please me Tips how to handle the snippet above the j2me in Blackberry,.

    {} public boolean keyDown (keycode, int, int times)

    /// ?

    }

    In the KeyRepeated I want to treat the digital button if the user presses for a long while

    and the key repeated() j2me is like this:

    protected void keyRepeated (int keyCode) {}

    If ((keyCode > = KEY_NUM1) & (keyCode)<=>
    {

    doSomething();

    }

    }

    Please help me to write the code above in Blackberry

    {public boolean keyRepeat (keycode int, int times)

    //??    ..

    I tried like this, but did not get the expected result.

    If ((keycode > = Characters.DIGIT_ONE) & (keycode)<=>
    {

    ......

    }

    }

    We need to use navigationClick (.) to achieve this, if so suggest me pls

    Thank you

    Spengler

    Trackball events are passed to the method navigationMovement of the screen and field classes.  This method gives you the movement X and Y of a user, the scroll ball.

  • Transfer of blackBerry Smartphones to password Keeper, Memo Pad, and Photos of Bold 9700 new curve 9320

    Hello

    I don't have 'Outlook' put in place on my PC, or I really like.

    Is it possible to synchronize the password Keeper, Memo pad and the Photo of my current Bold 9700 to my Blackberry Desktop Manager?

    Then I can transfer these items to my curve 9320.

    Thank you.

    Tamara133 wrote:

    Is it possible to synchronize the password Keeper, Memo pad and the Photo of my current Bold 9700 to my Blackberry Desktop Manager?

    Then I can transfer these items to my curve 9320.

    Hi Tamara133

    Welcome to the Forums of the BlackBerry Support

    If you stay at 9320 curve then more easiset way to do this is an Assistant to switch device using Desktop software.

    KB23677  :  How to switch using BlackBerry Desktop Software devices.

     

    Or if you want to perform a selective restore to your new 9320 then first do a full backup of your old 9700 using desktop software. Once you have your backup connect your 9320 and run the software, select the device from software > restore > data choose selected since your last backup you did > scroll down the list and select only the password keeper and memo key data in this list, then click on apply.

    Or rfer to this Article:

    KB03953 : How to back up and restore data to a new BlackBerry smartphone

  • Scroll of blackBerry Smartphones are becoming very difficult to "BOLD" (with a pad, not a scroll wheel)

    Hello

    Scrolling became very difficult in my "BOLD", but it has a pad, not a scroll wheel, so I can't follow the spoken wheel and push solution previously in these forums.

    The symptoms are that it is difficult to get the cursor to move to the left or to the right or upwards or downwards, sometimes that it moves more easily than other times, but never as easy as it was until last week. What often happens is that I end up pressingteh pad too hard trying getting the top of the page to save the movement and thus itreads as a click instead.

    I tried to clean the buffer, cleaning of my thumb or finger, battery-out-restarted "BOLD" of countless times, tried with my fingers wet and dry...

    It seems that she has changed after an update has been downloaded, but maybe it's just my perception.

    In any case, what could be the problem and what is the solution please?

    Hello qw8,

    Welcome to the forums.

    Take a look at the knowledge base article below which may help you with your trackpad problem.

    KB29640

    Trackball, keyboard or trackpad not working only not on a BlackBerry Smartphone.

    I hope this helps. Nice day.

  • BlackBerry Smartphones Dial Pad Sreen?

    Hi all

    Yes, I'm very new to this, even if I have had a Blackberry for almost 2 years.  So... my situation is that I can't find any help to find a "Dial Pad Screen".  I must confess I have a Palm Treo, and it was a screen of dial pad.  That is until I through a moving car after being so sick of all the crud it was day after day, after day, etc, etc, etc!   Well, you get the idea.  In any case... I would really like to know if I have to do?  Download an application of somesort, maybe?

    Please? Someone?

    Thanks in advance

    I'm not aware of an application that does this? If you attempt to dial a number like 1-800-COMCAST, or something like that? All you have to do is to hold down the ALT key when you form the letters and it will dial the correct number.

  • Navigation pad classic blackBerry

    the navigation pad is no longer on the side and upwards and downwards (it still works if you press it), any ideas? THX, david

    I don't think its necessary when resetting helped. I would replace it if this problem would be a repeat.

  • Where is the touch pad for blackberry control events.

    There is an app for blackberry. To move the PAGE to him between the screen to the right or left by press the button of the runway.

    Now, he moves to right and left. BUT sometimes two PAGEs (half and half) will remain a single screen.

    How can I control a Page on the screen by the touchpad. Or how can I restrict the movement for this page in pavement.

    Could you provide control for touchpad events?

    I usually detect movements on the trackpad by substituting navigationMovement (...).  Take a look at this.

  • Color screen blackBerry 10 change Dial Pad - 10.3.2.440 on z10

    Anyone know how to change the background color of the screen of touch of numbering on the new OS?  He was black - easy to see - but with the upgrade to 10.3.2.440, he changed to white - very hard to read, much more intrusive in trying to deal discreetly. Tried the phone settings and display settings, but nothing.  Any help is appreciated. Thank you!

    Nope.

    The dial pad was changed to 10.3.1 white background.  the dark background was in 10.2.1 and earlier versions.

    It is not editable because there is no setting for this.  There is the option for keyboard - you can have a light background or dark - but not the dial pad.

  • BlackBerry Smartphones Track Pad doesn't work do not at all

    Hello

    I am trying to trouble shoot a Blackberry Torch (9800). The trackpad stopped working and I can't get it working again. Do you usually, rebooted, removed the battery, etc.

    If anyone has had the same problem or know a solution?

    GF

    Thanks for trying. I guess I'll have to take in to the dealer for warranty repair.

    GF

  • BlackBerry Smartphones Track pad does not

    Hi all

    I have Curve 9630, I had a problem with my pad his can totally stop please help me how can I solve my problem as soon as possible with my thanks.

    It's 35 minutes after you posted this... I hope it's soon enough.

    Remove the battery while your phone is on, then replace it.

    Let us know if it works for you.  If this is not the case, there are other options we can explore.

  • BlackBerry Smartphones how do you get the pad to stay rather than return to the ABC?

    It's maybe just me, but I can't understand this...

    When I type a message or an e-mail to someone and you must type a number as a phone number, I hit the 123 button and rises in the keypad, but once I hit a SINGLE number, the ABC cushion back upward, but I need to it remain on the numpad 123 so I can type in phone numbers to people without switching to the CBA pad efter I type just 1 number...

    what I'm doing wrong here?

    Just press and hold the! 123 key. You will notice that it will show a small symbol ' lock ' next to it. To return to "letters" be struck once again that the key or press the 'aA '.

  • BlackBerry Smartphones Memo Pad desperately need help

    I just switched to a 8310 to a 8900 and then I downgraded to OS v5.0.0.411 because my standby button would not work. What happened is that I lost my Notepad completely... and I tried everything mentioned by anyone on the various sites.

    I tried the application loader, but the memo pad application is not displayed

    I tried to show all the apps and looked in each folder, but it is not there

    Checked in the list of applications on the phone and its not there

    even made her "press the D key" after have changed the call of the home screen thing.

    Can someone please help me, the notebook is very important for me and I really want to get installed it as soon as possible

    First of all, the eve of new OS works completely different. Press the lock button on the top to turn the new pending. To lock the device, you must go to the lock icon in the Ribbon. This will be true for all OS in the future. This isn't a bug, it's the way things are now.

    Then, reinstall OS on your PC le.411 and crochet then your device back (after deleting the vendor.xml file) and see if the notebook is listed. If so just check and install. Otherwise, click the Add button, navigate to the installed operating system location and choose the memopad.alx file. He must find and install.

  • Smartphone blackBerry Storm 5.0 upgrade problems - Missing Core Apps (Memo Pad, Word To Go...)

    After the upgrade to 5.0, all contacts, emails and text messages are wiped out.  In addition, many applications have disappeared but not only incompatible those known (such as mentioned in another part of the forum), but the core ones like Notepad, calculator, Word To Go, etc.  Application Center is still left!

    I agreed that the contacts & messages may be gone for good (but why does say it is saved during the upgrade?), but what about basic BB applications?

    Hello and welcome!

    Somehow, it seems that if the update were not properly or fully succeed. I suggest to start over:

    • KB11320 How to perform a clean reload of the BlackBerry Device Software using BlackBerry Desktop Manager

    Regarding your data, according to what did you when you did the first attempt (it would have offered as save you the options and choices), it may or may not be a backup available for restore you from. Search your entire hard drive to a file with an extension of the RPI (*.) IPD)... inspect the date/time that the results were created. If there in your first attempt, can use as source for your catering:

    • KB10339 How to restore data from a backup file to a BlackBerry smartphone

    Good luck and let us know!

Maybe you are looking for

  • How migrations (El Capitan) not come to the photo library?

    Hello I want to use the Migration Wizard to move my user account for my MacMini BUT put the photo library on a separate hard disk from the system drive. My MacMini has two internal drives, the library is huge. The MacBook (early 2008 - running Snow L

  • HP mini 110: I forgot the password for bios

    Hi im stuck with the password. I don't know the password. system stopped with my computer hp mini 110. the code is CNU93412GL. Help, please

  • Problems of El Capitan on iMac

    I have 5 years 27 "iMac.  October 9, 2015I I upgraded the operating system of Yosemite to El Capitan.  There are no problems during the intallation.  When I started to use the iMac he after installation, all my contacts are gone.  I then noticed that

  • Can't install software for HP Photosmart C4200 Photosmart on the new Windows 7 computer

    I'm unable to install the software for a HP Photosmart C4200 Photosmart on the new Windows 7 computer.  Says it's not compatible with OS.  Is there any solution for this?

  • Role permissions for the same object more

    Hello everyone,I work in a large company with lots of data and Oracle DB base, specificallythe management of the security services account (accounts, roles, privileges, etc...).In a few DB, we have a role named RO ALFA READ, with grant select on tabl