the use of sqlite

Hi, I have an application with some pages. I add the code to create the tables in one of the pages and I do all the "CREATE TABLE...". "but when I change to another page, I think I lost all data, isn't? How can I save and load the database I created on the first page? a few examples?

Thank you, Oscar

Of my knowledge, the data in the sqllite database is stored until the application is uninstalled. You can access them from any page in the same application.

If you need assistance with sqllite, check the solution in the following thread:

http://supportforums.BlackBerry.com/T5/Web-development/saving-credentials-locally-on-PlayBook/TD-p/8...

Tags: BlackBerry Developers

Similar Questions

  • The use of SQLite to store the JSON object

    Hello

    Can someone guide on how to store a JSON object returned after the use of the Adobe provide parser JSON which returns the native object

    as

    resultobject = JSON.decode (data)

    Where the data is a JSON string.

    The 'result' object is a complex subject, but I would like to keep this object because it is in the SQLite database.

    I tried BLOB for the column type but doesn't seem to work to store this object. Ideally, I prefer to use this way to avoid the redesign of the main code as I am currently using the SharedObject method.

    Any ideas?

    Can you just store the data as a BLOB string?

  • Can not recover the firefox bookmarks 8 there is no profile Firefox 9, the file places.sqlite

    Hello, I'm trying to transfer bookmarks from firefox 8 using the profile of appdata windows 7 for firefox. Everything I read says that there should be a places.sqlite in mozilla profile directory, but only records I see are "cache", "offlinecache", "startupcache" and the file "urlclassifier3.sqlite. I have bookmarks in my firefox application, so where is this info stored?

    If you see "cache", "offlinecache" etc, then you are looking to the wrong directories. You're looking under AppData\local, but bookmarks are under AppData\Roaming. It is for me on Win Vista:

    AppData\Roaming\Mozilla\Firefox\Profiles\xxxxxxxx.default

  • The use of the battery has increased since the update to ios 10. Also, why can not disable the voice command. It's the most boring on the new update.

    The use of the battery has increased since the update to ios 10. Also, why can not disable the voice command. It's the most boring on the new update.

    Depending on what you mean by "voice command", either:

    Settings / general / accessibility / VoiceOver / OFF, or

    Settings / Siri / OFF

    As for your use of the battery, you can check what app pulls most of its use in the settings / battery.  A new version of the app is sometimes problematic, not necessarily iOS or iPhone.  If you see a unusual % of use of a particular application, or force-to leave it removal/reinstalling it or remove it until an update comes.  If anything seems unusual, it might be a problematic installation of iOS, in which case, you could backup your iPhone and restore it:

    Restore your iPhone, iPad or iPod touch from a backup - Apple Support

  • "No cell coverage" not listed in the use of the battery

    During the audit of the use of the battery parameters, on an iPad 2 Air, WiFi and cellular, upgrade 10.0.2, 'No cell coverage' is listed and uses a lot of battery percentage. This never happened since the purchase of the iPad two years ago. I've recently updated to iOS 10.0.2 and T-Mobile as the cellular carrier. This occurs when the two Wi - Fi AND cellular data are turned off. I barely use the cell service as it is, first of all just use wifi, and I never leave the cellular data connection on when you do not. I noticed a few days ago a T-Mobile "Carrier Update" has been pushed to the iPad. Someone else with the same situation?

    Hi there, stumped127! Thank you for using communities of support from Apple!

    Use of your iPad 2 Air indicates that it is looking for service even if you have data Wi - Fi and cell phone turned off after update to iOS 10.0.2. Given that mobile data is off, it shouldn't have an impact on the battery and I will be happy to help you with this. Be sure to test after each numbered step.

    How to back up your iPhone, iPad and iPod touch --before troubleshooting a device, I always recommend a fresh backup. It is preferable "to have" one to the 'need' to a backup.

    1. forcing a nearby app on your iPhone, iPad or iPod touch - first, quit all running applications, and then restart your iPhone, iPad or iPod touch - never underestimate the power of a good restart.

    2. reset the iPad settings - do not forget to write your networks, Wi-Fi/passwords before you start. On your iPad, go to settings > general > reset > reset all settings. This step returns your iPad to factory default settings. Test and if that solves the problem, use your backup to restore your settings.

    Take care!

  • Sierra Messages App is forcing the use of the discrete GPU

    Since the update of my mid 2015 15 "MacBook Pro to Sierra, Messages.app requires the use of the discrete GPU and kill my battery time.

    All the world fell on this and if so, have you found a solution?

    Here, even with a MacBook Pro in early 2011... problem seems to be based on the new 'features messages"that you can use in iOS 10.

    From messages app, the internal GPU is used until I get a message with one of these new features to messages. Then the GPU will switch to the discrete GPU AMD and continues to work with him until I left messages app.

  • Change the orientation of the mouse. Click the apple icon, and then select check box on the left. However, this box is covered by a video on the use of the mouse. How to remove the video?

    Change the orientation of the mouse.  Click the apple icon. System Preferences; OK to this point; the area to select 'Left hand' is covered by a video on the use of mouse clicks. How can I remove the video (s) so I can't select 'Left hand' in the box?

    System Preferences > mouse, and then select the tab more moves.

    Then on the left, select: slide between pages

    Click scroll left or right with one finger , and then make your choice.

    You cannot delete the video. This is a demonstration.

  • How to remove or disable the "Use default" button in preferences.

    I went through and set up my own configuration file, and everything is fine, except that we want to remove the ability for users to accidentally click the "Use default" option in the Preferences menu. Alternatively, I would hope that this has also removed the box to ask if firefox should be the default value.

    I put it do not ask, but we do not want users to click on this box if we have the ability to remove the "Use default" button.

    Doesn't seem to be something that I can put it in the registry, but if there is an entry in registry to remove or gray on this button, that would be also worked for me.

    http://KB.mozillazine.org/about:config_entries

    Thank you

    Jason

    You use a mozilla.cfg file to define the default values or do this with a file in the profile folder?

    You can lock a specific pref via the mozilla.cfg wire to make it impossible for users to change the pref that is related to this setting.

    • lockPref ("browser.shell.checkDefaultBrowser", false);
  • How to find edited a photo folder after the use of Photos

    Hello, I'm new to using a Mac.  I uploaded the photos to Photos and then made changes to multiple images, cropping etc...  Now I can't find the image file on the hard drive after the change of the use of the Photos app, I find only the original file.  I went to the finder, then the photo file and I find the file "Library.photoslibrary photos" so I right click and select "Show package content" then I click on the master file and look for the file in a folder.  However, the file I find does not changes that I made, it is only the original file.  I'm not sure what I am doing wrong?  Thank you

    What you're doing wrong is fiddling in the Photo library package, this will lead to tears. What exactly you are trying to achieve by finding the original.

  • Given to replace my current iphone with a 6s - a trip that I can disable the use of boxes and use a unique sim card data for emails

    Given to replace my iphone today with a 6s - a trip that I can disable the use of boxes and use a sim card only data for email & web.

    If you go to settings > Mobile and less ' use of mobile data for: "turn off all except Safari and Mail

  • There are a lot of Add-ons for firefox. Could you add the use of memory and the size of the code snippet. To download a & search for mem usage... bad.

    Looking through the massive amounts of Add-ons is a bit annoying. I always want to know how big the app is and how a memory trail I will get. I now have to download the application for size and then the search engine application to see if it is a heavy memory drag. Today, I tried a screenshot of Firefox Add-on. The first was 2.4 mb the second was 414 KB, it's a big difference. Then after searching memory, I found problems.

    This info can be added to code snippets.

    Thank you

    https://addons.Mozilla.org/en-us/Firefox/addon/about-addons-memory/
    Subject: addons-memory 10 by Nils Maier
    Adds a comments: page of memory addons that details the use of the memory module

  • differences in the use of a backup Favorites file ".json" and a file of bookmarks '.html '.

    Hi all
    What is the difference between the use of a backup Favorites file ".json" and a file of bookmarks ".html"? It seems that both of them do the same job. If this is the case, then why there are two options (.json and .html) to do the same job? If this isn't the case, then what is the reason for the availability of the two options and how are they different? Although I read the material, it didn't quite clear form me again. Please be so kind enough to elaborate on the question so that I can get a clear understanding of their good use (s).
    Thank you very much in advance for your time and skills

    Hello

    See questions/684284

  • YouTube seems to be blocking the use of Firefox (MaskingAgent?) on 2015 / 01 / 08

    • YouTube seems to be blocking the use of Firefox on 2015-01-08, let me (ATTACH) a screenshot.
    • I see that the default search engine (alias "recipes) for Firefox Google/YouTube, Yahoo has recently changed.

    This is due to the extension of the masking Agent, sending deliberately incorrect sites on the browser you use. I don't know if the extension allows you to make an exception for youtube.com and ytimg.com in order to work around the problem. If this isn't the case, you may need to disable the extension.

    You can manage on the page extension modules. Either:

    • CTRL + SHIFT + a
    • "3-bar" menu button (or tools) > Add-ons

    In the left column, click Extensions. Then find Agent masking and check for that option button. This is also where you would turn it off.

    (Often a link appears above an extension disabled to restart Firefox. You can complete your work on the tab and click on the last step.)

    As far as I know, your default search engine is invisible to Web sites, so this probably isn't a problem. Or do you want to make a change here? This article has the steps: use the Firefox search bar.

  • How can I keep IE and FireFox Favorites in local sync to my PC only, without the use of an external server or import/export?

    FireFox Sync is not an option, because the use of an external server is not allowed.
    Use of third-party modules is not really an option.
    Import/export is inefficient because it is not put them in the same exact place in every browser.

    I am happy to be able to use the same favorites/bookmarks file if it is an option.

    Thank you

    You do not have.

    Sorry, IE and Firefox use different methods of storage Favorites / Bookmarks to data that are not compatible with the other program.

  • Is there a way to track the use of Apple's music?

    I have the family plan and I would like to know how we as a family of broadcast music, primarily to determine whether to continue.

    To my knowledge there is no way to control the use of streaming music Apple. You can check the latest purchases in your iTunes account and you can check the iCloud data storage and its use but is not streaming its use. My guess is that Apple has this info somewhere so they can find a way to balance the load on their servers from Apple's music but I've never seen like the selection of menu item or a user of Apple's music.

Maybe you are looking for