Strom - how to capture the character alphabetical non-base [keypad.map (keycode)]

Hello

In our application, we have a search screen. His works well when we enter alphabetic characters (the keyboard multitap strom).

Problem is when we type some non alphabetic characters on the device (e.g. $, % &) it isn't research.

In the keyDown() method, we get the key as

key tank = Keypad.map (keycode);

The code above was not capturing the symbols and other characters not alphabetic. its return null value (/ u000).

Is there any way to solve this problem.

Insted of Keypad.map (keycode); It is another method to get all the characters.

Thank you

MINDUS

Problem solved by using metod keyUp()

Tags: BlackBerry Developers

Similar Questions

  • How to set the character encoding in Blackberry

    Hello

    In my application, I get the data using http server methods...

    now my question is that, in that the data is seen some like that

    ex: Córdoba, but inside, I do not like this...

    After some R and D, I thought that I have to set the character encoding...

    can someone tell me how to set the character encoding and how I can get all languges in my application

    See below the code for reference

     HttpConnection c = null;
                        InputStream is = null;
                        DataOutputStream os = null;
                        int rc;
        c = (HttpConnection)Connector.open("http://10.10.10.00012:8585CountryDatar;deviceside=true;");
                                c.setRequestMethod(HttpConnection.POST);
                                c.setRequestProperty("If-Modified-Since", "29 Oct 1999 19:43:31 GMT");
                                c.setRequestProperty("User-Agent", "Profile/MIDP-2.0 Configuration/CLDC-1.0");
                                c.setRequestProperty("Content-Language", "en-US");
                               /* Getting the output stream may flush the headers */
    
                                os = (DataOutputStream)c.openDataOutputStream();
                                byte[] res = net.rim.device.api.system.GPRSInfo.getIMEI();
                                os.writeUTF(net.rim.device.api.system.GPRSInfo.imeiToString(res));
    
                                os.flush();
                                /* Optional, getResponseCode will flush
                                    Getting the response code will open the connection,
                                    send the request, and read the HTTP response headers.
                                    The headers are stored until requested.
                                */
                                rc = c.getResponseCode();
    
                                if (rc != HttpConnection.HTTP_OK) {
                                   throw new IOException("HTTP response code: " + rc);
                                }
    
                                is =(DataInputStream)c.openDataInputStream();
                                 byte[] data1 = new byte[256];
                                 int len = 0;
                                 int size = 0;
    
                                int ch;
                                StringBuffer sb = new StringBuffer();
                               while ( -1 != (len = is.read(data1)) )
                               {
                                    sb.append(new String(data1, 0, len));
                                }                
    
                             data = sb.toString();       //Here data is a string storing all data came from server
    

    Give us a break please.  I have other things to do!

    You set the encoding here:

    SB. Append (new String (data1, 0, len));

    Most of the servers give you UTF - 8, but you know that.  Anyway, if it is UTF - 8 follow these steps:

    SB. Append (new String (data1, 0, len, "UTF - 8"));

  • How to capture the data of type string with agent script and then compared to an alarm

    Hello...

    How to capture the string with agent of script data and then create a rule to compare the string data to generate alarm?

    Thank you!...

    Start here:

    http://en.community.Dell.com/TechCenter/performance-monitoring/Foglight-administrators/w/Admins-wiki/6155.custom-script-agent-1-leverage-an-existing-monitoring-script-to-push-data-into-Foglight

  • How to capture the values

    Hi friends,

    I came across one of the scenarios, i.e.

    In my application, I have a report page and a form page, the report and the form are based on the unique table...

    If a record is inserted medium, means it will be inserted in the report...

    in the region of report I have an button called then if I clicked the next button means a form page must open to capture all values which is inserted in the report of each field of the form...

    How to capture the values of the ratio to form shortly after clicking on the button NEXT in the region of report...

    Help me solve this question friends,

    Thank you
    Saro...

    Hello

    For the Next button , which is located in the region of report,

    change the Action: to redirect to the page and give the respective page number: (i.e.) the target...

    And specify the value of these items: what are all the elements of the target.

    with these values: describe the elements of the source where you will take the values of the corresponding points...

    Izz all wells
    GTA...

  • How to remove the character within a text.

    How to remove the character within a text.
    If I have a text like: "[4, 5, 6, 3, 9]" How can I remove the commas?
    Thank you
    and Merry Christmas.

    A possible technique would be to use a repetition structure that loop until all of the commas are removed:

    on mouseUp me
     
    theString = '[4, 5, 6, 3, 9].
     
    Repeat while theString contains «,»
    thePos = offset ("," rope)
    delete theString.char [thePos]
    end repeat
     
    put the rope
     
    end mouseUp

    However, this probably isn't the most effective technique if you are dealing with very long strings.

    If you use the JavaScript syntax, you can strip characters with a regular expression.

  • How to capture the value of profile in AM

    Hello

    How to capture the value of profile in AM.

    Krishna

    Here is the code that you can use

      String profileValue=  getOADBTransaction().getProfile("profile Name");
    

    Thank you
    -Anil

  • How to capture the value of type column report

    It would be a great help that you might suggest the following

    (i) Java script that I wrote on the standard status column (in a tabular report) fails.
    This happens because of the standard status column, if I use the text field then called Javascript function and showing correct results.

    Now, here, I want to know how to capture the value of the column standard report, since javascript fails due to
    the column values of standard report unrecognized.

    Example:

    Columns of the report as a table:
    ```````````````````
    Standard report column: salary
    TextField report column: new treatment
    Report column standards: difference

    I've written the javascript on column New_salary function which returns the value of the salary column to calculate the difference.

    For this column of report types, the javascript function does not work, that is to say, it does not show the difference., since it is not read
    the value of the column Salary (which is the Standard type of report column)
    Once I have change the Salary column to text (display as saved state) javascript field works fine.

    All entries on how to capture the standard value of the column, so that I can access the value of the javascript function.

    Thanks in advance
    Vijay

    Hi Vijay - I had problems with the forum as well (and my workspace OTN so)!

    You have two questions, I think.

    First of all, that the old wage is not an input element, you can not get to it by referring to an ENTRY tag. you will need to change that to something like:

    var s1 = d[k-1].firstChild.nodeValue;
    

    This means that there is nothing else in the cell apart from the text - as in < td > < table > 123. If there is something else there that stops you getting the value using the above, you can go through these nested tags referring to objects further firstChild-

    var s1 = d[k-1].firstChild.firstChild.nodeValue;
    

    As I don't see your page, you need to check yourself to see firstChild how much you need. This example assumes that you had something like: < td > < b > 123 < /b > < table >

    Second, the values of s and s1 are strings. You must convert these numbers to be able to perform calculations. You have two javascript functions to do this: ('string') parseFloat and parseInt ('string'). One contains decimals, the other is not - but know that one is not very accurate (it can change "123.456' in ' 123.455999999995' or something similar - not very good! '").

    So, your calculation should be:

    var diff = parseInt(s) - parseInt(s1);
    

    Andy

  • How to enter the character ü when you use the pinyin keyboard?

    How can I enter the character u when you use the pinyin-simplified keyboard, for example, for the opening of the syllable nu with your 3.

    The keyboard pinyin-simplified is for entering the characters han, not latin.  If you want to type the latin pinyin, you must use the extended ABC keyboard configuration.  A list of the shortcuts is to

    http://symbolcodes.TLT.PSU.edu/accents/codemacext.html

  • How to capture the pointer when you use print screen in Vista?

    I am writing instructions for three classes of Excel, and I want to capture the different sliders to include in the directions.  Of course, when I use print screen, they disappear, so nobody knows how to capture them?

    Hello

    I suggest you to try the cutting tool and check if it helps.

    Use the cutting tool for screenshots:

    http://Windows.Microsoft.com/en-us/Windows-Vista/use-Snipping-Tool-to-capture-screen-shots

    I hope that helps!

  • How to capture the screen in Microsoft Windows 8

    I saw a lot of videos on YouTube on the settings of Windows, and I was wondering how they capture their screen like a video. I asked a person and he suggested me to use Cam Studio. I tried to use it, but I discovered that it was very difficult for me to use.

    I need software screenshot with the possibility to mix videos, add captions, add tracks at bottom. I also want to make a GOOD video "INTRO" and "GOOD".
    Please, can someone help me?
    I need this software so bad. I have to make a video for my computer CTTP, Grade 7.
    Please help with in 2 weeks.
    YOURS SINCERELY.
     

    You can try Hypercam http://www.hyperionics.com/hc/

    or maybe http://www.avs4you.com/ and download video editor

  • How to capture the ORA-6550

    I want to find the ORA-06550 errors

    SQL> alter session set events 'sql_trace';
    
    Session altered.
    
    SQL> select 'foo' from dual;
    
    'FO
    ---
    foo
    
    SQL> exec foo
    BEGIN foo; END;
    
          *
    ERROR at line 1:
    ORA-06550: line 1, column 7:
    PLS-00201: identifier 'FOO' must be declared
    ORA-06550: line 1, column 7:
    PL/SQL: Statement ignored
    
    
    SQL> quit
    
    


    If I look in my trace file, I don't find any ORA-6550

    Trace file /u01/log/oracle/diag/rdbms/db01/DB01/trace/DB01_ora_42860586.trc
    Oracle Database 11g Enterprise Edition Release 11.2.0.3.0 - 64bit Production
    With the Partitioning, OLAP, Data Mining and Real Application Testing options
    ORACLE_HOME = /u01/app/oracle/product/11.2.0/db_3
    System name:    AIX
    Node name:      srv01
    Release:        1
    Version:        7
    Machine:        00F626FA4C00
    Instance name: DB01
    Redo thread mounted by this instance: 1
    Oracle process number: 38
    Unix process pid: 42860586, image: [email protected] (TNS V1-V3)
    
    
    *** 2015-09-17 13:59:49.109
    *** SESSION ID:(358.241) 2015-09-17 13:59:49.109
    *** CLIENT ID:() 2015-09-17 13:59:49.109
    *** SERVICE NAME:(SYS$USERS) 2015-09-17 13:59:49.109
    *** MODULE NAME:([email protected] (TNS V1-V3)) 2015-09-17 13:59:49.109
    *** ACTION NAME:() 2015-09-17 13:59:49.109
    
    CLOSE #4573396320:c=6,e=10,dep=0,type=1,tim=49416422688162
    =====================
    PARSING IN CURSOR #4573391040 len=22 dep=0 uid=0 oct=3 lid=0 tim=49416422690646 hv=3859763380 ad='70000005ae19830' sqlid='cvysbzgm0yn5n'
    select 'foo' from dual
    END OF STMT
    PARSE #4573391040:c=790,e=1312,p=0,cr=0,cu=0,mis=1,r=0,dep=0,og=1,plh=1546270724,tim=49416422690645
    EXEC #4573391040:c=18,e=31,p=0,cr=0,cu=0,mis=0,r=0,dep=0,og=1,plh=1546270724,tim=49416422690748
    FETCH #4573391040:c=8,e=13,p=0,cr=0,cu=0,mis=0,r=1,dep=0,og=1,plh=1546270724,tim=49416422690808
    STAT #4573391040 id=1 cnt=1 pid=0 pos=1 obj=0 op='FAST DUAL  (cr=0 pr=0 pw=0 time=4 us cost=2 size=0 card=1)'
    FETCH #4573391040:c=0,e=1,p=0,cr=0,cu=0,mis=0,r=0,dep=0,og=0,plh=1546270724,tim=49416422691085
    
    *** 2015-09-17 13:59:57.118
    CLOSE #4573391040:c=7,e=12,dep=0,type=0,tim=49416430697630
    =====================
    PARSING IN CURSOR #4573389592 len=202 dep=1 uid=0 oct=3 lid=0 tim=49416430698685 hv=3819099649 ad='700000066ccf5b8' sqlid='3nkd3g3ju5ph1'
    select obj#,type#,ctime,mtime,stime, status, dataobj#, flags, oid$, spare1, spare2 from obj$ where owner#=:1 and name=:2 and namespace=:3 and remoteowner is null and linkname is null and subname is null
    END OF STMT
    PARSE #4573389592:c=59,e=95,p=0,cr=0,cu=0,mis=0,r=0,dep=1,og=4,plh=853875749,tim=49416430698684
    EXEC #4573389592:c=32,e=52,p=0,cr=0,cu=0,mis=0,r=0,dep=1,og=4,plh=853875749,tim=49416430698837
    FETCH #4573389592:c=18,e=31,p=0,cr=2,cu=0,mis=0,r=0,dep=1,og=4,plh=853875749,tim=49416430698888
    STAT #4573389592 id=1 cnt=0 pid=0 pos=1 obj=18 op='TABLE ACCESS BY INDEX ROWID OBJ$ (cr=2 pr=0 pw=0 time=37 us cost=3 size=80 card=1)'
    STAT #4573389592 id=2 cnt=0 pid=1 pos=1 obj=37 op='INDEX RANGE SCAN I_OBJ2 (cr=2 pr=0 pw=0 time=34 us cost=2 size=0 card=1)'
    CLOSE #4573389592:c=1,e=1,dep=1,type=3,tim=49416430698970
    
    *** 2015-09-17 14:00:00.974
    XCTEND rlbk=0, rd_only=1, tim=49416434554077
    CLOSE #4573391040:c=1,e=6,dep=0,type=0,tim=49416434554235
    
     

    How is it possible to capture the ORA-06550 and underlying instructions exec?

    Thank you

    Laurent

    Laurent,

    You can draw more precisely by using:

    ALTER session set events "6550 trace name errorstack level 1";

    and,

    ALTER session set events ' trace name errorstack off 6550;

  • How to capture the username to login dialog before actual login on demand. as in the trigger LOGON IT I want to put a validation

    When the user launches the application we get connect dialog asking the USER name: PASSWORD: STRING: values.

    Once we enter these values, it will connect to this session. But I want to take the username before you actually connect to the database. How is it possible. I'll make a few validatios before opening SESSION or ONE CONNECTION.

    IM using form 11g

    Forms [32 bit] Version 11.1.2.1.0 (Production)

    Oracle Database 11 g Enterprise Edition Release 11.2.0.3.0 - 64 bit Production

    With partitioning, OLAP, Data Mining and Real Application Testing options

    Oracle Toolkit Version 11.1.2.1.0 (Production)

    PL/SQL Version 11.1.0.7.0 (Production)

    Oracle V11.1.2.1.0 - Production procedure generator

    PL/SQL Editor (c) WinMain Software (www.winmain.com), v1.0 (Production)

    Query Oracle 11.1.2.1.0 - Production Designer

    Oracle virtual graphics system Version 11.1.2.1.0 (Production)

    The GUI tools Oracle Utilities Version 11.1.2.1.0 (Production)

    Oracle Multimedia Version 11.1.2.1.0 (Production)

    Oracle tools integration Version 11.1.2.1.0 (Production)

    Common tools Oracle zone Version 11.1.2.1.0

    Oracle CORE Production 11.1.0.7.0

    Some how WE-ERROR now works. seems that I made a mistake. I capture the error ORA-2391 he and custom message display.

    Thank you

  • How to capture the event of selection of a table on the side line client (JavaScript)

    The example is:
    < af:table >
    < af:column >
    < af:outputText... >
    < af:clientListener... / >
    < /... >
    < /... >

    However, the text does not fill to the top of the cell. So, if I click on the on the empty area, the event handler is not called.
    I hope, even if I click on the empty area of the line, the event handler will be called.
    In fact, if I click on a row of a table at any location, including the empty area, the line becomes blue. How to capture this select event row on the client side?

    You can try file the client listener as a child under tag instead of the ?

    
    ...
    
    
    
    

    The above code should call a function in your js file called "handleTableDoubleClick", which, in turn, queued a ClientEvent that can be attached to a Backing Bean method. Something like:

    ...
        public void handleTableDoubleClick(ClientEvent ce) {
           //do something when the table is double clicked.
        }
    ...
    

    hope that helps

  • How to capture the result of the INSERTION/update in a variable?

    Hi friends, look at this:

    SQL > UPDATE MyTable SET MyColumn = 100;
    -1000 lines to update

    How do I capture the message "1000 rows updated" in a variable in a stored procedure?

    Concerning

    after update stmt writing below stmt in the procedure;

    dbms_output.put_line (' lines = ' |) TO_CHAR(SQL%ROWCOUNT));)

    Published by: J2EE_Life on April 26, 2012 08:40

  • How to capture the value of the profile controller option in the OPS?

    Hello

    I have a requirement to capture the value of the value of the profile controller option in the OPS?
    How to write the code for this?

    Thank you

    Hello

    I have a requirement to capture the value of the value of the profile controller option in the OPS?

    Pagecontext class we getProfile method using this you can get the value of profile:

    pageContext.getProfile ("profilename");

    Concerning
    Meher Irk

Maybe you are looking for

  • forget the ios 9.3.3 wireless network.

    In settings -> Wireless connection you used to be able to click on a network and the option "Forget network" would be displayed for this network.  Since I've upgraded to ios 9.3.3. the option "Forget network" seems to have disappeared.  Am unable to

  • Satellite A30: Lasts 30 minutes just to load XP

    I just installed xp pro sp1 on my a30 but not from toshiba drives, as soon as it was installed it takes 30 minutes just to load xp before signing I put the new bios update V1.80 but still no joy and changed the start of devices but still no joy PLEAS

  • HP SimpleSave software missing md1000h

    Hello! I found miss me somehow my HP SimpleSave software md1000h. Vanished into thin air! (Or, of course, I did go away somehow). Can anyone help? Thank you azmark

  • store numbers in tabular form 2D production

    Hello I get the tension and position of a LUN in the form of numbers that are constantly changing. Now my question is that how can I keep these (marked in the image of red circle) numbers tabulated 2D? Thank you in advance.

  • Removing applications with the EULA you agree with!

    When I bought my droid (which I am very happy with!) I had a group of applications, that which some I didn't. Recently, Twitter has been added to the group "pre-installed" without my consent. They have recently updated their terms and I agree more wi