Database in the resources folder

I have a SQLite database with the names of 100 countries and their info from lat - lon.

I want to put this folder resources and read/edit its entries.

Is this possible? If Yes please tell me how?

I know how to create and manage the database on SD card, but want to know how to place the database in the application.

Help, please...

you have two options, actually.

Copy the runtime of your db for location of SD card file or copied to the file system internal. The last option is useful only for a limited number of device. Bottom line is that SQLite can work on SDCard or filesystem (in rare cases)

Tags: BlackBerry Developers

Similar Questions

  • Maximum file size that can put in the resources folder

    I attach the database with the application. So let me know the maximum file that can be attached to the res folder

    Welcome on the support forums.

    feel free to search the forum, this often gives a result.
    I did it for you, this should help you:
    http://supportforums.BlackBerry.com/T5/testing-and-deployment/the-maximum-size-of-a-BlackBerry-smart...

  • SQLite in the resources folder

    Hello

    I see most of the samples and technical documents provided by RIM use the SD card to create the database.

    I am thinging of be the SQLite db inside my application file. Is it possible to have the SQLite file inside the folder of the application's resources and use this file in my application?

    This question has actually been asked before, have a search around, you might find more, but in summary, as far as I KNOW, you can get a copy of it in there and write on the front of the SD card to use (as does the demo of SQLite), but impossible to open a database in your application.

  • I am running XP Home Edition, when I right click on an icon/folder on my desktop, I get a fatal error message of "unable to start this program because it lacks the 'resources' directory or one of its subfolders. __

    I am running XP Home Edition when I right click on an icon/folder on my desktop, I get a fatal error message of «unable to start this program because it lacks the "resources" directory or one of its subfolders» How best to solve this problem without reload my OS which would be suh a pain that I've been running with it for many years and to return to, where I'm now should always be! »

    Right click issues are usually caused by third party software who pushed himself into the context menu. This is more easily managed using the ShellExView free program.

    http://www.nirsoft.net/utils/shexview.html - ShellExView

    Make a right-click is slow or weird behavior caused by context menus management - http://windowsxp.mvps.org/slowrightclick.htm
    Manage the entries in context menu for folders, readers, and the Namespace objects - http://windowsxp.mvps.org/context_folders.htm MS - MVP - Elephant Boy computers - Don ' t Panic!

  • The initial launch of DW CC 2014, get following error: "cannot locate the resource file in the Configuration folder. This file is Spectialized to run Dreamweaver. Please reinstall the application. "This app has been updated through CC.

    I have to first remove the DW? With the help of PC Win 7.

    The error message: "Unable to locate the resource file in the Configuration folder", so it seems that something is missing. Could be a permission problem... I would suggest:

    1. go to a user admin account

    Connect using built in Administrator | Create the local admin account. 7, 8, Windows Vista

    Install or run Adobe applications in the new user account. Mac OS X

    2 remove the application DW CC 2014 by uninstalling or using the cleantool.

    https://helpx.Adobe.com/creative-cloud/help/install-apps.html#uninstall apps

    Use the CC cleaning tool to resolve installation problems. CC, CS3 - CS6

    3. manually delete the directories of config according to KB: (you need to of course search the CC 2014 folder instead of the older versions in the KB)

    Restore preferences | Dreamweaver CS4, CS5, CS5.5, CS6

    This step will ensure that also the configuration file will be regenerated on re installation!

    4 reinstall on the new admin account and test again. If works please go back to the old account and test again.

    Good luck!

  • Need to table of database containing the details of resource Provisioning

    Hello

    I need to know the table name in the IOM database, containing information on the resources provided to a user.
    I need the configuration to a particular resource resource status.

    Example:
    A user provided to the advertising target system and the State is "stocked".

    Please let me know the name of the table.

    Thanks in advance.

    Concerning

    I suggest to go with (PK suggestion is correct but sometimes messed up IOM things in the case where multiple instances of connectors are used so just be good side)

    SELECT usr_login ost, Ouedraogo, obj, usr, obi WHERE oiu.ost_key = ost.ost_key AND obj.obj_key = obi.obj_key AND oiu.usr_key = usr.usr_key and ost_status in ('provided', 'Enabled') and oiu.obi_key = obi.obi_key and obj.obj_name = 'AD user'

  • Is there a way to merge the bookmarks on my old pc with those on my new pc? (PS: I have unable connect to the old pc using old profile but can access the profiles folder).

    My profile on my old laptop has become corrupted and I can't log in with my regular account (admin). I would like to add and merge bookmarks former firefox to another laptop, which already has existing bookmarks. I can not simply copy and paste the profile folder as this would crush my existing bookmarks and settings. Unfortunately, I have not set up the sync on this browser feature.

    Unfortunately, Firefox doesn't have good tools to merge and dédupliquant bookmarks. I will propose a roundabout way to do. Here's an overview:

    (1) create a new profile Virgin (#3) in your current Firefox (see details at the end)

    (2) while using the #3 profile, restore a file in JSON format to backup your old (#1 profile) system (see restore bookmarks from a backup or move them to another computer)

    (3) export bookmarks restored to an HTML element in a perfect location, with a file name unique format (see Export Firefox bookmarks to an HTML file for backup or transfer bookmarks)

    (4) exit Firefox and is reactivated in your normal profile (profile #2)

    (5) file bookmarks import as HTML (see import bookmarks in HTML file)

    (6) create a backup in case something is not going to step 7 (see restore bookmarks from a backup or move them to another computer)

    (7) rearrange bookmarks in the folder of imported bookmarks (see https://support.mozilla.org/kb/use-bookmarks-to-save-and-organize-w...), possibly using an add-on deduplicating

    Create a new Firefox profile

    A new profile will be your plugins installed by system (for example, Flash) and extensions (e.g., security suite toolbars), but no themes, other extensions or other customizations. It should also have databases of completely fresh settings and cool a cache folder.

    Out of Firefox and start in the profile using Start Manager > Search box (or run):

    firefox.exe -P
    

    Do not delete anything here. Any time want to switch profiles, exit Firefox and return to this dialog box.

    Click on the button to create a profile, give it a name like OldBookmarks and skip the option to change the folder. Then launch Firefox in the new profile that you have created.

    You are ready to return to the new profile and create export to HTML format.

    When you return to the Profile Manager, you might be tempted to use the button to delete the profile. It's a little too easy to accidentally delete your 'real' profile, so I recommend you to resist the temptation. If you don't want to clean up later, I suggest to make a backup of all your profiles first in case something go wrong.

  • How to make a copy of the sent IMAP messages when the sent folder file cannot be found?

    My Thunderbird works fine. I also see messages in the "sent" folder but I wonder are only registered in the IMAP server messages. For the backup application, I would like to copy the file from the "sent" folder but I can't find a local file for this.

    In home/me/.thunderbird/44g5fxvp.default/ImapMail/mail. .fi [mymail] I have files
    Archives - 1.sbd
    Archives.MSF
    Deleted messages
    Messages.MSF deleted
    Drafts.MSF
    INBOX
    INBOX.msf
    inbox_old
    inbox_old. MSF
    msgFilterRules.dat
    Sent.MSF
    Templates.MSF
    Trash.MSF
    Trash.SBD

    IE Sent.msf exists but is not named file sent. I am looking for a bad place? My Thunderbird settings or preferences are wrong? Is there something obvious that I missed?

    What is the most convenient way to make a local copy of the sent messages folder if Thunderbird does not have a local copy of it?

    Information on my system:
    The application databases
    Name Thunderbird
    Version 31.0
    User Agent Mozilla/5.0 (X 11; Linux x86_64; RV:31.0) Gecko/20100101 Thunderbird/31.0

    Application version identifier 20140721092545
    Permit Plugins about: plugins
    Build configuration about: buildconfig
    Memory usage on: memory

    Mail and News accounts
    [...]
    account3 mail (imap). [mymail] .fi:993 password smtpa Normal SSL/TLS. true password [mymail] .fi:465 Normal SSL/TLS

    Subscribed IMAP folders accounts configured to synchronize and place a copy of the folder on the server in the profile of mail, but this issue is constantly updated to match the server, so if you have new messages then these changes are made to the server folder and the folder on your computer is updated to match the server folder. Or if you delete mail from your copy then it will update the server. Then synchronized files are constantly changed and updated.
    Moving while copy/move, it stops the activity on files synchronized and enables offline that get you a copy to anywhere else you want.
    Less chance of something going wrong.
    then go back to online mode.

    I knew that some people have problems with copy/move emails in online mode that are offline.

    Easy way to go 'offline and online.
    To go offline:
    Click 2 bluescreen icon located in the bottom left of the status bar.

    To go online again:
    Click 2 screen black icon located in the bottom left of the status bar.

    Some useful info on IMAP backup:

    ImportExporttool - very useful:

  • What is the bookmarkbackups folder for?

    There a bookmarkbackups folder in profile directory
    What is the bookmarkbackups folder for?
    delete the file inside?

    Firefox uses the bookmarkbackups folder to store backups of bookmarks, in order not to lose in case of problems with the database places.sqlite file that stores the bookmarks.

    Firefox continues to run daily backups JSON (bookmarks-#-#-_xxxx.json #) of the bookmarks in the folder bookmarkbackups, one for each day that Firefox has been launched and a maximum of 10.

    You can set the maximum type via the browser.bookmarks.max_backups pref on the topic: config page.

    The current versions of Firefox indicate the number of bookmarks in a JSON backup as part of the file name: xxxx in bookmarks-#-#-# _xxxx.json, so you can use it to select a backup.

  • ! Difficult problem!  Move iTunes songs to the empty folder to automatiquementala

    Hello everyone.

    It's my frist time write a discussion here, desperately looking for your help

    I checked the other similar discussions and I can find none, that has the same problem as mine.

    Anyway... my iTunes is updated and therefore my iPhone 5 s.

    I've always used automatically add them to the iTunes folder to add music from my iTunes library.

    (after that music has been transferred to the ' automatiquementala file it IMMEDIATELY disappeared, but the song was in the iTunes library)

    One day, as I noticed a few circles on the left side of my songs in the iLibrary. These songs were not playable, and whenever I

    sync my phone I got (100errors) that the songs could not be transferred to my phone. (Song couldnot be used because the original file cannot be found. You want to locate)

    Even if I wanted to move each song, I would choose the automatically add to iTunes folder (BUT ITS EMPTY). I can't find the music anywhere on my hard drive.

    I gave up those songs and decided to download again them once I find the time.

    Recently, I backed up and restored my iPhone 5 s. After I restore, I noticed that a lot of my songs did not appear on her

    (those who did not appear in the iLabrary too).

    Today I decided to download all these "missing songs" and it took me at least 3 hours. All happy I've put them in the damned automatically add to iTunes folder, plugged my iphone with itunes and sync. After syncing I started testing in my iphone and I noticed that only 20 of 70 + songs were on my phone (most of them was gray and unplayable, so I resynced, that did the trick). But other songs were not there! I checked my doomed automatiquementala file once its empty and I don't know what to do with my life haha

    Please guys, help. And if you can do it step by step, because im not really a pro with computers

    and other things (btw im using a Windows 7 or 8 I think haha)

    The folder add automatically to iTunes acts as an area of "file" for users (and other software).  When the files are placed in add it automatically to iTunes they will be handled by iTunes (immediately if it is currently running, otherwise next time that he istarted) and added to the iTunes library.  The files placed in add automatically to iTunes will be moved to the standard locations within the structure of library iTunes, determined by:

    • the iTunes Media folder location setting in Edit > Preferences > advanced, and
    • the values of metadata in media files are added.

    If you use the default location of folder media (C:\Users\username\Music\iTunes\iTunes Media) then your files will be moved to folders named according to this model:

    • C:\Users\ username \Music\iTunes\iTunes Media\Music\ artist \ album

    The only exception to this is the case where the indicator 'Part of a compilation' is defined in the media files - the names of standard folders will then be:

    • C:\Users\ username \Music\iTunes\iTunes Media\Music\Compilations\ album

    If you have selected the option "organize files...". "in Edit > Preferences > advanced files, if necessary, is renamed to use the disc number, track number and the name of the song as a basis for file names.  Very long folder/file names will be truncated to 36 characters (which can have strange side effects if you have two albums whose names only differ after that limit exceeded - you end up with a folder containing two album titles).

    After the addition of new media in your library, the add automatically to iTunes folder must be empty: the only exception is when the media files are in a format that iTunes cannot handle or the files are corrupt: in this case, you will see a subfolder "not added".

    In your case, it seems more likely that the files have been added to your iTunes library you or another piece of software has moved or renamed multimedia files, or that the disk on which the files were placed is no longer available on iTunes.  If you can post (using screenshots of preference):

    • Your settings in Edition > Preferences > advanced
    • The location held by iTunes for one of the tracks that cannot be located (for this, right click on one of the songs display next to his name, select Get Info, when you see this message (of course with the name of your song "disappeared")):


    Click on no, then click on the file tab - the location information that is held in the iTunes database will appear at the end of the list in the window, starting with "file://localhost", like this:

    Then it should be possible to diagnose your problem and propose a resolution itself.

  • How many client PC can access the shared folder centralized in the windows XP Home Edition Server?

    Here's my situation:

    I bought 6 home edition of Windows XP
    then freshly installed, they upgraded to Service Pack 3 and they activated via internet
    I have some shared folders in one of them, acts as a database for the other 5 Server
    The other (5 PCs) Access database files (Visual FoxPro) using (X & Y) mapped network drive
    I have no problem connecting until the last one (FP5)
    Windows XP of the 5th PC (client) said:
    "Year error occurred while reconnecting X: to \\Raya\WS-01\Server Palen.
    Microsoft Windows network: No more connections are possible to this remote computer
    at this time because there are already as many connections as the computer can accept
    The connection has not been restored. "
    What & why is it?
    Is a design limitation of Windows XP HOME edition which can only inter connect up to 5 PCs at the same time?
    Please advise, what is happening here?
    Thanks in advance

    Windows XP Home Edition allows a maximum of 5 simultaneous incoming connections.  XP Pro allowed 10.

    The following note is from the Article KB 314882:

    Note For Windows XP Professional, the maximum number of other computers that are permitted to simultaneously connect over the network is ten. This limit includes all transport and combined resources sharing protocols. For Windows XP Home Edition, the maximum number of other computers that are permitted to simultaneously connect over the network is five. This limit is the number of sessions simultaneously on other computers, that the system is permitted to accommodate. This limit does not apply to the use of administrative tools that attach from a remote computer.

  • Found unknown file in the temp folder.

    original title: unknown exe file

    Hi, can anyone help please, my firewall (Online Armor), maintains reporting an exe wants to run, for now I continue to block, as I was not able to know what it is, I ran several scans and it comes back clean, the full list is: -.

    3d25f147-3f51-4f78-a7fa-09f39d0c91dc.exe, 0.0.0.0 (0.0.0.0)

    C:\WINDOWS\Temp\3d25f147-3f51-4f78-A7FA-09f39d0c91dc.exe

    (MD5) hash: C1B7BACC5F4A932870308FF2D2481F30

    It's on my home pc, and as I travel, I can't use it for a few days, so I don't know when it started happening, I was wondering if it is a file update, I know that it is in the temp folder, but I didn't delete it, until I could find what it is for.

    Thanks for your help

    bobr_589

    XP SP3

    Avast antivirus

    Hi bobr_589,

    A standard procedure for the administration of the system is to reduce the amount of storage space used (typically a hard disk) by deleting temporary files.
     
    That the file is in temp you can remove it because it is not a update file.
     
    In addition to this review, if Windows update is working or not.
     
    A Microsoft security in safe mode with networking scanner to make sure that the computer is completely virus-free
    Step 1:
    To start the computer in safe mode
     
    Step 2:

    The Microsoft Safety Scanner free is a downloadable security tool that allows analysis at the application and helps remove viruses, spyware and other malicious software. It works with your current antivirus software.

    http://www.Microsoft.com/security/scanner/en-us/default.aspx

    Note: The Microsoft Safety Scanner expires 10 days.

    Note: The data files that are infected must be cleaned only by removing the file completely, which means that there is a risk of data loss.

     
    See the following steps to delete the content in the Temp folder.
    1. click on Start. Click run. In the dialog box that appears, type temp , and then click OK.
    2. open the Temp folder. You can delete everything in the Temp folder, including subfolders. Click Edit | Select all, and then press DELETE on your keyboard.
    3. you can also try to delete other user accounts Temp files by performing the next step.
    i. click Start. Click run. In the dialog box that appears, type %temp%, and then click OK.
     
    See also:
    Description of the tool in Windows XP disk cleanup
     
    Hope this information helps.
  • I can see the shared folder on the #2 computer but cannot connect.

    I can see the shared folder on computer 2 but unable to connect. It is said "see... administrator permissions. When I go to the computer and creat a hand 1, I can see on the 2nd computer but cannot connect. I can connect to the shared printer on one 1 computer file.

    When # 1 I can connect to #2 and open shared files (just like its supposed to!)

    I have checked the basics, (I can connect to the Printers folder) file sharing.

    Help, please. Both computers have a freash install WIN XP and have been updated to SP3 current peer-to-peer network, firewall is down, Microsoft Security on both

    Hello

    Run on the supercomputer network configuration wizard.  If this doesn't fix the problem:

    1. download and install the Tools of the Windows 2003 Server Resource Kit .

    2. click on Start > all programs > Windows Resource Kit Tools > Shell .

    3. type these lines at the command prompt, exactly as shown:

    NET user guest/active: Yes
    NTRights + r SeNetworkLogonRight u comments
    NTRights - r SeDenyNetworkLogonRight u comments

    Kind regards
    Chauvet J.
  • How to redirect the desktop folder to drive D?

    Hi all

     
    Can redirect us the desktop folder to some other drive except C:\ Drive.
    My requirement is, guess I'll put any file in Office that he should save automatically to the player that we have redirected to desktop.
    Hereby, we can save the data of the C drive in another player, so in no longer crashes no need to worry for the backup of data from the office.
    With regard to:
    Rahma

    Hello

    • What version of Winodws XP do you use?

    Unfortunately, it is not possible.

    You can use the backup utility to back up files and folders on a computer that is running Windows XP.

    If you use Windows XP Home Edition, you can refer to the following steps:

    Before you can back up important information on your computer, you must install the backup utility. The backup utility is included on the Windows XP Home Edition CD.

    Note If you do not have the original CD of Windows XP Home Edition of Windows XP was preinstalled on your computer, contact the computer manufacturer or visit the Web site of the manufacturer for more information. You can also use the backup software that you purchase separately.

    To install backup from the Windows XP CD:

    1. Insert your Windows XP CD into the CD or DVD from the computer player.
    2. Click exit.
    3. Locate the: \ValueAdd\Msft\Ntbackup folder on the CD.
    4. Double-click ntbackup.msi to install the backup utility.
    5. When the backup or Restore Wizard prompts you, click Finish.
    6. Remove the Windows XP CD.

    Now that you have installed the backup utility, you are ready to back up your important information.

    If you use Windows XP Professional, to back up your files and folders, follow these steps:

    Note To back up files and folders, you must be connected to the computer as an administrator or as a user who belongs to the Administrators group. To verify that you are connected to Windows with a user account is an administrator on the computer, see the Microsoft Web site at the following address:

    http://support.Microsoft.com/GP/Admin (http://support.microsoft.com/gp/admin)

    Note The following steps explain how to use the backup utility to back up your files and folders manually. You can also use the backup and Restore Wizard to back up your files and folders. However, the steps will be slightly different from those that are listed in the next section.

    Step 1: Open the backup utility

    1. Click Startand then click run.
    2. Type ntbackup.exe in the Open box, and then click OK.

      Note If you receive the following error message, make sure that you followed the steps in the "how to install the backup utility" section correctly:

    Windows cannot find 'ntbackup.exe'.
    Step 2: Select the items to back up and select the location for the backup file
    1. Click Advanced Mode.

    Note If the backup and Restore Wizard, the utility runs in Wizard mode. You can click to clear the always start in Wizard mode check box, and then restart the backup utility. If you continue to use the Restore Wizard and backup, the steps will be slightly different from those that are listed in the next section.

  • Click the backup tab.
  • In the menu of task , click new.
  • Select the check boxes next to the drives you want to back up. If you select files or folders, expand the drive where these files or folders. Then, select the check boxes for the files or folders you want to back up.
  • Select the System State check box that is located under my computer in the navigation pane.

    Note If you want to save settings system and data files, back up all data on your computer and the system state data. The system state data includes the registry, COM + class registration database, files that are under the Protection of files Windows, the boot files and other system files.

  • If it is available to the backup destination list, click the backup destination that you want to use.

    Note If you selected file at this point, type the path and the full name for which you want to back up data in the backup media or file name box.

    You can specify a network share as a destination for the backup file. Generally, backup files have the .bkf file name extension. However, you can use any extension of file name you want.

  • Step 3: Start the backup

    1. To open the backup information dialog box, click Start Backup .
    2. Under If the media already contains backups, perform one of the following:
      • If you want to add this backup file to previous backup files, click append this backup to the media. This option adds the new backup in the existing backup file so that you can keep all the previous backups in a single file. This option is useful if you ever want to restore a backup from a specific day. Be aware that the size of the backup file will increase with each new backup. You can monitor the file size to make sure that it does not fill your hard drive over time. If the file becomes too large, you should consider saving the file on an external hard drive. Or, if you are concerned about the file using too much hard disk space, select replace the data on the media with this backup instead.
      • If you want to replace the files of previous backup with this backup file, click replace the data on the media with this backup. This option is useful if you want to keep the current backup and do not care to keep the previous backups. Or, use this option if you are concerned about the file using too much disk space on your computer.
    3. Click Advanced.
    4. Select the check box Verify data after the backup .
    5. In the Backup Type box, click the type of backup that you want to create. For a description of each type of backup, click the backup type and the description appears under "Description." You can select all of the following types of backup:
      • Normal
      • Copy
      • Incremental
      • Premium
      • Every day
    6. Click OK, and then click Start Backup. A backup progress dialog box appears, and the backup starts.

    Step 4: Leave the backup utility

    1. When the backup is complete, click close.
    2. In the menu of task , click exit.

    See also:

    http://support.Microsoft.com/kb/308422

  • Somehow, I deleted my index.dat in the Cookies folder.

    Somehow, I deleted my index.dat in the Cookies folder.  How do I get it back and I really need?

    Hello

    • What was the location of the folder where you deleted it go?
    The index.dat file is a database file. This is a repository of information such as web URLS, search queries, and files recently opened. Its purpose is to allow quick access to the data used by Internet Explorer. For example, all visited web addresses are stored in the index.dat file, which allows to find quickly the AutoComplete match as long as the user types an Internet Explorer web address. The index.dat file is specific to the user and is open as long as a user is connected Windows. Separate index.dat files exist for the history, cache and cookies in Internet Explorer.
    The index.dat file is never resized or deleted. A large index.dat file can affect the performance.
     
    Note: The .dat extension is commonly used for data files (files that are not readable by humans and not to hold a binary based on documents). It is possible to find named "index.dat" files that are not used by Internet Explorer.

Maybe you are looking for