Access SQLite DB on upgrade of the application

When I uninstall and install a new version of my application on Simulator PlayBook, the database is deleted.

What will happen when a person updates my app via App World, the same thing will happen? How to stop lost data?

Thank you.

When you uninstall app all the information about the application is deleted. This is a normal situation. When you upgrade your application using App World all ale of information yet on the device and no data is removed, so don't worry

Tags: BlackBerry Developers

Similar Questions

  • Restrict access to the database for the upgrade of the application

    Hi all

    We're performing an upgrade of the application that requires us to perform a lot of scripts on our server Oracle EE 11.2.0.4.

    This specific database has around a website based end and a front end based client, but it is also accessible on the network through TNS SQLPLUS/Toad, ODBC, JDBC etc.

    For obvious reasons, the upgrade, I want to make sure that no one else that the DBA can access the database. Usually change us the listening port of 1521 to let say 1544. This prevents all access.

    But now we run in a physical Data Guard with two Standby configuration so I don't really want to play with the listener ports. The upgrade must propagate changes from primary to Standby. I could interrupt them temporarily, but I would like to avoid that if possible.

    Another way I thought would work was to stop the database and open it in restricted mode. But before that, I would need to grant the privilege of the Session to RESTRICT all users upgrade scripts using (around 5 users).

    This approach using the restricted mode seems reasonable?

    Other opinions would be much appreciated.

    Thank you

    This is exactly what restricted session is for. You can do online and then kill a session is currently connected. No need to stop:

    orclz > alter system enable restricted session;

    Modified system.

    orclz > change system disable restricted session;

    Modified system.

    orclz >

  • The application cannot be installed because of a certificate problem.  The certificate does not match the certificate of the installed application, does not support upgrades of the application or is not valid.  Please contact the application author.

    The application cannot be installed because of a certificate problem.  The certificate does not match the certificate of the installed application, does not support upgrades of the application or is not valid.  Please contact the application author.

    That's what I have I am trying to download adobe programs

    which is not a download error unless you use some sort of download manager/assistant that is also trying to install.  do you have a download manager/assistant?

    or is it an error of installation and, if so, what type of program (name and version) are you trying to install?

  • Could not open install Assistant.  I get this error message: cannot install the application due to a certificate problem.  The certificate does not match the certificate of the installed application, does not support upgrades of the application or is not

    How do I download a trial of 12 items, Adobe?

    I followed the instructions to download assistant... but get this message: the application cannot be installed because of a certificate problem.  The certificate does not match the certificate of the installed application, does not support upgrades of the application or is not valid.  Please contact the author of the application.

    Hi alposer,

    Please delete the copy of Adobe Download Assistant you have installed, and then reinstall Adobe Download Assistant.

    Kind regards

    Rave

  • Access Manager TrueSuite blocking most of the applications - Satellite U405

    TrueSuite access crashes recently most of the applications.
    He also blocked msn and so when I entered my email asking my fingerprint.
    So I can connect, but I can t connect because of this
    Is it possible to block this from happening?

    Try to remove your fingerprints and TrueSuite uninstall, then reboot and install the last TrueSuite since the Toshiba site.

  • Authorization request during the upgrade of the application.

    Hello

    I have the problem with the permission of the application.

    When I install the application, I get the message of trust application, but when I upgrade the application, I don't get the message of trust application but get the message "this application of [application name] has asked an http connection [link URL]" with checkboxes.

    These permission prompts appear 7 times in my application for different URLS.

    Why the permission is changed during the upgrade and how to avoid these prompts for permission?

    What you see is what I see too.  Updates seem to "revoke" the application permissions.

    To work around this problem, I recommend to start the application, that it has the required permissions.  The permissionsApiDemo is a good example of how to do this.  If the application has lost permissions, then you must prompt the user for you give the appropriate permissions - new PermissionsApiDemo is a good example,

    Don't forget that you can actually loose permissions in other ways, for example the user permissions of your application in editing parameters.  If it pays check every time.

  • Upgrade of the application

    Does anyone know why whenever I update the following planning application it gives me the following error:

    Thu Oct 30 17:49:28 GMT + 08:00 2008 dplan: from upgrade
    Thu Oct 30 17:49:28 GMT + 08:00 2008 dplan: change the application type in EPMA
    Thu Oct 30 17:49:28 GMT + 08:00 2008 dplan: obtaining metadata
    Thu Oct 30 17:49:31 GMT + 08:00 2008 dplan: failed to get the metadata for product

    Total errors: 1 Total warnings: 0

    Please see the log file EPMA for more information.

    any idea?

    Thank you
    Hanson

    Just thought I'd post an update to what I came across the question, maybe useful for someone in the future.

    If you create an application of classical planning with custom time periods then this error occurs, I reproduced it by creating a classic own planning with personalized periods application and you try to upgrade to EPMA.

    This problem is fixed in 9.3.1.1.6

    7117095 you cannot switch the EPMA to Planning applications, if applications of EPMA contain custom periods.

    See you soon

    John
    http://John-Goodwin.blogspot.com/

  • The upgrade of the application of 10.2.0.3

    Hello
    I have my application on 11i with 10.2.0.3. It must now be upgraded to R12.1.3 with 11 GR 2.

    I want to upgrade 10.2.0.3 to 11.2.0.2 directly. He would'nt be problems with this right?

    However I think to upgrade DB to 10.2.0.5, like 10.2.0.5 is the last group of patches, so it has all bug fixes that will make the upgrade smoother.

    Please suggest.

    Thank you
    Taher

    Taher,

    I want to upgrade 10.2.0.3 to 11.2.0.2 directly. He would'nt be problems with this right?

    You should be fine with this approach.

    However I think to upgrade DB to 10.2.0.5, like 10.2.0.5 is the last group of patches, so it has all bug fixes that will make the upgrade smoother.

    If you want to upgrade to 11.2.0.2 then I think that this step is not required.

    Thank you
    Hussein

  • VI access to a second instance of the application


    Have you seen this Darren wrote a nugget on it.

    Hope this helps

  • PlayBook - local storage on the application upgrade

    Hey guys,.

    I was wondering what is happening in the local storage (SQLite or key / value) when the application is upgraded via the BlackBerry store. Should keep his content or wipe?

    Is there any ETA on API to access the shared storage devices?

    Thank you

    -Ryan

    I have not seen something official, but I have investigated this area extensively and have every reason to think that the local storage will be preserved as the app is not actually uninstalled.  An upgrade should preserve all that content.  I would consider another thing to be a serious bug and really I'm sure that they choose to do it this way.  For all that is worth...

  • The upgrade of my application fails (when it is registered with PhoneLogs)

    I use Desktop Manager to install/upgrade the java application, I am writing to you.  My application is configured to run automatically at startup function.

    1. when I just install my java application (which means that it is not on the device), it installs and works fine.

    2. when I update my application, the phone restarts, fails it application (IE not dΘmarre).  More clearly, if I go to the icon and click on it, nothing happens.

    3-if I delete the app, reboot the phone and install the application, it is very good (line with scenario 1 above).

    I narrowed down it to 1 line of code that makes the difference:

    PhoneLogs.getInstance () .addListener (myPhoneLogListener);

    If I don't register my app/process with the PhoneLog, upgrading the app has managed in all scenarios.  I guess that's because one of my 'myPhoneLogListener' objects is in the memory space of the PhoneLog at the time of the upgrade.  Also, my application is running at the time of the upgrade.  The application is still running in the background, intentionally.

    I would try an OTA update to see if it behaves differently, but I don't have any private location secure to host my app.

    How to make this upgrade work, without requiring the user to quit the application before the upgrade; given that I can't guarantee that users will do, and I don't have to have a bad experience with my application.

    I'm writing my own solution for others in the future.

    So before in my MAIN() method, I capture all the Exceptions and out in silence.  This was to avoid the dreaded AppError-200 during development.

    So I added a try/catch in my MAIN() to write all the Exceptions in the event on the device log, before to leave.  It turns out, I was getting a "ControlledAccessException.

    So, I decided to add a Thread.sleep (30000)-30 seconds before trying to run my problematic registration code.

    Good news and bad news, it worked.  But that tells me that there are a few occurring in race condition.  Well, I have no other choice.  I hope this helps someone else out there...

  • Upgrade the application in the application layer

    I have a question about upgrades of the application from the application layer. The App layer capture guidelines 4.0 claims in a "Note on the upgrades of the application" "you can replace the existing application by a new layer layer. To make this capture application upgrade in one application layer as well as applications or updates required at that time there) by... starting with a clean reference machine and the capture of the new application. "Once you have the new applayer, use update App layers to replace the old with the new application layer application layer". My question is this - I have a virtual machine with 10 applications on it to one of our departments that was captured as an application layer, we'll call it layer 1 App. If one of these applications must be updated, I take the instructions above to suggest that I update just an app on a clean reference VM, and then replace the application Layer 1 with the layer app update, which we will call App Layer 2. But what happens to 9 other applications that were in the application Layer 1? In fact to create a separate app update layer for an application? This seems not effective either. I thought I'd go in the instant VM which has 10 apps, can he improve it that captures the App layer replacement? Sorry if I'm doing this more complicated than it really is!

    I'll do my best because I don't have the exact definition, but basically it's when you go to provision a virtual machine in an environment vCenter/ESXi host that gives you the option of how you want to deploy the disk. You want to have the disc be fully provisioned or thick put into service (allocate all the space immediately and empty space to zero) or would you like to "thin provision" the disc. When you "thin Provision" the disk you say the BONE he left say 40 GB of usable space, but really on the end back into the storage you have only allocated say 20GB of the potential 40 GB in size of drive capable. The size of the disk grows to its limit of 40GB because the data within the virtual machine grows, so can supply you more VM to a size allocated LUN, without taking up all the space as fast.

    For example if you have let say a 100 GB LUN and you supply thick and each server has a hard drive to lets say 40 GB, he would recommend that you now fill the LUN to the limit, but not more than 2 VM available. This leave, about 20 GB of space for the virtual machine of to perform its other mechanisms as well as if you wanted to try and squeeze a small disc in I guess you could.

    Now let's try this same scenario when we "thin provision" a disc. So go us through the process of construction of the virtual machine and the size of the 40 GB drive, but use "thin provisioning" and the real disk footprint on the LUN is 20 GB. This means that you could potentially get 4 thin provisioned VM in the same 100 GB LUN. So better using the available storage is presented to you. Now, you will also watch and manage your VM more closely as if you pictures or things of this type you could quickly get yourself in trouble by filling the logic unit number or if the machine virtual disk footprint is increased to its maximum size, you would have problems as well.

    I want to say that this is just an example and I highly recommend that evaluate you your environment and know how things affect your VM before trying to "mount" as many as possible VM on a LUN storage. It's complicated, but if you have constraints of storage, this is definitely a solution to consider.

  • Access SQLite DB 6 BB

    Hello

    I already wrote my request of webworks thanks to google gears for SQLite DB. Recently, I decided to use HTML5 instead, so my application would run on OS 6. After several hours of laborious having to rewrite the application (and having to rethink traffic through asynchronous DB access of HTML5 ), I'm finally the application runs on OS 5 by using the file html5_init.js with no google gears in my javascript file. However, my request has always refused to operate normally on OS 6. I managed to refine one of the issues to something like this:

    db.transaction(function(tx){
        tx.executeSql('some_sql', [], function(tx){
            var request2 = new XMLHttpRequest();
        request2.open("GET", 'some_url');
        request2.setRequestHeader("Content-type", "text/html");
        request2.onreadystatechange = function() {
                tx.executeSql('some_sql');
            }
        }
    }
    

    Now, here's the problem, on the second tx.executeSql () call, the tx object is recognized as a valid SQL transaction object but the method call fails with the following exception:

    INVALID_STATE_ERROR: DOM Exception 11

    What could I do it wrong?

    Hello

    I was able to lay transactionw of the database with the callback functions as well as with the function asynschoronous to an AJAX call. It took a little while to get my head around it, but I got here in the end.

    I tend to use the reminder of the db.transaction real for the next call to db. (Not the callbackfunction of the transaction itself... it's confusing!)

    for example

    {DB.transaction (Function (TX)}
    tx.executeSql ('some_sql', [], tx_transaction_ok, tx_error_handler);

    }
    tx_error_handler
    function (tx) {}
    var request2 = new XMLHttpRequest();
    request2. Open ("GET", 'some_url');
    request2.setRequestHeader ("Content-type", "text/html");
    request2.onreadystatechange = function() {}
    DB.transaction (Function (TX) {tx.executeSql ('some_sql', [], tx_transaction_ok});

    }
    );

    (I may have missed a few brackets etc.)

    Have you tried this method? In this way that the db object is released prior to use.

    See you soon

    Andrew

  • BlackBerry smartphones another upgrade of the OS Question

    Hello. Like many others here, I'm trying to upgrade my 8700 c OS to the latest (4.6) 4.1. I followed the given instructions and downloaded the latest version of the Desktop Manager. However, after that my device is connected, I'm not prompted to upgrade the OS, I can't find any place to be upgraded under the Application Loader. It is said that no software update is required for my device. Someone would have seen how I might be able to update my OS?

    Thanks in advance.

    Desktop Manager is only the tool used to install a new OS for your BlackBerry.  You must also install a bundle of BONES on your PC for Desktop Manager to load to your BB.  You can find them here:

    http://www.BlackBerryFAQ.com/index.php/BlackBerry_Operating_System_Downloads

  • Photoshop not installable after the upgrade of the creative cloud July 2016

    I did everything: I have uninstalled all applications and creative clouds. I threw twice as administrator AdobeCreativeCloudCleanerTool.exe.

    I installed Acrobat, but not Photoshop and Muse.The advise is "limpeza no all'istallazione.

    The journal says:

    "Exit code: 146.

    -------------------------------------- Summary --------------------------------------

    -fatal error 2, 0 error (s), 1 warning (s)

    FATAL: Error (Code = 146) the 'MoveDirectoryCommand' command for package: 'AdobePhotoshop17-Core_x64', version: 17.0.0.88

    FATAL: An error has occurred in the installation of the package (name: AdobePhotoshop17-Core_x64 Version: 17.0.0.88). Error code: '146'

    WARN: Cannot move the directory 'C:\adobeTemp\ETRCA02.tmp\1\Application' to ' C:\Program Files\Adobe\Adobe Photoshop CC 2015.5'.

    What can I do? I need Photoshop for my work.

    My Windows 10 is perfect and the upgrade of the applications is still OK. The problem is started since the upgrade to the latest version of creative cloud.

    Please answer emergency, also because there is no way to contact Adobe support

    Resolve the error Code 146 encountered during the installation of creative cloud desktop applications...

Maybe you are looking for