PersistentObject and problem SendListener

I recorded a SendListener in order to intercept outgoing e-mail. When my manager is called I want to access my application stored in PersistentObject settings to determine what I should do in my manager of sendMessage.

The problem is that I can't access any information contained in my application. I suspect that it is because my manager sendMessage runs in the context of the mail application.

Should which design I follow to access my store persistent since a manager like this?

Thank you

John.

I must admit, I have not really tested recently myself, but as far as I know, you should be able to access your persistent objects - assuming that you are running by using your own code and persistent objects classes, the framework should not matter.

Can you describe the problem when you try to access the information?  If your objects seem to be "null" then I guess you use static references.  static variables are specific to a context, then your listener will see different static variables for your application.

The reason why I've not tested this recently is that the normal practice for Auditors is change in context of your Application, and the usual approach is via a GlobalEvent

http://supportforums.BlackBerry.com/T5/Java-development/global-events-and-global-event-listeners/TA-...

Tags: BlackBerry Developers

Similar Questions

  • A way to find my previous questions and problem reports?

    Is it possible on this forum to find my previous questions and problem reports? Since viewing a question earlier today, I found the greater PART of the answer and would like to add that I found the question, without waiting for someone else to answer. I can't remember the title I gave to the previous question, or I would use this title in the search for it.

    Information troubleshooting below is most relevant to a previous problem that this question.

    Contributions my link on main page of the forum should display a list of all your job offers.

    See the search in this forum for your username under "posed by".

  • Webstedet har fundet and problem og kan ikke Vice den side, of the forsoger of the som to fa vist. Nedenstaende muligheder kan muligvis hjaelpe dig med at November problemet.

    Windows Update

    Webstedet har fundet and problem og kan ikke Vice den side, of the forsoger of the som to fa vist. Nedenstaende muligheder kan muligvis hjaelpe dig med at November problemet.

    ? ER der en losning

    Unfortunately, disse men for a screw kun fransk pa support. Vaelg venligst said lands him: http://support.microsoft.com/common/international.aspx> og klikke pa PIL to support pa said sprog.

    ://Answers.Microsoft.com/en-US/Windows/Forum/windows_xp-windows_update/Windows-Updates/a19f6b44-74c9-48E0-b77d-2bc5f1b80c27 http://www.microsofttranslator.com/BV.aspx?from=en&to=da&a=http

    UTC/GMT is 12:10 on Sunday, November 11, 2012

  • Microsoft It - fix diagnose and repair Windows and problems would not install on my computer. He said the chain was not in the right format. Clues?

    I installed Microsoft Fix It on my computer (MSXP). The diagnosis and repair of the Windows files and problems would not install on my computer. He said the chain was not in the right format.  Clues?

    Hi Kathryn1713,

    ·         You are not able to run the Microsoft Fixit tool?

    If so, you can post your query on the Forums of Microsoft Fixit. Please see the following link for the same.

    Microsoft Fix Center - NO support general questions Forum

  • I get messages that support and problems Windows has stopped working. and also that I have no more memory on line 2. What can I do to fix this?

    I get messages that support and problems Windows has stopped working.  I told myself that I will advise if a solution is found, I get another box saying that I have to close becausse that Windows does not work.  I also get messages that I have not more memory on line 2.  What can I do to fix this?

    Hello

    1. could you give us the exact error message?
    2. Once you get this error message? This is when using Internet Explorer?

    In the meantime, check out the articles below and check. Try to increase the size of pagefile.sys and check.
    http://support.Microsoft.com/kb/2267427

    I hope this helps.

  • iOS 10 weather and problems WhatsApp

    When you have the configuration of 10 iPhone iOS in Spanish and you try to open the weather app, it crash... and if you use WhatsApp and you receive a friend ubicationt crash (soft)... Please let me know how can I solve this problem!

    WhatsApp has not been updated for iOS 10 again. Watch for updates in the App Store application.

    In regard to the messages, do not forget to enable Diagnostics in settings > privacy > Diagnostics. This will help Apple improve the issue in future updates.

  • Updated my iPhone 5 ios 9.3.3 and problems with messaging

    Many of my applications were unusable, unless I upgraded (it has been a long time) but when I did all my old messages disappeared. And if that wasn't bad enough when I now get a message there is no notification. AND the content of incoming or outgoing messages will disappear in 1-2 hours. Just left with the name or phone number. I thought I the phone turned off and save but which only made it worse. Even the name / # disappeared. I am a foreigner and I am relying on texting but looks like I made a big mistake. These problems appear in beta? Googling - it's a known issue. Makes me want to never be updated again! Help!  I'm still traumatized from upgrading my MacBook Pro and lose iPhoto. Not impressed by the sign (less) Photo.

    Travel-Shotz wrote:

    ... unless I upgraded (it has been a long time)

    If you updated / upgrade every time new Apple software have been revised, you would probably avoid many of your questions.  You would replace it with several small updates / upgrade for a huge.

    So that's my advice for the future.  One thing you can also do right now is to check the settings > general > storage & use iCloud > manage storage (under storage) and make sure that you have absolutely no less than 10% of the total free storage of your device.

  • FireFox | Error / vulnerable. Shockwave Flash 9.0.45.0 and problem Java Deployment Toolkit!

    Intro | Hello I am new to this support Web site for fire fox, never thought I already needed to sign up because most of the time things are going well and if I run into a problem, I can take care of it most of the time by myself.

    If I need a hand I ask some co-working/colleagues/friends or family. But this situation has stunned me. I can't understand what is the problem, at least not exactly.

    Problem | This only happened for a few days and I kinda ignored initially because I was a little busier than usual because of the holidays.

    However I finally had the time to check these errors and I can usually figure things out myself and make things happen in a day, but my mind is hazy right now begin to understand what is happening here.

    Now, according to my research, I have two 2 vulnerable plugins. The Java and Adobe flash. Two of them appear as red alerts.

    • Shockwave Flash 9.0 r45
    • Deploy Script NPRuntime plugin Library for Java (TM)

    ^ These are the culprits who have caused me problems with my recent adobe flash related tasks crashing or getting strange errors.

    The thing I find strange about this is that I also have the latest version and updated to adobe flash installed next to this outdated relic of a forger.

    • Shockwave Flash 16.0 r0

    Any help would be appreciated.

    Type of topic: plugins in the address bar and press ENTER.

    Watch it Path: for Flash 9.0 see exactly where this NPSWF32.dll is sitting on your hard drive. Delete this file manually.

  • Firefox won't open with the latest version of the report of Trusteer installed deleted same and problem solved.

    I have 24 installed Firefox and the latest report of Trusteer endpoint protection software. Trusteer made it clear that it supported Firefox 24. However, once installed Firefox refuses to open. About Trusteer software uninstalling the problem has been resolved.

    You can try to contact support Trusteer.

    Mac: Preferences-> other->-> stop report report

  • El Capitan 10.11.5 Spotline problems and problems of network

    Since the last update of El Capitan 10.11.5 my projector stops work not at all (no reaction to a question) and I ask me my password for Time Capsule and my Nas (while being connected to them). Subsequently the NAS works my finder crashed once. I think on the use of my time capsule to return to the previous week, but:

    Any other solution for these problems?

    Please launch the Console application in one of the following ways:

    ☞ Enter the first letters of his name in a Spotlight search. Select from the results (it should be at the top).

    ☞ In the Finder, select go utilities ▹ of menu bar or press the combination of keys shift-command-U. The application is in the folder that opens.

    ☞ Open LaunchPad and start typing the name.

    The title of the Console window should be all Messages. If it isn't, select

    SYSTEM LOG QUERIES ▹ all Messages

    in the list of logs on the left. If you don't see this list, select

    List of newspapers seen ▹ display

    in the menu at the top of the screen bar.

    Click on the clear view icon in the toolbar. Then take an action that does not work the way you expect. Select all of the lines that appear in the Console window. Copy to the Clipboard by pressing Control-C key combination. Paste into a reply to this message by pressing command + V.

    The journal contains a large amount of information, almost everything that is not relevant to solve a particular problem. When you post a journal excerpt, be selective. A few dozen lines are almost always more than enough.

    Please don't dump blindly thousands of lines in the journal in this discussion.

    Please do not post screenshots of log messages - text poster.

    Some private information, such as your name or e-mail address, can appear in the log. Anonymize before posting.

    When you post the journal excerpt, an error message may appear on the web page: "you include content in your post that is not allowed", or "the message contains invalid characters." It's a bug in the forum software. Thanks for posting the text on Pastebin, then post here a link to the page you created.

    If you have an account on Pastebin, please do not select private in exposure menu to paste on the page, because no one else that you will be able to see it.

  • Searchbar broken in v23 and problem with add - js related?

    Since the upgrade to v23, the search bar not working - I can enter search terms, but the menu drop-down appears on my second monitor, and pressing on enter, nothing happens - that is the search for the search bar no longer works, for any search engine installed.

    Also, even if it may seem unrelated question, I use the Devonthink added, in order to capture pages html since firefox directly to Devonthink Pro. After the capture of the page HTML in PAO, I can only convert a searchable PDF.
    Converting page captured from v23, in PAO, all I get is a reflection and a partial screenshot of the visible part of the original HTML page.

    These two functions worked perfectly in v22, but are broken to v23. I have since downgraded in v22, and both functions work as expected, so it is clearly a problem with Firefox v23.

    The only 'fixes' were either downgrade v22, or start with a new profile, v23.
    The search bar worked normally when booting in safemode, v23, but not when all THE modules, themes and extensions have been disabled.

    Whatever changes have been made in v23, required a new profile to 'fix' this problem.

    Again, reinstall all the extensions and try to put the same preferences is a way very frustrating to mitigate this kind of behavior of the software.

    Fortunately, it is often not necessary.

  • iPad2 and problem with the SIM card after update

    even after the 9.3.1 last updated continuously having problems with SIM TIM card network.

    I changed and I tried with another SIM card but the problem remains.

    I did have all those problems with 9.2.1.

    Apple could intervene and solve these problems? Otherwise, I think it's better to make a return to the old 9.2.1.

    Thank you

    Do you see the network? and is it strong enough?

  • Profile of Newbie Xcode provision of the question and problem recording peripheral Dev Member Center

    Help!  I am a user of Xcode newbie. Just signed up for a developer account (free version added to my existing Apple ID).   I followed a tutorial to make a few changes to the Apple TV 4. In the tutorials that seem very useful do not have additional info for potential problems as those I seem to face at every turn. As far as google can be useful, it can also be a time suck empty soul.  I have a life to live then all help to speed up the answers to these questions would be greatly appreciated.

    -Launch Xcode → click on create a new project in Xcode → select Application under tvOS → Application unique view, and then click Next. Fact

    - In the product name field, enter a unique name such as KodiAppleTVforYourNameHere (done, but I have a problem I can not find the answer to...), and then click Next → create

    The 'organization' identifier is empty and I do not know what to enter and the tutorial says nothing...

    - In the drop-down box team, select your personal team and click the question difficulty to solve problems of commissioning. You will ensure that you are connected to Xcode with a free Apple Developer account. You can learn how to do it using this tutorial.

    I get a "no provisioning profiles found.

    When you click on "solving the problem", I get a pop up saying "no device - create a profile doesn't require" fitted with a registered in space subscribers.

    Then I went to the Member Center and can not find the place where to save a device... nor can I find detailed (for a novice like me) instructions on how to do it.  I tried to follow these instructions, but had problems as shown below.

    1. go to Developer.apple.com...

    2. go in the "Member Center". (This is not an option that I see...)

    3. go in "Certificates, identifiers & profiles." (Went straight to this...)

    4 Select "Devices" on the left navigation. (nowhere to be found... and am stuck here...)

    .... 5. click on the sign "+" to add a device.

    .... 6. enter a name for the device and the UDID.

    .... 7. at the bottom of the page, select continue when you are finished.

    .... 8. at the bottom of the page, choose "Save" to save the new device. Repeat these steps to add up to 100 devices on a regular account.

    These steps seem easy enough, but I continue to find myself in a position that some things I should do just are not there... like the devices section not found in the center of development Member?

    Help or direction would be greatly appreciated.  Thank you!

    Have you ever this resolved? I'm having the same problem.

  • Qosmio F60 - hibernation of freezing and problems starting

    Hello...

    The problems started when my computer goes into hibernation mode and when I press the power button to launch once again, it remains frozen.
    I then press the switch to turn on it works again.
    Option just to start normally or in safe mode.
    Either way comp freezes in the middle of loading and I must push the switch down to the Tower model

    Then the new restart msg saying there is a problem in the start menu and asks me if I want to solve the problem
    I click Yes and a number of things have happened several times:
    (1) computer sets and loads normally
    (2) computer says he can not solve the problem and continues to load correctly
    (3) the computer freezes in the middle of loading or during the process of setting
    (4) computer sets and restarts but crashes in the middle of reloading

    I often have to go through this time half a dozen before I can load normally

    either way my norton antivirus has been come with messages saying I need to reactivate (my subscription is not exhausted) or an error has occurred
    have done a full virus scan - none found

    is this a virus problem? I do a system restore? any other advice?
    help much appreciated

    Hi kkle4,

    You use the preinstalled version of Windows 7 in Toshiba? I can t find any information in your posting on OS :(

    Otherwise I agree with Akuma and you should check the BIOS version and probably an update would be useful. Before you begin to update of the BIOS here are some useful tips:
    -Close all running programs (also, antivirus, firewall, etc.)
    -Make sure that you are logged on as an administrator
    -Unzip all files from zip archive
    -Connect the AC adapter before you can update the BIOS and make sure the battery is fully charged

  • Tecra - A9 and problem with wifi

    Hello:

    I'll use the laptop without any problems and then the wifi connection just stops working. After about 30 seconds to a minute or two it will come back on again. Using a Netgear DSL router for wifi. I activated Microsoft bluetooth due to the fact that my BlackBerry does not work with bluetooth Toshiba.

    Any suggestions?

    Thank you.

    Terry

    Thanks for the clarification!

Maybe you are looking for