How to store and retrieve long values in the store persistent

Hello

In my application I want to store and retrieve long values in the persistent store that I used with Longvector and all is well, but LongVector is supported for operating system > = 4.6

I need to work my request in 4.5 also, can any one infrom me what are the other alternatives, I have to get my pls any abstract requirement...

Vector v = new Vector();
fill vector
Long premierElement = (Long) v.firstElement ();
myLong long = firstElement.longValue ();

Tags: BlackBerry Developers

Similar Questions

  • How do I know how is Administrator and where should I put the password to?

    My computer keeps asking for a password
    I have 3 standard users on my computer & no one is assigned to be administrator
    Cannot install updates because do not know or do not have a password
    How do I know how is Administrator and where should I put the password to?

    Hello

    The manual installation of the operating system on the Microsoft Update Web site updates requires the Office of the operating system to run with administrative rights.

    Please follow the steps mentioned below.

    a. click the Start button.

    (b) in the search box of start, type user accounts and click on user account.

    c. click on Manage.

    d. check which account is designated as administrator account.

    Also check out the links below.

    Why use a standard account instead of an administrator account?

    http://Windows.Microsoft.com/en-us/Windows-Vista/why-use-a-standard-user-account-instead-of-an-administrator-account

    What is an administrator account?

    http://Windows.Microsoft.com/en-us/Windows-Vista/what-is-an-administrator-account

    Change the type of user account

    http://Windows.Microsoft.com/en-us/Windows-Vista/change-a-users-account-type

    Install Windows updates

    http://Windows.Microsoft.com/en-us/Windows-Vista/install-Windows-updates

    Updates: frequently asked questions

    http://Windows.Microsoft.com/en-us/Windows-Vista/updates-frequently-asked-questions

  • How to enable and disable, copy or rename the rules via the groovy script?

    A client, we received this question:

    How to enable and disable, copy or rename the rules via the groovy script?

    Foglight 5.7.5

    Hello

    There is this example of support KB

    support.Software.Dell.com/.../99059

    and there is also documentation of Service layer of the administration on the RuleService console.

    Best regards

    Golan

  • When I try to use the Snipping Tool I get a message saying that "the capture tool doesn't on your computer right now. Restart your computer and try again. If the problem persists, contact your system administer. "__What I can do to fix this? __Thanks

    When I try to use the Snipping Tool I get a message saying that "the capture tool doesn't on your computer right now. Restart your computer and try again. If the problem persists, contact your system administer. »
    What can I do to fix this?
    Thank you

    Hi Palaimo,

    See if one of the patches in the following link works for you.

    Snipping Tool fails

    Ramesh Srinivasan, Microsoft MVP [Windows Desktop Experience]

  • Zune and Windows 8 "error reading the Zune software cannot access important data on your Zune." Try to disconnect and reconnect it. If the problem persists, contact customer support. "

    I have a Zune and Windows drive * on my desk. Everything worked fine until today while I got the following messages. In Zune: "Error reading the Zune software cannot access important data on your Zune. Try to disconnect and reconnect it. If the problem persists, contact customer support. "" Then on the computer: "USB device not recognized." "

    I have a Zune and Windows drive * on my desk. Everything worked fine until today while I got the following messages. In Zune: "Error reading the Zune software cannot access important data on your Zune. Try to disconnect and reconnect it. If the problem persists, contact customer support. "" Then on the computer: "USB device not recognized." "

    Message error "the Zune software cannot access important data on your Zune.

  • Location of the table "Data store path Selection" database and input valid value for the Round Robin

    Long history, work paths peripheral to the equivalent of "Round Robin" (VMware) programmictally change as seen in vCenter - Volume Properties-> manage-> trace selection policy paths.

    Struggling to get the value to change through scripts. Think that it requires the value as expected in the datamodel vcenter. Find it by inspecting the paintings have not yet

    Thanks in advance

    The values on the parameter - MultipathPolicy are: fixed, MostRecentlyUsed, RoundRobin, unknown

    This changes all policies to roundrobin on a specific host

    Get-VMHost  | Get-ScsiLun -LunType disk |  Set-ScsiLun -MultipathPolicy "roundrobin"
    

    ____________

    Blog: LucD notes

    Twitter: lucd22

  • I've updated my ipad and Ive long since forgotten the HELP and the password I used now, I can't activate it. Someone at - it no clues.

    Apple. Ive updated my ipad and activate it, that ive never been asked before, I need the apple id and password that were used when I put in place. It was 8 years ago and Ive long since forgotten. Then how the * either override the need to activate deactivate or know what AID and password I was used.

    Apple seems very proud of screwing with us with updates. I hate the update whatever it is apple, I hate it. It always leads to problems. It is never easy. The one you have bright ideas?

    Are you still connected to the account anywhere so that you can look it up? Do you have the account downloads in your computer's iTunes library so that you can do "get info" on them and see the id? Have you tried: If you have forgotten your Apple - Apple Support ID ?

    If you can't find or still do not forget your id, and if you were the original purchaser of the iPad (i.e. he not was purchased used) then you could try to go to an Apple Store (make a Genius Bar appointment if you do) or try to contact iTunes Support Online (http://www.apple.com/support/itunes/contact/) and see if they can remove the iPad on the account - they are likely to want to see proof of ownership before they could help for example received original with top serial number

  • Outlook Express broke down. With XP SP3 can get detailed instructions on how to uninstall and reinstall Outlook Express with the original disc?

    Outlook Express broke down.  With Windows XP SP3 can get detailed instructions on how to uninstall and reinstall Outlook with original disc?

    OE gives an error message standard it is not correctly installed.  Its a remnant message from OE4 and is false.  You probably corruption with folders.dbx and you should remove it.  See www.oehelp.com/OETips.aspx#7 then, after departures OE you must back up your messages and given the corruption, go to file | Identities and setup a new identity for you give a fresh message store and then you can use file | Import | Messages to bring them from the old identity.

    Steve

  • How to enumerate, and select in C++ in the list of formats PCM published by a recording device in Windows 7?

    I used the following to open a wave in the device (USB codec) under XP:

    waveInOpen ((HWAVEIN*) & hWaveIn, idWaveIn, (LPWAVEFORMATEX) & wfx, MainDlg (DWORD)-> handle, 0, CALLBACK_WINDOW);

    How could I do this in Windows 7?  The device is open with its default and no format approaches I tried to work.  Default format is listed in the applet sound like 1-channel, 16-bit, 44100 Hz (CD quality). What I need is listed as 2-channel, 16-bit, 32000 Hz (quality FM Radio).

    Method 1:
    the value input to the PCM format
    PropVariantInit(&varConfigBuf);
    HR = pProps-> GetValue (PKEY_AudioEngine_DeviceFormat & varConfigBuf);
    If ((hr == S_OK) & (varConfigBuf.vt == VT_BLOB))
    {
    if(varConfigBuf.blob.cbSize>0)
    {
    WAVEFORMATEX * pWaveFormatExBlob = (WAVEFORMATEX *) (varConfigBuf.blob.pBlobData);
    If (pWaveFormatExBlob-> nChannels! = wfx.nChannels |)
    pWaveFormatExBlob-> nSamplesPerSec! = wfx.nSamplesPerSec)
    {
    WAVEFORMATEXTENSIBLE * pWaveFormatExtensibleBlob =(WAVEFORMATEXTENSIBLE*) pWaveFormatExBlob;

    pWaveFormatExBlob-> wFormatTag = WAVE_FORMAT_EXTENSIBLE;
    pWaveFormatExBlob-> nChannels = wfx.nChannels;
    pWaveFormatExBlob-> nSamplesPerSec = wfx.nSamplesPerSec;
    pWaveFormatExBlob-> wBitsPerSample = wfx.wBitsPerSample;
    pWaveFormatExBlob-> which nBlockAlign = wfx.nBlockAlign;//pWaveFormatExBlob-> nChannels * pWaveFormatExBlob-> wBitsPerSample/8;
    pWaveFormatExBlob-> wfx.nAvgBytesPerSec;//pWaveFormatExBlob-> nSamplesPerSec = nAvgBytesPerSec * pWaveFormatExBlob-> which nBlockAlign;
    pWaveFormatExtensibleBlob-> Samples.wValidBitsPerSample = pWaveFormatExBlob-> wBitsPerSample;
    pWaveFormatExtensibleBlob-> dwChannelMask = 3;
    GUID sf = (GUID) pWaveFormatExtensibleBlob-> sous-format;
    pWaveFormatExtensibleBlob-> sous-format = KSDATAFORMAT_SUBTYPE_PCM;

    HR = pProps-> SetValue (PKEY_AudioEngine_DeviceFormat, varConfigBuf);
    if(hr == S_OK)
    {
    HR = pProps-> Commit();
    }
    on the other
    {
    ShowMessage (AudioError (hr));
    }
    }

    This method adds a new entry (2 channels, 16-bit, 32000 Hz) to the list of formats under the Advanced tab, but the camera is still recording mono.

    Method 2:
    IAudioClient * pAudioInterface = NULL;
    HR = pEndpoint-> Activate (__uuidof (IAudioClient), CLSCTX_ALL,(void**) & pAudioInterface);

    WAVEFORMATEX * pDeviceFormat;
    HR = pAudioInterface-> () IsFormatSupported
    AUDCLNT_SHAREMODE_EXCLUSIVE,
    AUDCLNT_SHAREMODE_SHARED,
    & wfx,
    & pDeviceFormat
    );
    CoTaskMemFree (pDeviceFormat);

    HR = pAudioInterface-> Initialize (AUDCLNT_SHAREMODE_EXCLUSIVE, 0, 5000000, 0, & wfx, NULL);
    SAFE_RELEASE (pAudioInterface)

    Initialize() returns 0, but no changes to the format of the device.

    Is it possible to enumerate the list of formats provided by the sound applet, and then select one of the people I know is supported by the device?  It's probably pretty clear from the above, but in case not, I am scratching around the dark here and any help is appreciated (even with disparaging remarks included!).

    Thank you
    Piet

    Hi Piet,

    The question you posted would be better suited in the MSDN Forums. I would recommend posting your query in the MSDN Forums for assistance:

    Windows WDK Hardware and driver development-MSDN Forums

  • Retrieve column values is the only character

    Hi all

    I have a column whose values are the combination of characters and the number. example below.

    1L2P - 7 K-004-ADJAEA

    3L 24-7825767 - CC5YGY

    9030-CAP

    LOCK-9030-NOTSERV

    NO-10E987-SERV

    But I need to retrieve data that has only the character before the 1st dash '-'.

    Query for the above values.

    WITH SAMPLE_TAB

    AS

    (SELECT 'NON-10E987-SERV"AS DOUBLE DIGIT

    UNION

    SELECT ' 1L2P - 7K 004 - ADJAEA "AS THE DOUBLE DIGIT

    UNION

    SELECT "LOCK-9030-NOTSERV" AS THE DOUBLE DIGIT

    UNION

    ' SELECT ' 3 L 24-7825767-CC5YGY "AS THE DOUBLE DIGIT

    UNION

    SELECT "FUEL-9030-CAP" AS DOUBLE DIGIT

    )

    SELECT * FROM SAMPLE_TAB;

    Power required:

    9030-CAP

    NO-10E987-SERV

    LOCK-9030-NOTSERV

    Enjoy all that help.

    Thank you

    Hello

    MSB says:

    Hi all

    I have a column whose values are the combination of characters and the number. example below.

    1L2P - 7 K-004-ADJAEA

    3L 24-7825767 - CC5YGY

    9030-CAP

    LOCK-9030-NOTSERV

    NO-10E987-SERV

    But I need to retrieve data that has only the character before the 1st dash '-'.

    Query for the above values.

    WITH SAMPLE_TAB

    AS

    (SELECT 'NON-10E987-SERV"AS DOUBLE DIGIT

    UNION

    SELECT ' 1L2P - 7K 004 - ADJAEA "AS THE DOUBLE DIGIT

    UNION

    SELECT "LOCK-9030-NOTSERV" AS THE DOUBLE DIGIT

    UNION

    ' SELECT ' 3 L 24-7825767-CC5YGY "AS THE DOUBLE DIGIT

    UNION

    SELECT "FUEL-9030-CAP" AS DOUBLE DIGIT

    )

    SELECT * FROM SAMPLE_TAB;

    Power required:

    9030-CAP

    NO-10E987-SERV

    LOCK-9030-NOTSERV

    Enjoy all that help.

    Thank you

    Perhaps the easiest way is

    ...

    WHERE REGEXP_LIKE (alphanumeric, ' ^ [[: alpha:]] + -')

    You could also write it like this:

    SELECT *.

    OF sample_tab

    WHERE REGEXP_LIKE (alphanumeric

    , '^'              || -at the beginning of the string

    "[[: alpha:]]' |" -alphabetical character (from A to Z according to your language, case insensitive)

    '+'              || -the above can occur 1 or more times

    '-'-(no special meaning) the hyphen character

    )

    ;

  • How to pass a list of values to the rear end.

    Hello
    I have a block with 3 columns, a database column no (checkbox), my goal is to return the rows that are selected by the user to the back-end for some
    the treatment. I know not how to loop through the block and assign values to the variable column, if the check box is enabled, but instead to send each line at the rear,
    I am looking for a solution by which I can send all end them the selected backward in one trip.
    Will I do Array, or the type of table, and go to the rear. What is the best solution.

    How to declare the table and the Type of table in Oralce 10g shape

    Thanks in advance

    Rizly

    You can use the following in your stored procedure:

    SQL> set serveroutput on
    SQL>
    SQL> DECLARE
      2    LC$Arg  VARCHAR2(100) := '''file1'' from dual union select ''file2'' from dual union select '
    'file3'' from dual' ;
      3    r sys_refcursor;
      4    lc$sql VARCHAR2(1000) := 'select ' || LC$arg ;
      5    v VARCHAR2(100);
      6  BEGIN
      7    OPEN r FOR lc$sql ;
      8    LOOP
      9      FETCH r INTO v ;
     10   EXIT WHEN r%NOTFOUND;
     11   DBMS_OUTPUT.PUT_LINE(v);
     12    END LOOP;
     13    CLOSE r ;
     14  END;
     15
     16  /
    file1
    file2
    file3
    

    François

  • How to pin "Info button" Boolean values of the input data to acquire?

    I am a newbie to LabVIEW. I did this VI referring to this ARTICLE http://digital.ni.com/public.nsf/allkb/CA411647F224787B86256DD000669EFE
    I have problems with taking the values of these pines "Info"... As the functions of 32 buttons, 4 Directions, 8 info axis are wired to 3 Pins?...
    In fact, the goal of my project would be this...
    1 initialize the Joystick
    2. reading axis and Info button
    3 assign characters for each button (a Boolean value) and the axis (-32768 or 32767) as button 1 = Servo1, button 2 = Servo2, Y-Axis(-32768) = MF, Y - Axis (32767) = MB,
    X Axis(-32768) = ML, X-Axis (32767) = Mr... etc...
    4 send the characters to an Xbee Pro connected to the PC with a USB Dongle of Xbee.

    I know it's simple, but such things of convertion and the 'thing' entire component is really confusing... Kindly help me out to the point 3 & 4

    These are clusters.  You can simply use the Ungroup by name in order to leave the values of the components.

  • How to install and activate Windows XP after the upgradation of hardware

    I am using Windows XP SP3 and it is activated. I have the original and authentic installation CD
    with the product key in my possession. I plan to upgrade my hardware by replacing the HARD drive, motherboard, CPU.
    RAM and DVD player. Please inform how to install and activate the Windows XP to the new
    material configuartion. At the present time, I have no intention to migrate to the Windows 7 operating system.

    If you use OEM copy of windows XP, you will not be able to reactivate.  When you change the motherboard, you need a new license.

  • For a given file, how to add and change file properties on the Details tab, for properties that are not in the properties list?

    Now, I am aware of the modification of the properties of the file is simple in Windows 7 Explorer. Select a file, 'Properties', then tab "Details".  Some are not editable, and that's understandable.  Click on next to any area classified as year, Genre, Publisher, etc. and the apply.  No problems so far.

    Then of course in Explorer, when you right click on a column header, you get several choices of column beyond the usual that is displayed by default; Date, the Type, size, etc.  But, there is an option "More...", which has up to now, MUCH more useful properties to choose from, such as the model project, Department, job statusand so on.

    It's fantastic!

    But when you look into the details of any given file, none of these additional properties even are listed to be edited.  Why offer to view these details, if you don't change them, or add them to different files?  I must be missing something.  I do not need to add my own custom details, this additional list has a choice, that I need; If only I could edit the files to get this info.

    How to add and change these properties to files?  Word, Excel, MP4, AVI, JPG; I would add these properties, so I can set directly in the Solution Explorer, as you would by name or Type.

    Any help would be greatly appreciated!

    My experience is that most of these 'extra fields' no existence not as fields in the directory (folder) itself.  On the contrary, these fields exist in the target file itself. Each file type has its own format and established file except for the types of files that belong to Microsoft, Microsoft cannot control or arbitrarily change the format of a particular file type.

    For example, a ".jpg" file  The format of this file type allows a large number of areas such as comments, Tags, date taken, opening, device manufacturer and so on.  If you go into the properties on a .jpg file, you will see a lot of them and will be able to change.  After changing any of these fields, you will find that the file itself has been changed to contain this information (as can be verified by the parity of the file and to come check upward with a different checksum).  If you display one of these fields in Explorer and 10000 ".jpg" files in this folder, then Explorer must open each of these 10000 files to extract the data in the corresponding fields, you have chosen to display.  May take some time.

    Compare that to the same picture saved to a file ".bmp".  The ".bmp" format has no provisions for any of these fields, so you will not be able to view, save, edit, or sort by them.  If the editable fields are directly related to the type of file that is displayed.

    Microsoft has apparently interviewed a lot of file types and made a compilation of the editable fields in each type of file and the Union of the selected fields in which can be displayed and modified.   That's apparently what you see in the option «More...» ».   So, in summary, the file type determines which fields are available for editing and posting.

    HTH,

    JW

  • How to download and install PDF pack all the

    I am registered and paid but do not know how to download and install

    Adobe PDF is an online service.

    Please visit:https://helpx.adobe.com/document-cloud/help/using-pdfpack.html

    I hope this helps.

    Concerning

    Megha Rawat

Maybe you are looking for

  • How to place a photo of 'album' in a 'book' you have already created

    How to place a photo of 'album' in a 'book' you have already created

  • At the update to 7.0.0.102, Skype crashes at startup

    Hello! First post, long time lurker and always avid user. I've never had problems with Skype, not so much as even the UI (been infatuated with every single update this one up). I have day Skype accordingly after he had announced that an update is ava

  • Behavior strange screen on my Satellite A100

    Hello I have an A100-SK8. It is 18 months old. However, a year ago, he developed a problem with the screen. About once every 2 weeks while using the PC, the top quarter of the screen suddenly develops multicolor and several veins going horizontally a

  • Disks - how to clean?

    How to I clear all my TOTALLY CLEAN of all personal computers?  I'm read to throw all my old computers with Windows 95, Millennium, XP, etc.. ?

  • counter __inkball

    In Inkball, what is being counted by the black meter located between the maximumn score and the timer?