Problem with string to Long in Blackberry JDE and Eclipse w / Blackberry plugin

I'm trying to convery a string to a long use in a persistent store.  I'm following the doc of Blackberry on the process.  When I type the chain and right click on "Convert String to Long" is gray in Eclipse and the BB JDE.

 applepie

  String key = new string ("applepie");

  String key = "applepie";

those are the means I m try in both environments.

What I am doing wrong?

There must be something simple.

I'm probably not see the forest because of the trees.

You must select this channel.

first select the channel using the mouse (as when we do to cut or copy)

After that right-click on this channel.

Tags: BlackBerry Developers

Similar Questions

  • Problem with string to Int conversion

    Dear friends,

    Problem with string to Int conversion

    I'll have a column where most of the values is digital. Only 4 values are not numeric.

    I have replaced the non-numeric values to numeric in order to maintain the data type.

    Grade.Grade DEAL WHEN "E4" THEN "24' WHEN 'E3' THEN '23' WHEN 'E2' THEN '22' WHEN 'E1' THEN '21' Grade.Grade OTHER END"

    This is the result as inactive

    Grade

    _0_

    _1_

    _10_

    _11_

    _12_

    _13_

    _14_

    15

    _16_

    _17_

    _18_

    _19_

    _2_

    _20_

    _21_

    _22_

    _23_

    _24_

    _3_

    _4_

    _5_

    _6_

    _7_

    _8_

    _9_

    Discount
    -            -            -

    Now I want to convert this value in digital and do some math

    So I changed the formula as below

    Cast (CASE Grade.Grade WHEN "E4" THEN "24' WHEN 'E3' THEN '23' WHEN 'E2' THEN '22' WHEN 'E1' THEN '21' Grade.Grade END as an INT. ELSE")


    Now I get the following error
    View display error
    Driver Odbc _ returned an error (SQLExecDirectW). _
    Error details
    Error codes: OPR4ONWY:U9IM8TAC:OI2DL65P
    _State: HY000. Code: 10058. [NQODBC] [SQL_STATE: HY000] [nQSError: 10058] A general error occurred. [nQSError: 17001] Oracle error code: 1722, message: ORA-01722: invalid number in the OIC calling OCIStmtFetch. [nQSError: 17012] In bulk fetch failed. _ (HY000)
    SQL issued: SELECT cast (CASE Grade.Grade WHEN "E4" THEN "24' WHEN 'E3' THEN '23' WHEN 'E2' THEN '22' WHEN 'E1' THEN '21' Grade.Grade END as an int. ELSE") seen'Human Capital' 0 - Costing Manpower WHERE LENGTH (Grade.Grade CASE WHEN 'E1' THEN '20' WHEN 'E2' THEN '21' WHEN 'E3' THEN '22' WHEN "E4" THEN "23 ' ELSE Grade.Grade END) > 0 ORDER BY saw_0_

    Discount





    Could someone help me

    Concerning

    Mustafa

    Published by: Musnet on June 29, 2010 05:42

    Published by: Musnet on June 29, 2010 06:48

    Are you sure you don't have another non-digital value in your column. I want to get this filter temporarily just to check if your plaster works or not. If it works, then you can remove this filter.

  • I have a problem with the simulation in Matlab 6.5 and LabVIEW for PID controllers

    I have a problem with the simulation in Matlab 6.5 and LabVIEW. I have a few methods for granting regulators PID in MATLAB to go but not of LabVIEW. Degree of international teams of two transfer but when I passed to the fourth degree is no longer working. We have changed the formula to calculate the parameters for the fourth year and gave me some good values for assignment of Matlab, but when I put on LabVIEW are not resolved. the formulas are available in PDF format and are. Please help me and me someone if possible. Thank you
    Lim.4 generation in comparison methods and the MATLAB program settings are for the service of transfer to the second degree.

    Hello Lascarica,

    I noticed that you are using the screw of PID. Gains on these screws are based on TIME instead of GAIN. You should be able to build a PID regulator and vary the gains and then compare the results.

  • Problem with El Captain (5.1.7 server) and the management of permissions

    Hello world

    I have a big problem with our Mac Mini Server (El Captain) and the server program.

    In recent weeks, the server didn't give the permissions of a folder.

    for example:

    Mr. X had permission to read and write to a folder.
    Mr Y too.

    Mr. X has create a new folder one record something in it.

    Mr Y had the permission to read or write to the folder create Mr. x. But he should have.

    Or

    Mr. X has save a file to a folder

    When he opens it again it is write protected and cannot be replaced.

    So you have to save under a different name in the same folder.

    And every time he save/close the file.

    Anyone know what could be the problem?

    Thank you

    Greetings from the Germany

    Chris

    My guess:

    A few weeks ago someone messed with the permissions on your server and made a mistake. So, you got an inappropriate list ACL (Access Control), which is rampant in the file and must be removed or fixed.

    http://www.TechRepublic.com/blog/Apple-in-the-enterprise/introduction-to-OS-x-AC cess-control-lists-ACL.

    C.

  • Having a problem with my computer I try to restart and get BSOD saying internal error Planner video background

    Original title: Blue Screen of Death (BSOD)

    Hello im having a problem with my computer I try to reboot and I get BSOD saying internal error Planner video background

    Here is my mini dump file:

    https://onedrive.live.com/redir?RESID=60FEBF11B9A3D76! 4807 & authkey =! AGKWUp-ndI0XBgE & ithint = the file % 2cdmp

    and here is my system info:

    https://onedrive.live.com/redir?RESID=60FEBF11B9A3D76! 4810 & authkey =! AFloWJarqiE83QM & ithint = the file % 2cnfo

    im hoping that this will let you know what is wrong or not

    RW

    This phenomenon was linked to your video driver (atikmpag.sys) /DirectX.  I would completely remove the current driver and install the latest driver available.

  • I am running windows vista and am warned there is a problem with windows media center, restart my computer and try again. It did not work. Help

    I am running windows vista and am warned there is a problem with windows media center, restart my computer and try again. It did not work. Help

    Run the Setup again.

    Open WMC > tasks > settings > General > installation Windows Media Center > rerun the installation

    Does that help?

    If the above does not help then try to reset WMC: -.

    Open Control Panel > uninstall a program > turn Windows features on or off > scroll multimedia features > uncheck the box against Windows Media Center > follow the instructions on the screen > Reboot > open again to turn Windows features on or off in the control panel > scroll multimedia features > check the box against Windows Media Center.

    Now reconfigure WMC again

  • I have currently problems with control panel Nvidia causing black outs and computer freezing/not not be able to start.

    I have currently problems with control panel Nvidia causing black outs and computer freezing/not not be able to start.

    1) update your nVidia/software drivers to the latest version for your model video card + operating system.

    (2) check that the equipment is not defective.

    This is not a Microsoft / number of the operating system.  For additional troubleshooting - contact the manufacturer (nVidia).

  • Problem with livemail, upgrade Windows 7 to 10 and back again

    Separated from this thread.

    Hello

    Having problem with livemail, improved Windiws 7 to 10 and then uninstalled immediately revert to the original with option to the program (things not working not properly).   All rolled back does OK no message or data errors.

    Now all the direct mail has duplicated, will remove some, but others won't.

    Can you post help or solution, please

    John

    It seems that many of those who go back to Windows 7 from Windows 10 experience a corruption of the store folder (the folder where messages, calendars and the account settings are stored). According to your storage folder is how complex (several accounts, calendars a lot, a lot of messages number of files), it can be simpler to just create a new storage folder and fills again:

    1. Looking at your list of messages in Windows Live Mail, press Ctrl-Shift-O for Options. On the Advanced tab, click Maintenance and then store the file. Copy the path to locate the storage folder.
    2. Close Windows Live Mail and wait a few minutes (the program will continue to run in the background, while he does his household).
    3. Press the Windows key + E to open an Explorer window, and then paste or type the path that you copied to the (1) in the address bar and press ENTER. This should open your storage folder.
    4. Right-click on the name of the folder in the navigation pane, and select Rename. Call the Live Mail Backup.
    5. A repair must check that all the program files are present and correct and properly registered, as appropriate. To do this, close all running programs, and then press Windows key + R, type wlarp and press ENTER. In the window that opens, select repair all Windows Essentials programs:


      When it is finished, restart the computer.

    6. Start Windows Live Mail and wait the program installs before doing anything. Press Ctrl-Shift-T to start the add your Assistant e-mail accounts and follow the prompts to add your e-mail accounts.
    7. Click once on the work online on the status bar and deconnecter disconnect Internet to avoid interference email downloads, and then use the file > import messages (I Alt - F) and point the wizard to the Live Mail Backup folder level. Do not intervene while the import happens.
    8. Leave the program alone for a while (an hour or two, or even a night or more) to enable him to reindex all your messages, then close and wait half an hour for the program to do his household.
    9. Relaunch the program and look at your messages under folder imported into storage folders. Take it slow, drag files out of any folder and drop in the location you want. Again, give the program time to re - indexing messages in their new location.

    Note that you can not drag files out of storage files. If you want to forward messages to a high plu account folder in the folders pane, you need to select messages to transfer, and then use the right click > move or copy folder. The controls are also available as buttons in the folders of the Ribbon tab.

  • IntelliSense in JDE and Eclipse PlugIn

    Newbie here! I need to develop to the 5.0 platform. I downloaded JDE for 5.0 and got example HelloWorld working. My previous 2 years were with Eclipse so after a lot of frustration, I have Eclipse Helios working with the pack 5.0 component. But I noticed on the JDE and Eclipse that intellisense does not seem to be available / work. In other words, if I type:

    Dim myString As String = "";

    int myInt = 0;

    myInt = myString.

    I'm expecting the IDE to display the methods available for the String object immediately after my typing of the period. Do BB d and Eclipse Plugins support this, and if so, any idea why this doesn't work?

    Thanks in advance!

    In JDE, go to Edit/Preferences/Editor/semi-automatic and select:

    Include the java.lang.Object methods...

    Not sure why this is not however the default value.

    In Eclipse, it seems to work, but I don't know why (I won't change anything).

    I'm good to go for now!

    TX for the ear!

  • Problem with the key S/4 blackBerry Smartphones.

    Well, Hello community; This is my first post here.

    I have a problem with my Blackberry Curve 8520 device:

    3 days ago I typed the password incorrectly 10 times, then he appeard things like (wiping or something) and some numbers. Later, I turned on my camera; And seen all Contacts and all reset, I restarted from the beginning (adding new contacts Downloding, programs, etc.) This has worked for me for 2 days, but now... My camera is trolling as hell, (S/4) key does not work, I can not activate it with the mute button; I need to activate it with the 'Red' button, too, if I turn off the power, I can't activate it with the 'Red' button, I just pull the battery...

    (Hope you understand my problem and sorry for my English, I know; She sucks...

    Greetings, Diego)

    Hello and welcome to the community!

    You can consider a charge of BONE, that something can be a problem with your OS BB given what you describe. But first, please try safe MODE:

    • KB17877 How to start a smartphone BlackBerry in Mode safe

    It will take several attempts to get the combination of keys ESC (press/release/hold) OK, so be patient. When properly in Safe Mode, run for awhile determine if behaviour will or will not return. If it is then in safe mode, then you should proceed with reloading the OS. But if the behavior does not work in safe MODE, then well... think about what happened just before this behavior started? A new application? An update? A theme? Something else? Think carefully that the slightest change can be causal... and try to undo all that was.

    To perform a reload of the OS, here are some process, you can use:

    At the top of each forum device, there should be some 'sticky' threads dealing with the level of the OS available for many models. If they understand your model, please use those as a reference as you go along. Otherwise, you will have to dig through the download portal official for packages of OS for your model:

    From a PC, you can install any compatible OS package (for example, for your BB model exact number) of a BB via this procedure:

    Note Although written to "recharge" and the storm, it can be used to upgrade, downgrade or recharge any BB device model - depends on the operating system package you download and install on your PC. If this OS package comes from one carrier other carrier for which your BB was built, then remove, on your PC, all copies of the SELLER. XML... There will be at least one and maybe 2, and they will be located in the same way or to (it changes based on your version of Windows) these files:

    • C:\Program Files (x 86) \Common Files\Research In Motion\AppLoader
    • C:\Users\(your Windows username) \AppData\Roaming\Research In Motion\BlackBerry\Loader XML

    Don't forget that you remove, since your PC, any other BB OS devices as packages with more than one installed on the PC can cause conflicts with this procedure.

    You can also study the use of BBSAK (bbsak.org) to perform the wipe what he is capable.

    You can also try this procedure might limit the specific causal element:

    1. Load your OS "bare bones"... If everything is optional, do not install it.
    2. If the behavior is immediately, then try another OS with step 1
    3. If the behavior does not immediately, then run for as long as necessary to make you to be sure that the behavior will not occur.
    4. Add one more thing - no matter how tempting, one.
    5. If the behavior does not immediately present, and then runs for long enough to be sure he won't have the same problem
    6. Repeat steps 4 and 5 until all things are responsible or the behavior presents

    When the behavior shows up, you know the culprit... the last thing you have loaded.

    If the behavior doesn't re-present, then you know that step 1 or 2 cured it.

    If the behavior has anything, then you have probably a problem of material level for which no amount of OS or software can heal.

    If you are on a MAC, you are limited to only your sanctioned carriers OS packages... but can still use any level they currently have to sanction. See this procedure:

    • KB19915 How to perform a clean reload of the smartphone BlackBerry using BlackBerry Desktop Software application software

    Good luck and let us know!

  • Problem with string writing series

    I'm using labview to send commands to a device using the serial port com1.  Using the example VI "Base series in reading and writing", I can communicate with my hardware very well, can write and can read.   the problem comes when I want to edit the VI by using my own string instead of the string provided in the example.  When I create a string constant with the exact text that was in the example string box, I can not write my material.

    I don't understand why this wont work.  Is there something special about the example of the VI text 'string to write' box that I don't know?

    Help, please

    Thank you

    I know what you mean and it does not work like that.  For some reason if I use a string with \r\n constant it still does not work.

    Anyway, I solved the problem in a roundabout way.  The command I sent you is a word but both parties; first part, second part number.  I want to create a loop when the number changes.  I was able to do this by combining three channels, the first is a copy of the example string, the middle is my number converted to string, the third is a different copy of the string of examples.  Now it works and I can with my life

  • Problem with the e-mail icon blackBerry Smartphones

    My text messages started showing both text message icon and the icon of e-mail (all). All emails coming through my Blackberry 9320 I can only access once the desktop computer (where of alerts for received text/missed calls / emails shows just under the 'time' at the top of the screen).

    Anyone know what the problem with my camera? and how can I solve this problem?

    Thank you.

    OK, clearer... Thanks for that.

    Did you do a reboot of the device?

    Perform a simple reboot on the BlackBerry this way: with smart BlackBerry poweredphone, remove the battery for a minute and then reinsert the battery to restart. A reboot in this manner is prescribed for most defects and errors of operating system, and you will lose any data on the device doing so.

  • Problem with the internet service of blackBerry Smartphones

    Hi, I had my BB curve less than a month, so I'm still learning.  I can access internet for most sites, but the one that I want - I can not go beyond the main connection.  I am an AVON representative and want to be able to access my AVON site but when I connect, it just reloads the same page - doesn't give me any error messages or anything.  AT first, he said I had to activate Java script - I went to options and enabled the Jave script - but still no luck.  Does anyone have any suggestions.  I have no problem with other sites, but I have not tried all the others I actually connect.

    Thank you

    Sorry I took so long.

    I don't have to connect that I was checking to see if he had all the elements that would keep the BB to access the site.

    I can't speak to the internals.

    I would recommend a third party FREE application. It is called opera mini, another type of browser. It shows the page of the entire site and you can zoom in on what you want on the page. I had the chance to connect to sites on this

    App. I guess that a second reason for you would be especially in the search for the pages of products etc.

    Sorry I couldn't be more helpful. If you could please take a moment to solve this thread using the green check mark in the post that is closest to you to answer your question, I would appreciate it.

    Here is the link for Opera mini, go on your BB and download, be sure to allow all connections. Try it and see if it helps. If you need help, just open a thread and we will help you with it.

    Thank you

    http://www.operamini.com/download/

  • Problem with zoom Digital of Smartphones blackBerry (())

    I can't take a picture with a zoom. I tried to change my setting turned on and off, but no use... I need a solution to this problem!

    Try this-

    When your device is turned on, remove the battery for a minute and then reinsert the battery. This do a reboot your device that minor problems with the BlackBerry.

  • Dead pixel blackBerry Smartphones and the problem with the case of my BlackBerry 9780

    Hello world

    Recently, I bought a BlackBerry 9780 by Vodafone Spain (23 December) and I found a few problems.

    One of them is the presence of a dead pixel in the upper right and the feeling of the case a little weak in the left side that, when you touch it you can feel it creaks a bit.

    I would like to know if the warranty of BlackBerry or Vodafone Spain will cover this problem or if some of the new users of this model of BlackBerry noticied some of these problems and knows how to solve this problem.

    Sorry if they have problems with spelling. My usual language is Spanish .

    Thank you very much.

    A dead pixel is a hardware fault, and there is no miracle for her.

    Check if you can get a replacement.

Maybe you are looking for