How to use net.rim.device.api.system.GPRSInfo in WTK 2.5.2 for CLDC

I have just started with JME coding for a month or so and done the following:
- install sun_java_wireless_toolkit-2_5_2-windows.exe
- install BlackBerry_JDE_4.6.0.exe
- set PATH environment variable to ...;c:/program files/java/jdk1.6.0_07/bin;C:\Program Files\Research In Motion\BlackBerry JDE 4.6.0\bin
- add in my source file import net.rim.device.api.system.GPRSInfo to get the Cell-ID (s = String.valueOf(cellinfo.getCellId()))
but get the following error when I try to build my project:
... package net.rim.device.api.system does not exist
import net.rim.device.api.system.GPRSInfo;
What do I need to do to fix this?
Thanks

Thanks Shan but this is not what I want to do. I don not want to develop into the BB JDE but stay with the WTK. The 2 MIDlet programming models are different and I want to use the standard J2ME model.
Anyway, I solved my issue by adding just the net.rim.device.api.system classes I need into the midpapi20.jar by simple unpacking the BB jar and the WTK jar into a new environment tree where I mixed what I need (actually just added the net.rim.device.api.system.GPRSinfo and GPRSCellInfo classes into the complete midpapi20.jar structure and repack the whole thing into a new midpapi.jar.
I can now access the RIM API form within my MIDlet buitl with WTK

Similar Messages

  • 8520 curve rror: Sqlite Error (schema update): net.rim.device.api.database.DatabaseException: SELECT name FROM sqlite_master WHERE type = 'index' AND name = 'chat_history_jid_index': disk I / O error (10).

    Dear team support,
    I have a problem with my WhatsApp Messenger.
    my whatsapp wont save message history. couse error.
    Error: Sqlite Error (schema update):
    net.rim.device.api.database.DatabaseException: SELECT name FROM sqlite_master WHERE type = 'index' AND name = 'chat_history_jid_index': disk I / O error (10).
    Please advise me how can i solve my memory card issue..
    Thanks

    ls -l /var/run/lighttpd/
    And how are you spawning the php instances? I don't see that in the daemons array anywhere.
    EDIT: It looks like the info in that page is no longer using pre-spawned instances, but lighttpd adaptive-spawn. The documentation has been made inconsistent it looks like.
    You will note that with pre-spawned information, the config looks different[1].
    You need to do one or the other, not both (eg. choose adaptive-spawn, or pre-spawn..not both).
    [1]: http://wiki.archlinux.org/index.php?tit … oldid=8051 "change"

  • Uncaught exception:net.rim.device.api.i18n.MissingResourcexception

    I am going crazy.
    If my phone gets shut off, it takes 5+ minutes to come on.  a white screen and the clock of death appears.
    The "uncaught exception:net.rim.device.api.i18n.MissingResourcexception" is what comes up. 
    I cant email my photo's or text them from my picture folder.
    Any help?  I am willing to restore if I have to, cant figure that out either. 
    Colleen

    hi and Welcome to the forums!
    Hopefully you already have either a recent backup of your contacts, calendar, etc. or you are using a desktop PIM for sync and all of that data is there. Hopefully...
    Given what you've already described, I suggest a clean reload of the device OS (which will wipe out all of the above data, btw).
    KB11320 How to perform a clean reload of the BlackBerry Device Software using BlackBerry Desktop Manager
    Afterwards, you can use the desktop software to restore from that backup and/or reconfigure your synchronization from your PIM:
    KB10339 How to restore data from a backup file to a BlackBerry smartphone
    KB17022 How to configure synchronization settings for BlackBerry Desktop Manager
    Good luck and let us know!
    Occam's Razor nearly always applies when troubleshooting technology issues!
    If anyone has been helpful to you, please show your appreciation by clicking the button inside of their post. Please click here and read, along with the threads to which it links, for helpful information to guide you as you proceed. I always recommend that you treat your BlackBerry like any other computing device, including using a regular backup schedule...click here for an article with instructions.
    Join our BBM Channels
    BSCF General Channel
    PIN: C0001B7B4   Display/Scan Bar Code
    Knowledge Base Updates
    PIN: C0005A9AA   Display/Scan Bar Code

  • BB protect: Error starting net_rim_bb_dryad_gui:Class 'net.rim.device.api.iui.theme.Themes$Writer' not found

    Hello there.
    I am using a blackberry curve 8520. It came with version 4 of the OS. I upgradede it yesterday, 15 feb to version 5. After the upgrade so far I am experiencing 2 technical problems.
     1 is with the blackberry protect app. which when I launch give me this error message: BB protect: Error starting net_rim_bb_dryad_gui:Class 'net.rim.device.api.iui.theme.Themes$Writer' not found with an OK button. 
    2. When I enter the blackberry app world it give me the following message: A BlackBerry Idenity update is neeeded. Would you like to install it now ? yes/no. The problem here is, it never installs, tried it the whole day yesterday as I am still trying it now. I have rebooted the device, removed battery and sim several times. Still. This is what it give me instead. Blackberry idenity installation failed. Please try again later. (80003).
    Sorry if I am askign basic questions but I am not a techy person at all. Thanks in advance, 

    Hi and welcome to the forums!
    We need to fix your issues in reverse order.
    The Blackberry Protect program requires a valid Blackberry ID to operate.
    (To use BlackBerry Protect you must have the following items:
    • BlackBerry® ID account
    • Data plan from your wireless service provider)
    I suggest we use KB29613 to fix the Blackberry Identity problem.
    Once your Blackberry ID is established you can access Blackberry App World
    and download the latest version of Blackberry Protect.
    Let us know how it goes!
    Thanks,
    Bifocals
    KB29613 The error "BlackBerry Identity installation failed. Please try again later. (80003)" is displayed within BlackBerry App World
    User Guide - BlackBerry Protect
    Security Note - BlackBerry Protect
    Click Accept as Solution for posts that have solved your issue(s)!
    Be sure to click Like! for those who have helped you.
    Install BlackBerry Protect it's a free application designed to help find your lost BlackBerry smartphone, and keep the information on it secure.

  • Import net.rim.blackberry.api.phone.phonelogs.*;

    I have developed a midlet with WTK22 and I have successfully used the Blackberry rapc tool to compile it for the Blackberry where it runs very well. I would now like to import the Blackberry RIM classes in net.rim.blackberry.api.phone.phonelogs.*; to access the phone logs on the Blackberry.
    I can successfully compile a class that extends thread; imports net.rim.blackberry.api.phone.phonelogs.*; and then uses these classes. I can preverify the class by including the net_rim_api.jar in the classpath. I then jar this class with my other midlet classes in a jar library. However, when I try to compile the main midlet class with WTK22 using this phone log class, I get the following error:
    Building "afs"
    Error preverifying class afslib.afsphone
    VERIFIER ERROR afslib/afsphone.run()V:
    Cannot find class net/rim/blackberry/api/phone/phonelogs/CallLog
    Build failed
    From what I have read, it should be possible to use any Blackberry class in net_rim_api.jar as long as it is not part of the UI. Would someone please let me know what I am doing wrong.

    Thank you Hithayath for your response.
    Below is the full code from the class where I am using the classes from RIM:
    package afslib;
    import java.util.*;
    import java.lang.*;
    import net.rim.blackberry.api.invoke.Invoke;
    import net.rim.blackberry.api.invoke.PhoneArguments;
    import net.rim.blackberry.api.phone.phonelogs.*;
    import afslib.*;
    public class afsphone extends Thread
    String pnum;
    public afsphone(String pnum)
    this.pnum = pnum;
    public void run()
         PhoneLogs _logs;
              PhoneArguments call = new PhoneArguments(PhoneArguments.ARG_CALL,pnum);
              Invoke.invokeApplication(Invoke.APP_TYPE_PHONE, call);
              _logs = PhoneLogs.getInstance();
         PhoneCallLog pclog = (PhoneCallLog)_logs.callAt(0,PhoneLogs.FOLDER_NORMAL_CALLS);
              pclog.setNotes("string");
    The afsphone class is compiled, preverified and put into afslib which is imported in the main afs midlet class. When I build afs in the WTK I get the following error:
    Building "afs"
    Error preverifying class afslib.afsphone
    VERIFIER ERROR afslib/afsphone.run()V:
    Cannot find class net/rim/blackberry/api/phone/phonelogs/CallLog
    Build failed
    David

  • How to use the Public Java API

    Is it possible to use the Public Java API to write a custom transformation in Java and use this in OWB. i.e. Say I have a Dateofbirth field in my source database and an Agegroup field in the target database, and I write a transformation in Java to take the Dateofbirth as an input parameter to the method and calculate the Agegroup e.g. 25-30, and return it from this method which then populates the Agegroup field in the target database. If so, how do I go about this?

    Martin,
    In general, yes you could... but you do not need to. You could use the UI to implement this requirement. The public Java API is there for you to manipulate metadata. How you implement your system, is independent of that.
    The way you would go about the case you just mentioned... you would write the Java code, deploy it into the database, wrap it in a PL/SQL procedure or function, and call it from OWB.
    Would this be a good idea...? I think no. Unless you have very complicated calculations that can only be performed in Java, I strongly encourage you use the PL/SQL language. Reason being: transformation will be much faster, because there is no need to translate PL/SQL into Java and back again.
    Hope this helps,
    Mark.

  • How to use Net use command in SAP

    Dear All,
    Any one knows how to user Net use command in SAP to connect to other system  i have Created in SM69. when i am executing the program it is asking login Details of other system.
    Regards
    SNB

    Hi,
    What is the exact command you exceuting?
    Message was edited by:
            Pavel sheynkman

  • How to use an Aggregate device for Garageband (iLife '11)

    Here is what I have,
    Komplete Audio 6 interface (USB)
    M-Audio Mobile Pre interface (USB)
    2010 Macbook (white) running OS X 10.6.8
    Garageband from iLife '11
    I found out (supposedly) how to use both of the interfaces together by creating an Aggregate device.
    I have gone through all the setup steps to create an aggregate device and put both interfaces on the Aggregate list to be used.
    HERE IS WHAT I'M TRYING TO FIGURE OUT!
    When I open Garageband and designate the Aggregate device as my sources of hearing and recording (Input and Output), the M-Audio doesn't even register sound. When I hook up the M-audio interface by itself, it works. Same with the Komplete interface. They work perfectly individually. But together, Garageband only recognizes channels 1 & 2 coming from the the Komplete interface.
    1) How do I make it so both show up as recording to Garageband?
    2) How can I hear them in my headphones (monitors)?
    Thank you!

    Maybe an alternative would be to put this logic into the select.
    select u.object_name,
           u.object_type,
           count(case when u.object_type = 'TABLE' then 1 end) over () count_tables,
           count(case when u.object_type = 'VIEW' then 1 end) over () count_views
    from user_objects u;This would count the number of tables and views in the data dictionary. And it is returned as a column value.

  • Anyone know how to use Exchange Web Service API in PB Classic 12.5

    Trying to figure out how to use the api/dll's of the EWS.  I am new to web services in pb so I seem to be going nowhere fast.  If you have used it I would appreciate some guidance or better yet code/instruction on how to use/access it/setup.  I need to be able to get to exchange (in this case using an office365 test account) and read emails/calendar info etc..
    Thanks for any help..
    Dave V.

    Hi Matt,
    I find an article about Overlay a SharePoint calendar with a calendar from Exchange or SharePoint, for your reference:
    https://support.office.microsoft.com/en-us/article/Overlay-a-SharePoint-calendar-with-a-calendar-from-Exchange-or-SharePoint-4caebe59-3994-4a94-9322-b31abb8a5e9a?CorrelationId=0cba4045-24cb-4cb2-b6d6-51e4015df3a0&ui=en-US&rs=en-US&ad=US
    However, if you want to use SQL Queries and HTML, please contact to Exchange Development Team to get more professional advice.
    Best Regards,
    Allen Wang

  • How to use the java native api

    i am new to the java native api, can anyone tell me how to use it in order for me to use the c++ file in the java file?please explain it if possible, thanks

    Try this out to learn the basics :
    http://java.sun.com/docs/books/tutorial/native1.1/index.html
    You can't go wrong from there.

  • How to use Java Data Mining API(JDM)

    hello,
    i have downloaded the JDM API(dmapi-1_0_1-fr-spec.zip) from JSR 000073. In the Readme.txt file, I have read that the components required to use the API are jdm.jar and jdmtck.jar.
    But these two files didnot come with the above zip file. The zip file contained other zip files namely RI.zip, TCK.zip, Spec.zip, etc.
    If somebody knows how to use this API, please please let me know
    My personal email ID: [email protected]

    Even I am not able to understand how to use it. How useful is the JDM API to make a new algorithm?
    Thank you,
    Arunraj

  • How to use session cookie property of System object?

    Hi all,
    I have searched all over the SDN but didnt get anything relevent so here i am posting my query...
    My scenario is as follows:
    I have created a KM document iview that launches an HTML page, on click of button of HTML page a VC iview is launched. On this iview i have a button that hits BI query.
    PS: A system object is created for the connectivity bet portal and backend BI server.
    PS: i have configured SSO between portal and backend.
    Now when i click on button on iview that fetches the data from backend, i am asked for authentication pop-up, although i have configured SSO why i am asked to enter UID and PWD again??
    In system object there is a property named
    <b>"session cookie = MYSAPSSO2"</b>
    So should i use this property so that cookie will get transfered from one session to other session when i click button on iview??
    If yes then HOW??
    Is there any other setting remained in Visual Admin?? or Backend or portal?
    What could be the missing??
    PS: User id are same on portal & backend.
    Any help will be highly appreciated...
    Regards,
    Ameya
    Thanks in advance
    Message was edited by:
            Ameya Pimpalgaonkar
    null
    Message was edited by:
            Ameya Pimpalgaonkar

    Hi Ameya,
    I do not know the exact answer.However you should look for something called JSESSION ID.
    Have a look at the thread:
    Re: Problems Using Application Integrator for BSP Application
    Reg SSO Logon Tickets and Browser sessions
    How to use jsessionid while making HTTP calls??
    Hope you find something which can help you.
    Regards
    Atul Shrivastava

  • How to Use 0BWTC_C02 Infocube in BW system?

    Hi BW experts,
    I want to use 0BWTC_C02 Infocube in BW System for getting the information about BW Statistics and OLAP Analysis.
    I activated 0BWTC_C02 Data Source and Installed 0BWTC_C02 Infocube.
    I checked Data Source in RSA3, but is is showing 0 Records.
    Please can anyone tell me, How to use this Infocube in BW.
    Regards,
    Anjali

    Hello,
    In 7.0 sys this cube is obsolute, they are replaced by 0TCT* ICs.
    If in 3.5,
    The BW Statistics u2013 OLAP(0BWTC_C02 ) InfoCube contains the data that is generated as a result of executing the queries. The reporting authorizes for this InfoCube, for example, how often certain InfoCubes or queries are used. In addition, detailed information is available for runtimes and data volume, for example.
    http://help.sap.com/saphelp_bw33/helpdata/en/52/e91c3b85e6e939e10000000a11402f/frameset.htm
    you can activate and de-activate individually the processes for saving and transferring data. This keeps the time it takes to transfer and save BW statistics data to a minimum and avoids using memory space unnecessarily.
    Procedure:
    http://help.sap.com/saphelp_bw33/helpdata/en/52/e91c3b85e6e939e10000000a11402f/frameset.htm
    Reg,
    Dhanya

  • How to use net in ipod?

    i want to know that how to recharge my Ipod to use net?

    iPhone and iPod touch: Charging the battery

  • How tu use or install package API Toolkit BPC

    Dear All,,,
    I have problem with performance SAP BPC, then i read SAP Note from SAP Support Portal. In that document, there are download API toolkit. I don't understand how to use this file (API Toolkit)...??
    Any Idea..??
    Thanks...
    Dharma Setiadi

    The reflow plug-in is installed by default when you install Reader. In order for it to work optimally, the document should be correctly tagged, which is something you can do in Acrobat. To activate Reflow in Reader X, select: View > Zoom > Reflow

Maybe you are looking for

  • F.21 Issue for Page brake printing

    Dear All, I have a query regarding F.21(Customer open items) I want to take printout for all customer open items. But here it is printing more than one customer line items in one page(based on customer line items). Is it possible to take printout spe

  • Error no FAGL_COFI100 when backflushing repetitive manufacuring MFBF

    Dear SAPper, I use reporting point backflush when design the repetitive manufacturing. The recocnstruction is like this 1. reporting point I is backflush 5 PCS with material and activities 2 Reporting point 2 is NOT backflush 3. backflushing for 10 P

  • Source of supply deleted when changing plant in SC

    Hello everybody, I've found an strange SRM 7 behaviour. When I'm creating a shopping cart and I assign a valid supplier for an item (Source of supply/ Service Agents tab) : why is it unassigning the supplier every time I change the Location/plant at

  • Video Dropout in Compressor 4 Transcodes

    Hi, I'm exporting a ProRes master from FCP7 then loading the file into Compressor 4 for transcoding to H264 1080 for YouTube and Vimeo. The resulting file has video dropout thoughout. Is this a known problem and if so does anyone have any work-rounds

  • Refurbishment order type in PM

    I create a material reservation through a refurbishment order type and in MD04 I can see the reservation but when I run MRP on that,NO purchase requisitions are generated....however when i create a reservation through other PM order type and run MRP