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

Similar Messages

  • 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

  • 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.

  • 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"

  • Error inesperado​: net.rim.de​vice.api.i​o.Connecti​onClosedEx​ception: Connection closed

    Estimados,
    Les consulto, luego de intentar verificar mi numero para bajar la aplicacion de whatsapp me aparece el siguiente mensaje: Error inesperado: net.rim.device.api.io.ConnectionClosedException: Connection closed, podrían ayudarme con esto?
    Saludos,

    Estimado Usuario, lamentablemente este foro es solo para el idioma Ingles, sin embargo lo podemos ayudar en el foro especializado en Español, esta es la dirección donde gustosamente lo podemos atender:
    http://foros.blackberry.com/t5/Foros-de-Soporte-Ge​neral/ct-p/bscf_es
    Muchas gracias
    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

  • Uncaught exection: net.rim.de​vice.api.s​ystem.Obje​ctGroupRea​dOnlyExcep​tion

    Good morning to all.  I hope someone can enlighten me on a problem I am having with my calendar.  When entering events I am getting the following message: 
    "Uncaught exection: net.rim.device.api.system.ObjectGroupReadOnlyExcep​tion"
    My only option with the message is to select "OK".  Althought the event gets entered into my calendar, the alarm feature is not notifying me of the event.  Any ideas?  Thanks!

    First thing is pull the battery with the Blackberry on and try adding another calendar event again. Most Blackberry issues can be resolved by simply pulling the battery with it turned on.
    New to a Blackberry? Check out http://www.discoverblackberry.com

  • Bought a unlock code from the net to unlock the phone ,f...

    bought a unlock code from the net to unlock the phone ,for 1 of the phones it worked perfect,but the other one where u enter the m.e.p code the window does not come up and under it where its says network it shows block the other one had active next to network...please advise

    Hi there!
    There are a multitude of questions/answers to go through to help you out, but those won't work unless you come to the forums and register an account. Please come to:
    http://supportforums.blackberry.com/rim/
    and register an account. Then post to the applicable forum.
    Thanks!
    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

  • Importing Certificates into Blackberry Z10 Key Store.

    Currently, on the development network, we have stood up a BES10 server with a few Blackberry Z10 phones deployed. Using BES10, we are able to push the Root CA certificate for our developmental CA. We are currently unable to import the client's certificates (identity, encryption or signing) in *.p12 or *pfx format onto the device. We have tried numerous methods with limited success. Originally, we emailed a certificate using the work email exchange server and were able to view the certificates on the BB device. We are even able to select "Import certificate," submit the correct password and are presented with a messages stating "Certificate successfully imported." However, looking at the trust store or the S/MIMIE settings, none of the client's certificates are avaliable. 
    After some research, we followed the steps highlighted in tech support listed at http://docs.blackberry.com/en/smartphone_users/deliverables/47561/als1342708099072.jsp. After following the instructions on screen, selecting the appropriate certificates to import and presenting the correct PIN, the device attemps to import the certs. The device then states "0/3 certificates succesfully imported" and the process has failed.
    Is there a log file avaliable to see what is causing the import to fail or is there an additional step we are missing? Any support would be helpful, thank you in advance. 

    Hey Shah_jeet,
    Welcome to the BlackBerry® Support Community Forums.
    Are you importing the certificate using a USB connection or using a Wi-Fi connection?
    Thanks.
    -HB
    Come follow your BlackBerry Technical Team on twitter! @BlackBerryHelp
    Be sure to click Kudos! for those who have helped you.Click Solution? for posts that have solved your issue(s)!

  • HT4946 i have an important text message on a phone that currently wont turn on, i know its backed u all i need is a copy of the text message, how do i do this?

    i have an important text message on my phone that i need to retrieve but my phone is currently broken so i would like to know how i retrieve it as my iphone is backed up. cheers

    http://support.apple.com/kb/ts2755

  • Is there any way to import the songs from my phone to my itunes?

    I downloaded most of the songs on my phone from another computer. Is there any way to import the songs from my phone to my itunes?

    See Recover your iTunes library from your iPod or iOS device.
    tt2

  • Connect Mobile for RIM Blackberry Playbook hangs while trying to connect to server

    We have Adobe Connect 8 (Multilanguage - Portuguese) installed on a server. Connect Mobile for RIM Blackberry Playbook hangs while trying to connect to the server. Hayward Drummond has posted a notice about Adobe Connect 8.1.2 that seems to solve this problem, known as BUG 2886745. I sucessfuly downloaded this update but I´m not sure if it is compatible with Adobe Connect 8 Multilanguage - Portuguese.  Does anyone know something about it? I also need to first install version 8.1.1 in order to upgrade to 8.1.2, as remarked by Hayward. Does anyone know where can I download version 8.1.1 (Multlanguage - Portuguese)?

    try to install Firefox 8 on top of Firefox 7, or
    Profile is a folder which store all your personal data in a safe place
    * https://support.mozilla.com/en-US/kb/Profiles
    here explain how to backup profile
    * https://support.mozilla.com/en-US/kb/Backing%20up%20your%20information
    here explain how to restore it
    * https://support.mozilla.com/en-US/kb/Recovering%20important%20data%20from%20an%20old%20profile

  • Can someone at RIM/Blackberry explain why they disabled/eliminated full Outlook sync?

    Could someone at RIM/Blackberry explain why they disabled/eliminated full Outlook sync via Desktop application? Don't they realize this was a major differentiator and advantage from iPhone and Android? Not having to sync via the cloud?   There must be a reason?  why not just leave it as an option for those who want it?
    >>>> and please tell us if you are considering fixing this ?
    >>>> all of a sudden Bold 9900 becomes very valuable

    It's bonkers - I thought this was meant to be a support forum.
    Do BB actually read our posts?

  • Imported photos from blackberry

    All of the pictures that I import from my blackberry show as a broken file in my elements organiser. They apear normal in my hard drive but I cannot view them in Adobe Elements.

    I sent a picture to the editor and was able to view it and edit it with no errors. I am then able to view the edited version in the organiser but the original is still grey.
    The properties box looks normal with all the info being correct as to the location of the photo in my hard drive.
    Still a mystery to me?

  • SAP BW Web 3.5 template on RIM Blackberry - Software version dependency

    Hello
    I have created a simple Web 3.5 template to be displayed on RIM Blackberry 83xx devices.
    It works fine, but there is a Blackberry sofware version dependency.
    E.g. if Blackberry device has sofware version 4.2.xxxx, then it always wraps last column. There is enough space on the screen though.
    If it is 4.5.xxxx version, then it does wrapping better, but still not perfect.
    Did anybody come accross the same issue?
    Any suggestions how to fix it w/o sofware upgrade?
    Regards, Kayrat

    Hi Roman,
    From Service.sap.com: https://websmp110.sap-ag.de/bifaq
    I am planning to use SAP BW 3.5. Which BEx frontend and SAP GUI should I use?
    SAP BW 3.5 requires the SAP BW 3.5 BEx Frontend. The SAP BW 3.5 Frontend is compatible with SAP GUI 6.20 and SAP GUI 6.40. SAP GUI 6.20 is upward-compatible with SAP Web AS 6.40 based systems.
    How can I get the new SAP BW 3.5 Frontend?
    The SAP BW 3.5 Frontend is shipped automatically with the SAP NetWeaver '04 software shipments.
    Additionally customers can order and install the SAP BW 3.5 Frontend from the following CDs (can be ordered or downloaded from the SAP Service Marketplace):
    SAP GUI 6.20 Compilation 6 (includes both the SAP GUI 6.20 and SAP BW 3.50 Frontend)
    SAP GUI 6.40 Compilation 1 or greater (includes both the SAP GUI 6.40 and SAP BW 3.50 Frontend)
    What options are available to upgrade my SAP NetWeaver BI BEx Frontend to SAP BW 3.5?
    There are 3 options available for upgrading an existing SAP NetWeaver BI BEx Frontend to SAP BW 3.5 (assuming you have an existing SAP BW 3.x BEx frontend):
    Apply the latest SAPGUI 6.20 SETUP patches, latest SAPGUI 6.20 patch, and the SAP BW 3.5 Frontend patch directly to your existing BEx Frontend.
    Delete and re-install SAPGUI 6.20 and SAP BW 3.5 BEx Frontend from the SAP GUI 6.20 Compilation 6 CD. Apply the latest SAPGUI and SAP BW 3.5 BEx Frontend patches.
    Delete and re-install SAPGUI 6.40 and SAP BW 3.5 BEx Frontend from the SAP GUI 6.40 Compilation 1 CD. Apply the latest SAPGUI and SAP BW 3.5 BEx Frontend patches.
    How long is SAP GUI 6.20 and 6.40 supported?
    Please see SAP note 147519 for details.
    Hope this helps...

Maybe you are looking for

  • Wedding Planning software

    Hi, end of last year I bought some software (Wedding Planner) at the Apple store in New York, but having tried it, it is not suitable for what I wanted to use it for. Can anyone advise whether this can be sold 2nd hand or am I stuck with it due to so

  • LabVIEW 8.6.1 DSC Module and SQL Server Agent

    I had the following system constellation: - LabVIEW Professional Dev System 8.6.1 installed (complete) - SQL Server 2005 Express Since Microsoft's SQL Server 2005 is no longer distributed, I had to install SQL Server 2008 Express on my system, too. E

  • DPI of a linked image, illustrator - extendscript

    Hi, I am creating a script that needs to be able to find the DPI of a linked image. I presume there must be some way of getting to this data as it is in the links window in illustrator. I do also need to get other information in that window (colour s

  • Can't see HD on desktop

    One of my freelancers just got a new 27" imac running 10.6.4. There is no HD icon on desktop. I can see an app folder in the dock with her imported apps (she used apple migration to move stuff from her laptop to imac). But there is no HD icon anywher

  • External isight wont work with imac g4

    Hello, I recently purchased a second hand isight camera using ebay. I have an older imac g4 and the isight wont work with it at all. I have scoured the forums on this topic and looked through all of EZ Jim's suggestions but I think my problem is a li