Run code when a WED application is uninstalled

I remember a discussion about this at the Developer Conference, but I don't remember if it's something in the BlackBerry Device Software now or come in the future, but is it possible to execute code when a user uninstalls an application WED?

I imagine an application that needs to unsubscribe a service when the user uninstalls the application. Something like the option X-RIM-PUSH-DELETE-URL for a channel to push.

As much as I know there is no mechanisms to manage the app don't uninstall event.

Optionally, you can implement your own uninstall program.

Tags: BlackBerry Developers

Similar Questions

  • I get the A12E5 error code when starting Adobe Application Manager, I use a Mac and want to have Illustrator running

    I get the A12E5 error code when starting Adobe Application Manager, I use a Mac and want to have Illustrator running

    Products of Adobe Creative Cloud installation error A12E5

  • Run code when the browser Internet Explorer closes

    Help!  I'll try to find a way to execute a SQL statement when a user closes a window IE (x).  I found information on the onBeforeUnload event but I've been unsuccessful to enforce.

    Does anyone have another suggestion?  It is even possible to run code to the closing of a window?

    Thank you!!!

    You should be able to use the OnSessionEnd event.

    Won't happen immediately, but it will happen when ColdFusion determined to close the session.

    You can control how long it is with parrameters as sessionTimeOut in a tag or this scope of Application.cfc file properties.  Would you use anyway for the OnSessionEnd event handler.

  • Is there a setting to encapsulate the code when resizing the application window?

    I find it very annoying that I have to scroll horizontally to access specific areas of my code. Is there a sort preference that I can put to wrap my code so that it would not extend beyond the visible area of the application window? Thank you.

    Hey grafix85,

    We will have Word wrap in the next version of the Code of edge which is coming in the next few weeks.

    = Ryan

    [email protected]

  • R12.2.5 Installation on OL 7.1 ERROR: RW-50010: error:-script returned an error: 1 RW-50004: error code when you run the external process.  Check the log file for more details

    I tried to install EBS 12.2.5 on OL 7.1 with rapidwiz and got this error when applying the unique patches in second File System

    "Second system logfile file - /app/oracle/TEST/fs2/inst/apps/TEST_ebs122/logs/12021641.log.

    LOG FILE:

    _____________________________________________________________________________________________________________________________

    Step 0-8

    Command: /app/oracle/TEST/fs2/inst/apps/TEST_ebs122/temp/adrunfmw.sh

    Step 4 of 8: UNIX making pretreatment

    Running: chmod 777/db/oracle/OraInventory r

    chmod-r 777/db/oracle/OraInventory succeeded

    Step 4 of 8

    Performance: known appltest - c "/ app/oracle/TEST/fs2/inst/apps/TEST_ebs122/temp/adrunfmw.sh".

    PHASE of INSTALLATION has BEGUN: APPS TECH STACK: Wed Dec 2 17:27:07 IST 2015

    runProcess_1

    StatusString installation of Applications Technology Stack

    Copy the temp area models

    Inventory name is: app_oracle_TEST_fs2_Oracle_EBS_app

    One-time fixes copy to temp area

    Remove JDK_TOP: / app/oracle/TEST/fs2/EBSapps/comn/util/jdk32 if there is

    / App/oracle/TEST/fs2/EBSapps/comn/util/jdk32 deleted directory

    Installation of WebLogic Server.

    With the help of /app/oracle/TEST/fs2/inst/apps/TEST_ebs122/temp/xmldocs/instWLS.xml

    L'exécution de commande : /stageR12/startCD/Disk1/rapidwiz/jre/Linux_x64/1.6.0/bin/java -cp /app/oracle/TEST/fs2/inst/apps/TEST_ebs122/temp/ASInstallHome/fnd /... /j11067592_fnd.zip:/app/Oracle/test/FS2/inst/Apps/TEST_ebs122/Temp/ASInstallHome/FND/Java/3rdparty/stdalone/xmlparserv2.zip-Doracle.apps.fnd.txk.env_home=/app/oracle/TEST/fs2/EBSapps/appl/admin/TEST_ebs122/-Doracle.apps.fnd.txk.runtime.config=/app/oracle/TEST/fs2/inst/apps/TEST_ebs122/temp/xmldocs/instWLS.xml oracle.apps.fnd.txk.config.InstallService

    WebLogic Server successfully installed

    Web Tier utility installation.

    With the help of /app/oracle/TEST/fs2/inst/apps/TEST_ebs122/temp/xmldocs/instWeb.xml

    L'exécution de commande : /stageR12/startCD/Disk1/rapidwiz/jre/Linux_x64/1.6.0/bin/java -cp /app/oracle/TEST/fs2/inst/apps/TEST_ebs122/temp/ASInstallHome/fnd /... /j11067592_fnd.zip:/app/Oracle/test/FS2/inst/Apps/TEST_ebs122/Temp/ASInstallHome/FND/Java/3rdparty/stdalone/xmlparserv2.zip-Doracle.apps.fnd.txk.env_home=/app/oracle/TEST/fs2/EBSapps/appl/admin/TEST_ebs122/-Doracle.apps.fnd.txk.runtime.config=/app/oracle/TEST/fs2/inst/apps/TEST_ebs122/temp/xmldocs/instWeb.xml oracle.apps.fnd.txk.config.InstallService

    Level successfully installed Web utilities

    Registration EBSUsing /app/oracle/TEST/fs2/inst/apps/TEST_ebs122/temp/xmldocs/instEBS.xml

    L'exécution de commande : /stageR12/startCD/Disk1/rapidwiz/jre/Linux_x64/1.6.0/bin/java -cp /app/oracle/TEST/fs2/inst/apps/TEST_ebs122/temp/ASInstallHome/fnd /... /j11067592_fnd.zip:/app/Oracle/test/FS2/inst/Apps/TEST_ebs122/Temp/ASInstallHome/FND/Java/3rdparty/stdalone/xmlparserv2.zip-Doracle.apps.fnd.txk.env_home=/app/oracle/TEST/fs2/EBSapps/appl/admin/TEST_ebs122/-Doracle.apps.fnd.txk.runtime.config=/app/oracle/TEST/fs2/inst/apps/TEST_ebs122/temp/xmldocs/instEBS.xml oracle.apps.fnd.txk.config.InstallService

    EBS registered successfully

    Rename/home/appltest/bea/beahomelist in /home/appltest/bea/beahomelist.29266 to avoid problems during WLS

    patching

    / Home/appltest/Bea/beahomelist renamed successfully.

    Application of ad hoc patches

    With the help of /app/oracle/TEST/fs2/inst/apps/TEST_ebs122/temp/xmldocs/instASpatches.xml

    L'exécution de commande : /stageR12/startCD/Disk1/rapidwiz/jre/Linux_x64/1.6.0/bin/java -cp /app/oracle/TEST/fs2/inst/apps/TEST_ebs122/temp/ASInstallHome/fnd /... /j11067592_fnd.zip:/app/Oracle/test/FS2/inst/Apps/TEST_ebs122/Temp/ASInstallHome/FND/Java/3rdparty/stdalone/xmlparserv2.zip-Doracle.apps.fnd.txk.env_home=/app/oracle/TEST/fs2/EBSapps/appl/admin/TEST_ebs122/-Doracle.apps.fnd.txk.runtime.config=/app/oracle/TEST/fs2/inst/apps/TEST_ebs122/temp/xmldocs/instASpatches.xml oracle.apps.fnd.txk.config.InstallService

    Fatal error: T2K install Service

    oracle.apps.fnd.txk.config.ProcessStateException: OPatch process failed: Output = 1 see log for more details. CMD = perl /app/oracle/TEST/fs2/FMW_Home/webtier/OPatch/opatch.pl apply - verbose - silent - ocmrf /app/oracle/TEST/fs2/inst/apps/TEST_ebs122/temp/ASInstallHome/fnd/admin/template/txkForms_ocm.rsp jdk - / app/oracle/TEST/fs2/FMW_Home/webtier/jdk/app/oracle/TEST/fs2/inst/apps/TEST_ebs122/temp/patches/7695070/7695070

    at oracle.apps.fnd.txk.config.OPatchActionNode.processState(OPatchActionNode.java:312)

    at oracle.apps.fnd.txk.config.PatchActionNode.processState(PatchActionNode.java:187)

    at oracle.apps.fnd.txk.config.PatchNode.processState(PatchNode.java:338)

    at oracle.apps.fnd.txk.config.PatchesNode.processState(PatchesNode.java:79)

    at oracle.apps.fnd.txk.config.InstallNode.processState(InstallNode.java:68)

    at oracle.apps.fnd.txk.config.TXKTopology.traverse(TXKTopology.java:594)

    at oracle.apps.fnd.txk.config.InstallService.doInvoke(InstallService.java:224)

    at oracle.apps.fnd.txk.config.InstallService.invoke(InstallService.java:237)

    at oracle.apps.fnd.txk.config.InstallService.main(InstallService.java:291)

    Can not install the unique patches

    RW-50010: error:-script returned an error: 1

    RW-50004: Error Code when you run the external process.  Check the log file for more details.


    It was recorded in /app/oracle/TEST/fs2/inst/apps/TEST_ebs122/logs/12021641.log and I don't know how to find another newspaper for such details as mentioned in this journal. Please help me with that.


    Concerning

    KasunA

    Found a workaround.  The problem is that, before the 7695070 patch is applied, the installation program backup directory/apps/fs2/FMW_Home/webtier/jdk in /apps/fs2/FMW_Home/webtier/jdk_backup_existing_version, but then it clears. / jdk - the patch fails because it can't find it.  I had to rename the directory of the jdk for jdk2, and as soon as it gets deleted quickly and rename jdk2 jdk.  Then he applies the patches without problem.  A symbolic link would do the same thing.

  • Lean how to run the stop code when the highest level VI ends

    Hi people.

    I am a newbie of LV with 30 years of experience in embedded SW engineering.  I searched for how to run the stop code when a VI of highest level ends.  I found many examples, but they are horribly complicated.  A little birdie told me that such a model of simple design should not be so compilicated.

    My application is an application of high tension control to disable all HV checkpoints when the SW ends.  My VI code is running in a while loop with a stop button that leads out of the loop.  I can easily accomplish my requirement by programming with a sequence of plate that runs after the end of the main loop.  The technique of flat sequence does not work when the user clicks the Cancel button in the toolbar of façade, more than that market when the user clicks the close button of the application (X button) when you run the exe application.

    Can someone tell me please a simple technique, the code example that can show me a lean and elegant way to accomplish my task?  It doesn't have to be an obvious solution (for example a stop induced watchdog seems simple enough).

    Thank you - John Speth

    1. place this code in a VI:

    (also attached)

    Calling code in your VI of highest level like this:

  • 2230 error code when I try to uninstall my WD Smartware.

    I received the 2230 error code when I try to uninstall my WD Smartware. How do we uninstall it?

    Hello

    ·        Are you referring to Western Digital software Smartware backup or Western Digital hard disk partition?

    ·        You are able to uninstall other applications?

    ·        How do you try to uninstall Western Digital Smartware?

    So what is happening with this Western Digital Smartware software, you can follow this link where user had similar problem.

    http://community.wdc.com/T5/my-passport-for-PC/remove-the-VCD-from-my-drive/TD-p/7066

    You can also post your question in the Community of WD for assistance.

    Hope the helps of information. Please post back and we do know.

    Concerning
    Joel S
    Microsoft Answers Support Engineer
    Visit our Microsoft answers feedback Forum and let us know what you think.

  • How I only run code in a certain tab when this tab is selected?

    I want the code in one of my tabs to run only when the tab is selected. I would like to read the value of the selected tab to compare to a constant (this tab) and if it is true, run.  I don't know how to read the value of a selector tab if I do not understand the structure.

    You can't 'code inside of a tab'.  A tab control is a front panel item that allows you to display different groups of other controls on the tab pages.

    The tab control has a terminal on the block diagram.  If you want to determine if a certain tab is selected, you just that thread to function on equal terms.  Compare it to a constant.  If you right-click on the device and choose create constant, you now have a constant that contains all the pages and you can select the one you want to compare.

  • I get the 0x8078012D error code when I run the Windows backup on an external hard drive.

    I get the 0x8078012D error code when I run the Windows backup on an external hard drive.  I have Windows 7 Professional.  That suggests this error code is the problem and how can I solve the problem?

    For people who read this thread, I offer the following information.  I solved the problem by noticing that the problem could have been caused, when the system image is created.  So I did a backup without creating the system image and backup is complete without error.

    Then I used the backup program to create a system image.  This time error (0x8007045D) was displayed.   The error report says "the operation failed for a device error encountered with the source or the destination. If the volume of the source or the destination is on a disk, run CHKDSK /R on the source volume or destination and then try again using. »

    So I ran chkdsk/r, and this program is a bad sector on the hard drive of my computer and fixed the error.  It took about an hour to run the program.  Now, the image of the system and the backup of data file work again.

    So I think that the main cause of error (0x8078012D) is deborahgarbe of i/o error (0x8007045D).  So if you get the first error code you can search for fixes for the second error code fix the root cause.

  • I need to specify that you can or cannot remove files when an application is uninstalled.

    Here is the conversation last Friday, I had with my product manager:

    PM: We must be able to clear completely all files when a user uninstalls our application, so we can ensure that we are not starting from files on their devices.

    Me: OK, it sounds although we install only a single file, a SQLite file in fact. I would like to create a prototype.

    PM: excellent!

    Me: OK, give it a sense... Let's see, I can use the CodeModuleListener Interface and moduleDeletionsPending. Good deal, I can go home on time tonight.

    [Wait a minute, that doesn't work.]

    [Debug, registration.]

    Hmmm...

    [I will check the support community. Oh, ok, I found the following.]

    http://supportforums.BlackBerry.com/T5/Java-development/how-to-delete-files-during-uninstallation/m-...

    WHAT?

    [I can't uninstall one * beep * file when a user uninstalls the app?]

    [I need to create a secondary application that uses the CodeModuleListener and moduleDeletionsPending to uninstall the SQLite file used by the primary application!]

    This isn't?

    PM: The prototype will uninstall go prototype?

    ME: Uh, good... I will do tomorrow morning Tuesday for sure.

    PM: OK, have a good evening.

    ME: Yes, you too.

    ME: [not go home on time and be completely stunned by the fact that a file cannot be uninstalled when an application is deleted.]

    So my question is, before I say my product manager that I can not uninstall a single file... a small file when a user uninstalls the application, is ALL way to have an uninstalled file when a user uninstalls the application without having to use a secondary application?

    If this isn't the case, it's incredibly stupid!

    http://www.BlackBerry.com/knowledgecenterpublic/livelink.exe/fetch/2000/348583/800708/800647/How_To _...

    BlackBerry file (FileConnection) storage

    The data stored by applications using a FileConnection are not removed when the application is uninstalled.

    * beep * it! * beep * it! * beep * it!

  • Delete PersistentObject of the store when the application is uninstalled

    Hello

    I expect that on request, uninstall the PersistentObjects used by the application would be removed, but this does not happen.

    How can I achieve it

    Thanks yo

    If you create a custom class that is persistable your persistent data will be deleted when the application is uninstalled.  If you use a class set of BlackBerry APIs, such as String and store in the persistent store, it is not deleted when the application is uninstalled.  This is explained here:

    Manage the data recorded during the withdrawal of an application

    http://supportforums.BlackBerry.com/T5/testing-and-deployment/handle-stored-data-when-removing-an-AP...

  • I get this error code when I try to uninstall it and install Adobe Reader. error1324

    I get this error code when I try to uninstall it and install Adobe Reader. error1324

    See if the Fixit program mentioned in this link he can solve it for you.  It will fix bad enties in your registry for "Shell folders".

    You receive an "Error 1606" error message when you try to install or remove a program from Microsoft
    http://support.Microsoft.com/kb/886549

    Try the Forum of Adobe Reader and the 1324 error type in their search box.
    http://forums.Adobe.com/community/adobe_reader_forums

    http://helpx.Adobe.com/Acrobat/KB/quick-fix-install-download-reader.html

  • What happens if I get an error code when I try to run Dreamweaver or Flash Pro?

    I get an error code when I try to run Dreamweaver or Flash Professional. Any idea? Error code: (0xc000007b)

    Please check if the following solution works:

    Error: "unable to start correctly (0Xc000007b)."

    https://forums.Adobe.com/thread/1099431

    Concerning

    Stéphane

  • I need to reactivate Photoshop CS4 because I have a new hard drive in a reminder for my 2.5 yr old iMac last operating system running. When you open the program, I was told to contact Adobe support and give them an error code: 150:30. Please help with per

    I need to reactivate Photoshop CS4 because I have a new hard drive in a reminder for my 2.5 yr old iMac last operating system running. When you open the program, I was told to contact Adobe support and give them an error code: 150:30. Please help with permission. ?

    You can repair it yourself. I have a screenshot guide. You use app the Mac Terminal and a python (.py) script that comes with the recovery of the license for the Mac package.

    Don't forget to leave a space after typing sudo python and note that your password will not display any points. Simply enter it blind.

    Start 11 Message and take your time. It does not work. Layout error 150:30 opening Photoshop cs4 on Macbook Pro

    Gene

  • Receive an A12E1 error Code when you try to update Photoshop CC.  Running an iMac with 10.7.5.  My OS drive is formatted as Mac OS extended (journaled).  Any suggestions?

    Receive an A12E1 error Code when you try to update Photoshop CC.  Running an iMac with 10.7.5.  My OS drive is formatted as Mac OS extended (journaled).  Any suggestions?

    As I said, I'm Windows as well as a few links saved, I have ZERO idea what to do with a Mac

    Link for download & install and installation & activation problems can help

    -Cat http://www.adobe.com/support/download-install/supportinfo/

Maybe you are looking for

  • Satego x 200-need Driver for WinXP infrared

    Hello community,I'm looking for the XP Version of the infrared driver. What I know: If you click on "see the hidden devices", you will find an unknown device. I discovered, that is the "on-board infrared driver" of "Compal electronics inc.". Pardonly

  • activation of mini 4 iPad does not accept the apple id password

    The ideas people? ipad mini 4 has an activation screen, which, for some reason usually recognize the correct user name and password for the apple ID. We have tried a reboot and tried to change the password, but I can't get to the activation screen. I

  • The Windows BIOS setting tool - function?

    In files available for the ThinkStation E20 download BIOS update, there is a "Windows BIOS Configuration Tool". What is the function of this tool? Thank you.

  • Continuous signal creation (using the PFI channels?)

    Hello I am new to the use of OR and its interfaces. I use the USB-6221, with its C API. I need to create multiple channels of continuous digital output with the cycle of the frequency and the duty. I used DAQmxCreateCOPulseChanFreq for the crt0 and c

  • Whimsical E280v2

    well, let's go. I bought a sansa e280v2 last year and it worked fine all this time but recently it turns off with half of the battery left and not on turn 5 h, he claimed that it was out of battery, so I rebooted and it worked fine. He then crashed /