Data storage local application?

Hi all.

I want to store the data of the application installed on the PlayBook.

Anyone knows where is this dedicated space and how to access?

The main use is to use a SQLite database (but not only).

(What is possible with the simulator at all?)

[Edit: the message is more specific.

Hello Julien, thanks for the reply.

In fact I tried to use ApplicationStorage already, but I got a 3003 error: exception "file or directory does not exist.

When I run the App in internal Flash Burrito Simulator, there is no error: the db file is correctly detected.

But it seems that File.applicationStorage is not on the PlayBook Simulator.

Is there a simple test to check the correct path to the App store?

[Edit 1]

Some news: I could verify that the ApplicationStorageDirectory is finally ok (correctly created in the card Sim PlayBook.)

The problem actually comes from ApplicationDirectory, where I get the "source" file load in the dbFile.

If the command "File.applicationDirectory.resolvePath("assets/MyFile.ext"); ' return something like:

"/ mlc/sandboxes/guest/PROJECTNAME.debug.XXXXXXXXXX/app/air/assets/MyFile.ext".

(XXXXXXXXXX seems to be the ID of the deployed project series)

And if this file "does not exist" when I access it.

(reminder: it works very well in the internal Flash Simulator)

Is there a simple test to check the correct path of the deployed application. ?

(always to research...)

[Edit 2]

Well, it seems that the solution was related to the embedded file (or not) during deployment.

So I have included the file I need (xml file) in the line of command deployment, and it was found correctly on the PlayBook, using ApplicationDirectory (as described by Julian).

Just for review, I first tried to include the 'active' comprehensive directory, with an error that results from:

java.lang.IndexOutOfBoundsException  at java.io.ByteArrayOutputStream.write(Unknown Source)    at com.qnx.bbt.deploy.Deploy.readPackage(Deploy.java:173) at com.qnx.bbt.deploy.Deploy.verifyPackageId(Deploy.java:138) at com.qnx.bbt.deploy.Deploy.sendRequest(Deploy.java:124) at com.qnx.bbt.deploy.Deploy.run(Deploy.java:100) at com.qnx.bbt.deploy.Deploy.main(Deploy.java:73) at com.qnx.bbt.airpackager.BarAirPackager.callLauncher(BarAirPackager.java:206)   at com.qnx.bbt.airpackager.BarAirPackager.run(BarAirPackager.java:129)    at com.qnx.bbt.airpackager.BarAirPackager.main(BarAirPackager.java:78)Error: null

(It may be related to a specific inside assets... file or directory size... but this isn't a big deal)

Then, finally solved. Would be the last word: do not forget to include the 'active' files you need!

Tags: BlackBerry Developers

Similar Questions

  • Strategy for local data storage

    I'm working on an application that allows you to store a lot of data locally and I was wondering if anyone has any ideas on whether it is better to write in a persistent storage or write it to a local file.

    My application will store events, each event could have anything from 50 to 1000 (or maybe more) elements (as basic data types such as float, long, etc.) that are associated with.

    I was considering the creation of a persistent store of events, each might have a name, timestamp and store some info Basic, then bound, by store ID, persistent separation for each event. Would this be the recommended way to store this information. Or would it be better to have a single persistent store that contains everything? Or maybe that's putting too much data in a persistent store and I have to use a store for the list of events with the individual event data stored in a local file?

    Ultimately, user will have the ability to manage data, removing old events and/or by downloading the event data for the online storage, but before I look at coding this, I expect words of wisdom on what strategy of data storage that you would recommend.

    I agree that Persistent Store would be a good fit at first, especially since you would not serialize the data in and out of storage.

    Your biggest problem is perhaps the object handles, because there are only a limited number of them.

    Sorry I have been hunting round, there was once a document listed the size and memory handles available for each device.  It is a recommended memory PDF, but I don't find it anymore.  Anyone know where it is?

  • In Vista, application data file paths are not displayed properly, example C:\users\skywatcher\appdata\local\application data\application data\application data\application data\application data\

    I have a problem with a directory of the user.

    The path is C:\users\skywatcher\appdata\local\application data.

    Application directory data are hidden.  However, by using the command "dir / ah" will show the directory as a 'carrefour '.

    The problem is that this directory is the directory even inside himself to the seemingly infinite nesting.

    in other words.

    C:\users\skywatcher\appdata\local\application data\application data\application data\application data\application data\ etc. until that the path cannot be displayed below.

    A problem with an app I'm trying to run it.

    Y at - it a cure?

    Thank you

    These nested application data files contain any data?  If so, is it the same as that contained in the original folder?

    I would like to treat this situation as a corrupt user profile.  To fix this use http://windows.microsoft.com/en-AU/windows-vista/Fix-a-corrupted-user-profile.  If that is the only available Administrator Profile (you need to be an administrator to fix this), enable the Hidden Administrator Account (HAA) using http://www.microsoft.com/communities/newsgroups/en-us/default.aspx?&lang=en&cr=US&guid=&sloc=en-us&dg=microsoft.public.windows.vista.administration_accounts_passwords&p=1&tid=d20f9db4-7b2c-48be-a087-7835dc2a9055&mid=d20f9db4-7b2c-48be-a087-7835dc2a9055.  If you don't remember the password, try nothing because that's probably what you (or seller) did during the installation.  Once that is done, don't forget to disable the HAA to save it in case it is necessary once again and for safety reasons (since people often try to hack into systems using this account).  Do NOT use the HAA as your administrator account because if you lose the only administrator on the system account or it is damaged again, then you're watered.

    When he is in the process of copy on the old profile files and folders, I first copy the folder of Application data to another location, just in case the change it causes unexpected problems - just make a copy and put it in your Documents folder for now (you can remove it later if everything works as expected). Remove the nested application data folders (unless they contain information are not not in the main folder - then I would probably copy it in the main folder, and then delete).  This, so that there is only one Application data folder.  Then copy it to the new profile.  You may have problems to access these records.  If Yes, click on properties, advanced security and check if all the user has denied access.  If so delete this entry and you should be able to work with the folder.

    I hope this helps.

    Good luck!

    Lorien - MCSA/MCSE/network + / has + - if this post solves your problem, please click the 'Mark as answer' or 'Useful' button at the top of this message. Marking a post as answer, or relatively useful, you help others find the answer more quickly.

  • I have a Dungeon problem comes up on my screen. Dell Data Safe Local back upward, an Unhandled Exception has occurred, Application will exit.

    I have a Dungeon problem on my desktop screen. "Dell Data Safe Local back upward, an Unhandled Exception has occurred, Application will exit.

    I have a Dungeon problem on my desktop screen. "an Unhandled Exception has occurred, the Application will close.

  • Shortcuts repeated unwanted "Application Data" in the data Username\Appdata\Local\Application

    1. when I click on Appdata\Local I get a list of folders, including Application data

    2. when I click on this folder, I get a single file listed: a shortcut to the Application data.

    3. when I click on this shortcut, I get complete records (data of Application Inc.) list that I saw under Local as in 1)

    4. by clicking on the folder Application Data can give me a little cut again and so on it goes!

    In the top of my Explorer I "Mike/Appdata/Local/Application Data/Application/Application Data / Application Data data/Application Data / etc etc and it just keeps going - how long? I'm not sure.

    How can I fix it, because it just stupid! -I don't know how it got like that, and despite the purchase Win7 Pro (not cheap) and the use of 64 worm I don't get no MS support user for a product that is not perfect... unless I pay more!.

    Hello

    Step 1:

    Check if the same phenomenon occurs in another user account. To create a new user account, follow the link below.

    http://Windows.Microsoft.com/en-us/Windows7/create-a-user-account

    Step 2:

    If the new user account works fine then the old account has been corrupted, you can follow the link given below to fix the corrupted user profile.

    Difficulty of a corrupted user profile

    http://Windows.Microsoft.com/en-us/Windows7/fix-a-corrupted-user-profile

    Hope this information is useful.

    Amrita M

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

  • Need help with the data storage store, local array and network connections

    Need help with my ESXi 4.1 installation

    My hardware:

    I built a server with an Asus P6T whitebox, i7 920, 12 Gig RAM, NIC, Intel Pro1000 PT Quad, 3ware 9650SE-12ML with 8 1.5 TB SATA green in a raid 6 array gives me about 8 + TB with a spare drive all housed within a NORCO RPC-4220 4U Rackmount Server chassis.  I also have a 500 GB SATA drive which will hold the ESXi and virtual machines.

    The network includes a firewall, Netgear Prosafe FVS336G, GS724Tv of Netgear ProSafe 24 port Gigabit Managed Switch on a dhcp cable modem internet service provider.

    I also have 2 old NetGear SC101T NAS disks (4to) I want to connect to the system how some - at a later date have... data on them and want to transfer to the new storage array. I always looking into the question of whether they will work with ESXi 4.1, or I might have to only access it through Windows XP.

    My Situation:

    I have already installed ESXi 4.1 and vsphere client with no problems and it is connected to a dhcp cable internet service.  I've set up host via a dynamic DNS service name give me a static hostname on the internet.  I installed three machines to virtual OS successfully at the moment and now want to first start by creating a multimedia storage server which will use some of this new 8 TB array, then separate data storage for use with a web server small overhead storage and a backup.  It is a domestic installation.

    Help with the data store and network:

    I was doing some reading, because I'm new to this, and it looks like I'll probably want to set up my table via ESXi as a nfs disk format.  Now, the data store is usually in another physical box from what I understand, but I put my readers and ESXi all in the same box.  I'm not sure that the best way to put in place with grouped network cards, but I want to make this work.

    I understand that in ESXi 4.1 using iSCSi LUN must be less than 2 TB, but nfs - I should be able to add a bigger partition then 2 TB (for my multimedia) in nfs, right? or should I still add it separately as a separate 2 TB drives and then extend them to get the biggest space.

    Any suggestions or direct resources showing examples on how to actually add some parts of the table as data warehouses separate nfs.  I know that to go to the configuration tab, and then select Add to storage, and then select nfs. I have not my picture, but it's here that I don't know what to do because ESXi 4.1 system already has an address, should I put the same thing to the new data store array also (will it work?), and what should I use for the name of the folder and the store of data... just do something to the top.  I thought to later install Openfiler (for a multimedia storage using this table server) as a virtual machine, use the table with esxi so that I can access the same storage space with widows and linux-based systems.

    I also know I have to find a way to better use my quad nic card... put in place of virtual switches, grouping, etc HELP?

    Any direction, assistance, similar facilities to sample, suggestions or resources that would help would be great. I did a lot of hunting, but still a little confused on how to best to put in place.

    You must think of VMDK files of large databases with records of random size guest go read some data (a DLL or an INI file), maybe write some data back, then go read other data. Some files are tiny, but certain DLLs are several megabytes. It's random i/o all and heavy on the search time. IO Opsys is small random operations that are often sequential (go read data, write data, go read other data,...) so that deadlines are critical to the overall performance. That's why people say OPS are / s of reference and forget the MBs flow. The only time where you bulk transfers are when you read media (ISO files).

    Well, now forget all this. Actually the disk activity will depend on the specific applications (database? mail server? machines compiler?), but the above is true for boots, and whenever applications are idle. You should see the profile to know.

    RAID 10 is faster (and often more reliable) than RAID 5 or RAID-6 except in certain specific cases. In General RAID 10 is ideal for many random writes, since the calculation of parity for RAID-5 and - 6 adds to the overall latency between command and response - latency is cumulative if a little slow here and a little slow it adds up to a lot of overall slow synchronous especially with e/s on a network. OTOH RAID-5 and -6 can produce faster readings due to the number of heads, so you can use it for virtual machines that transfer bulk. Test. You may find that you need several different types subdashboards for best results.

    You said 3ware, they have some good grades on their site, but don't believe it. With my 9650 that I found myself with only a couple of their recommendations-, I put the (simple) table for allocation size 256 k, nr_requests at 2 x the queue_depth and use the planner date limit. I had the habit for the Ext4 file system formatted with stride and stripe-width synced to the table and used the options large_files with fewer inodes (do not use the huge_files option unless you plan to have single VMDK files in the terabyte range). Use a cache of great reading in advance.

    Virtual machines use VMDK files in all cases except raw iSCSI LUN that they treat native disks. VMDK is easier to manage - you can make a backup by copying the file, you can move it to a PC and load it into another flavour of VMware, etc. There could be some features iSCSI to your San as a transparent migration but nothing for me. NFS has less chatter of Protocol if latency lower times to complete an operation. NFS is good to read and write a block of data, that's all it boils down to.

    UPS is good, but it won't help if something inside the machine explodes (UPS does nothing if the PC power supply goes down). If the RAID card has an option for a battery backup module, so it can contain some writings in memory and may end up the disk i/o after replacing the power supply. 3ware also limits the types of caching available if help is not installed, and you get just the right numbers with the module.

  • Rejected... We found that your application does not follow guidelines iOS of data storage,

    Where and how can I fix it?

    We found that your application does not follow the guidelines data storage iOS , which is required by the App Store Review Guidelines .


    In particular, we found that of the launch or download content, your application stores 3.54 MB. To check the amount of data is to store your application:


    -Install and run your application

    -Go to settings > iCloud > storage and backup > storage management

    -If necessary, press "view all applications.

    -Control the storage of your application


    The iOS data storage guidelines that only content that the user creates using your application, for example, documents, new files, changes, etc., must be backed up by iCloud.


    Temporary files used by your application must only be stored in the directory/tmp. don't forget to delete the files stored in this location when the user quits the application.

    Data that can be re-created, but must persist for proper functioning of your app - or because customers expect it to be available for offline use - must be marked with the "do not back upward" attribute. For NSURL objects, add the NSURLIsExcludedFromBackupKey attribute to prevent the backup of the file. For CFURLRef objects, use the kCFURLIsExcludedFromBackupKey attribute.

    You submit an application kiosk, right? This error is still under investigation, but the current solution is to create SD (1024 x 768/768 x 1024) coverage of the images for your renderings folio HD (2048 x 1536) and try again.

    More info here:

    http://forums.Adobe.com/message/4730637#4730637

  • How can I keep 'Other' small data storage?

    I have a 6-16GB iPhone running on iOS 9.3.2.  A few months ago I started to run out of storage space, and I found it was used mainly by 'other' data upward.  I tried many, MANY tips given here and on other sites, in order to reduce others' my data, to the point of finally breaking and restore my iPhone to factory settings, then individually re-download my mail, applications, photos, etc. Mac support.  Initially, this great worked, now here we are a few months later, and my 'other' is back up to 7GB. I am so frustrated, that I do not understand why my 'other' data are so large. I thought by loading everything individually instead of simply to restore a backup, I would have managed to get rid of the corrupt files, etc. It is not possible to have to restore my phone settings whenever this happens, I need a more permanent solution to keep this 'other' data in check.  Any suggestions?

    You are right. Restaurant as new every time is not the way to handle this. I suspect that one of your applications creates the issue but identifying that one would be difficult, likely error. 7 GB of others is much too large, I tend to run about 1 or 2 GB maximum. These articles can help, but like I said, I think the problem is with a single application.

    http://osxdaily.com/2013/07/24/remove-other-data-storage-iPhone-iPad/

    http://www.IMore.com/how-find-and-remove-other-files-iPhone-and-iPad

  • data storage

    Hello

    I have a few questions about how to manage and store data.

    I am witing a calibration software where I need to display the chart with the probes.

    then table of current vs probe 10 times Ref then calculations such as average, sigma, then conversion and data storage.

    Using data from the previous program files, I have identified a type of format.

    I reproduced it as a cluster with cluster as table follows this im using as a temporary variable when acquiring and pending approval of the user.

    After that I'll have to move from cluster to a vi convert txt to be operated by another application.

    My question is:

    is it a good way cluster using rather vs. string table

    one is typed so much more easy don't make mistake affecting each measure and the data calculated in the right place

    but less if the cluster size has to change

    with an array of strings, change can be easier but it is easy to make the mistake of index and by placing it in the wrong cell

    What would you use?

    Best regards

    Tinnitus

    Attached cluster VI

    While I agree with Mark that by using the software OpenG is write a much easier configuration file (in fact you can use the variant to the ini cluster just write the table once), it seems you are actually asking how to store data, no?  In this case, the format of configuration file would seem inappropriate if you plot the data that you need another script to extract data from this format.  If you try to write data that the customer can extract, then the way you suggest (without having seen) is not unreasonable.  Have that said, you considered PDM.  There are plugins for playback of this format for several packages of data analysis (Igor, Matlab, Excel, etc.) and writing to the file in this format is child's play.  There were converters even in ascii as others have developed on this site (I have not really tested it).  Anyway, just a thought.

    Cheers, Matt

  • path of the file to open data storage

    Hi all!

    Now I am using open data storage blocks, write data and data storage to store and retrieve data from result nearby. For the issue of file path, before I

    Set the path of data by double clicking on the block 'open data storage' and inserting the location of the file in the indicated place, and it worked!

    Now since I made a stand-alone application of this program and use it on other computers, the location of the file that I inserted in the block of open data storage is not

    no more valid in the other PC. So I modified my source code by connecting a 'journey of the current vi' to the node of the file path of the open instead of data storage block

    insert inside the block and this does not work! During the race he displays an error in the data writing block saying that the refnum of storage is not valid!

    I wonder why I couldn't specify the path of the file like this. Kind to allow me to specify the path of the file in the path of the vi?

    Thank you!

    Chao

    You need to account for that path changes when integre integrated application, take a look at this example.

    https://decibel.NI.com/content/docs/doc-4212

  • Data shared between applications

    Hi all!

    I am writing a small application, and I wanted to separate the user interface in two applications to reduce by clicking. But they have a lot of data in common, so I thought that maybe I should have a third application that manages just the push / pull aspect? I'm doing exactly how (if we can) share data between two applications?

    An XML document or something like that would be perfect. Maybe a few pictures, if I'm really lucky.

    I would also say RuntimeStore if data should not be persistent and the images become large, then don't look to put it on the SD card.  You can also consider RMS store, but for a native Blackberry application, the other options are probably better.

    You can store an XML document in all these places, but this means that you will allow the analysis whenever you need to get some data from it and/or update some information there.  PersistentStore and RuntimeStore are object storage, you can store the object analyzed, what could be more effective.

    Suggestions apply to date only if the data is dynamic, if the data is static (for example, the code and still images), then you can create a shared library that is used by both applications.

    I think that all of these options are discussed to some extent in the developer's Guide, I would say you have one skimmed through here.

  • Only the script of data storages details

    Hi all

    Need help here please, I want a script that generates the full report of data storage only in the vCenter and send it in html format.

    Any help would be appreciated.

    Thank you
    Nick

    To exclude local data warehouses, you change this line

    $Datastores = Get-Datastore
    

    in this

    $Datastores = Get-Datastore | where {$_.Extensiondata.Summary.MultipleHostAccess}
    
  • How to get the ip address of the data storage device

    Hi all

    I developed a project now and you need to distinguish a virtual machine is saved to the device local ESX or remote network storage device.

    I found the data store object in which the virtual machine resides by vi sdk, but could not find the address of the device that includes this data store.

    How to get the ip address of the coding data storage device, which includes the virtual machine? I need your help.

    Thank you in advance.

    How do you try to make a query. Storage devices provides a logic unit number no, there is no IP address for it.

    You can check the same for the storage on vCenter view

  • How many gigabytes of data storage has the new Apple Watch series 2 and how many GB are free for music?

    How many gigabytes of data storage has the new Apple Watch series 2 and how many GB are free for music?

    Hello

    Apple has not yet announced the capacity of storage or the music of Apple Watch series 2 storage limit.

  • I want to buy a flash with lightning connector data storage.

    I want to buy a flash with lightning connector data storage.

    I'm between Transcend JetDrive™ Go 500 and iXpand SanDisk Flash Drive.

    What do you suggest me? Do you have another?

    My first priority is speed and iOS app use of data transfer.

    Hello

    To get the advice of a large sample of existing users of each product, you could more usefully read ratings on Amazon.com and reviews of products.

    If your questions are not answered there, you can also post a question of your choice.

Maybe you are looking for

  • Recovery installation fails

    Hello I have Toshiba Satellite laptop computer Windows Vista, he was suspended so I tried to recoverr to factory settings, after taking my backup. The first disc, I get the meesage "cannot read the source file or disk.Boot.wimtype WIM file I have the

  • HP Photosmart Premium C410b: could not save the scanned images

    I use the HP Scan application and the error message: -. Could not save the scanned images appears when you try to save in a folder as a PDF or any other format. Ironically, if I'm going by sending to the printer and then save to PDF it works! I check

  • HP C309a will not run the align operation

    When I use the HP printer utility to align the cartridges once a new cartridge of the printer installation does not meet the statement of alignment... i. e olein arrives

  • Of the Side-Scrolling Action-Arcade game has encountered a problem

    I use Windows XP Professional Edition Service Pack 2 and that I was using this game for many years and recently I formatted my PC and now the game I am playing does not. I have uninstalled and reinstalled the game and tried everything what mentioned

  • resolution problem with my monitor every time I turn on

    I have a monitor to display wide w1907 h p on nvidia gforce7050/nvidia nforce 6101.2 weeks I had restore the desktop pc top of page back to default settings since then every time I turn on the screen starts to the resolution of the game and then afte