Storage in a simulator tests

Might be stupid question of the day, but I'm assuming that the only way to remove the persistent storage in a simulator to stop the Simulator run clean on the Simulator and start the Simulator save?

Or y at - it a trick to test a persistent storage that does not require a restart of a simulator cycle?

I want to:

  1. Run my application.
  2. Check a persistent storage.
  3. If it is not, disable persistent storage.
  4. Run my App again.

Thank you

Because you want to erase the persistent storage, you want to delete the .dmp (i.e. delete files from the file system).  Then check this option and click OK.

Tags: BlackBerry Developers

Similar Questions

  • Of the alternatives to the Simulator: test applications on the phone

    I'm an amateur who has developed applications of office before. I want to develop applications for my phone BB10. My Dell Dimension E521 (old), however, does not support virtualization and the BB Simulator is ultra slow. I can't use it to test my code. So, my questions are: (1) is there another way I can try my code, in addition to performing on my phone? and (2) if the answer is no, I risk screwing up my phone by using it to test my code, if it turns out that buggy or full of errors (I'm a newbie, after all :-)

    There is no options beyond what you have listed here.  The risks of tests on your actual device are quite low.  The applications are sandboxed, they cannot really affect other applications.  But you might cause problems if your code does something bad, delete pictures from the camera Director or delete all your contacts.

  • Http request message with BB10 Simulator test

    Hi all

    I implement request to send http request and receive the response from the server.

    Earlier for testing with simulators, we used MDS for the connection to the server.

    How to test this application using Simulator BB10 Alpha? Kindly let me know.

    Thank you and best regards,

    Shubhangi

    Hello

    I use more kink for reference: it is very useful.

    https://developer.BlackBerry.com/Cascades/documentation/device_comm/networking/tutorial_http_comm.ht...

    Also in my code, it was typo. Now the http request has been published to server correctly.

    Thank you and best regards,

    Shubhangi

  • Location using the simulator tests

    I use Eclipse to develop and test a "Hello World" application I've included resources files for English and the French understand and test the localization of the application plan. I am however stuck, test the application with the french properties.

    I tried to configure a new profile in the simulator by providing "/ local en =" as a parameter of the command line in the hope that the Blackberry Simulator will use French as the default language and so the French beam will be used for rendering the user interface. There is a generation of application step I'm missing to get the location missing?

    Any help to test the localization will be much appreciated. Thank you.

    It is a fairly old article, but as far as I know, it is still correct:
    http://www.BlackBerry.com/knowledgecenterpublic/livelink.exe/fetch/2000/348583/800792/801083/How_To _...

  • How do you remove Simulator Test applications?

    I use the BB plugin for Eclipse and have created a few test applications. My 'Office' Simulator now has icons for them and I would like to delete all but one or two. How do I do that? Whenever I have raise the emulator, they are there.

    Thank you.

    Go to the folder of Simulator and

    Delete all *.dmp file

    Delete all the files (* .cod, * .debug, * .jar, *.cso, *.csl) related to the applications that you want to remove.

  • Lack of Options > Advanced Options > Applications entry for the application of Simulator test

    I'm new to BlackBerry dev and I'm still doing my set up and tested development env.

    EPS consists of XP, Eclipse SDK 3.4.1 BlackBerry JDE plugin for Eclipse 1.0.0.67, BlackBerry component Pack 4.3.0.16 version 4.3.0 and the BlackBerry 8120 Simulator.

    I created a test application simple and loaded on the Simulator for testing through the cmd Eclipse Run > run as > Blackberry Simulator.  As expected, the application icon was displayed on the screen of the Applications (in the Simulator), and, when selected, the application has successfully launched and behaved normally.  So far so good.

    However, when I checked the Options > Advanced Options > Applications on the Simulator, I found that my request was not among others installed apps.  (I tried on two other simulators with the same results.)  I thought about reading the other posts on this forum that I would wait to see this information.   When I install on a simulator I would indeed expect display name information and the app version contained in Options > Advanced Options > Applications list?  If Yes, what should I do to make the information appear?

    Thank you.

    If you install your app in the Simulator simply by copying the COD file in directory of the Simulator (what is JDE when you run Debug), then you should not wait for the application to create. The modules in the files of the cod will be stil it well and that's all that generally the County. You can see the list of modules under Options-> Advanced Options-> Applications-> (Menu)-> Modules. Applications that are included in the Options-> advanced-> Applications are just constructions of metadata on top of modules to simplify various tasks, like setting permissions, adding and removing applications rather than tracking dependencies and individual modules.

    PS, You can programmatically create the entries in the application using the CodeModuleGroupManager and CodeModuleGroup if you really must have your request under Applications. Do not however forget that classic pose methods (Desktop Manager, Web OTA Download, BES OTA Push) all create them the entries in the appropriate application. So, you don't usually have to worry about this problem in the production environment.

  • Entry at the invalid iOS Simulator test

    Did not work with the Simulator in the past so to put it simply, I created an empty pro CC flash application that do nothing or have any donkey.  I have MAC OS El Capitan with Xcode 7.0.1.  I have a simulator iPhone 6s running more.  I have all the dev CERT and dist and all work very well for the publication on a real device, but I want to test in the Simulator.  If I do a control - test animation - iOS Simulator, I get an invalid entry dialog box.  This is not very useful.  I wonder how to get the path to the IOS SDK Simulator?  This is not something can be explored in the finder, so I tried a bunch of stuff and I think that is what the invalid entry.  Anyone can help to clarify this point?  In addition, what else causes this error or thoughts on how to set up?

    Mac OS El Capitan

    Xcode 7.0.1

    Flash Pro CC 2015

    AIR 19 (19.0.0.213)

    So I was able to go beyond that to guess the path that would work and trying several iOS simulator SDK paths.

  • Test lab: HP DL 580 G5 128 MB RAM (storage DAS)

    Can someone help us here with suggestions on the best way, we set up our storage on our new test laboratory?

    We have the following piece of hardware...

    HP DL 380 G5

    8 x 30 GB SAS 10 k disks

    128 MB OF RAM

    4 x Quad Core 2.93 mhz

    Controller Smart P400

    We think of a disk configuration of...

    RAID 1 + 0 for o/s and some of the CPS VM

    RAID 5 for the remaining drive to welcome all other machines virtual (Mostly w2k3)

    I know that a higher technical controller would be nice, but we have not available.

    I thought of RAID 6 for the virtual machine, but I am worried about the perfomance.

    Its a test lab that will be used for functional testing and will not see a huge amount of charge.

    Everyone has views on how we can configure the DAS.

    If you consider any useful comment please assign points :)
    ---

    VMware vExpert 2009

    http://blog.vadmin.ru

  • Integration of BBM: unable to complete the installation (in the Simulator)

    Hi, I have a problem, I wanted to integrate BBM to my Apps, but I actually just Simulator test.

    When I run and I add my blackberry ID I always get to this page:

    Isn't this possible? I have the newest emulator (10_0_09-2318) and the vmware player 4.0.4 build-744019

    but now, I found the solution:

    https://developer.BlackBerry.com/Cascades/documentation/device_platform/BBM/bbmsp_testing_bbm_app_de...

  • multithreaded Simulator

    Hi all.

    Not sure if this is the right place for this kind of question. If it is not, please direct me in the right way.

    In any case, I make an application test that will never run real device. This application don't calculation heavy and lasts approximately 2 hours to complete. While running, I noticed that the ony Simulator uses a core of my PC CPU.

    Nobody knows any switch I could activate/use to Simulator use more of my resources (mostly CPU power) system.

    Thank you.

    You expect the BONE to take care of a lot of this, but I guess that I suggest to get the Simulator and indeed

    I using conditional compilation for foreplay and testing of constraint on j2se. It is not difficult to crush the rim classes

    and hit your code hard: it's important in a multi-threaded environment to check different sync etc. problems and

    It is important to be able to test a large number of iterations quickly. If you encounter a bug later, with resistance in the simulator tests,

    It should be much easier to isolate since you have an idea of what works or have a j2se available for the control template.

    Calculation suggests that you have something heavy, you can test on j2se.

  • How to implement the reading of data from a matte file on a cRIO?

    Hi all!

    I'm still not sure, it is plausible, but I'll ask rather before you begin complicating. So far, I found no useful information on reading in the data to a device of RT from a file (type of a simulation test - data is simulated).

    I have the MatLab plugin that allows the storage of data read a MAT file, which has a number of columns that represent the different signals and lines representing the samples at a time (depending on the time of the sample - sample every time has its own line of signal data).

    I have no idea how to implement this at cRIO.

    The idea is:

    I have some algorithms running on the controller of RIO in a timed loop. As the entries of these algorithms I need to access each of the values of columns in the row, which is the time of the sample (sort of a time series - without written actual times).

    I am fairly new to RT and LV development, so any help would be appreciated.

    Thank you

    Luka

    Dear Luka!

    I think the reading of all the samples in a single channel is exactly what you need here, because reading the files may take some time and is not deterministic, so it is best to read all the data in memory (or if this is not feasible due to problems of size, fairly large pieces may be sufficient). The table read can be provided and then in the loop simulating outings, something like this:

    I used here separate channels so it's more graphic, but you can build all the channels in a 2D array and array index corresponding to the samples fom 1 who. You can also use for loops with indexing as tunnels are setup and then you won't need the index functions and the number of iterations is also set automatically, but you have to take care of synchronization settings.

    Best regards:

    Andrew Valko

    National Instruments

  • Impossible to debug UIWebview with Safari 9.1

    Recently updated to El Capitan 10.11.4, it comes with Safari 9.1. Now, I'm unable to debug UIWebview on iOS Simulator (tested on 9.2 iOS and iOS 8.4. both don't work). In the setting of safari Simulator are as follows. Inspector Web is running, JavaScript is activated. Website fraud warning is DISABLED. In Safari for Mac menu develop appear, the entrance of Simulator appear when the Simulator was launched but only show JSContext. The UIWebview embedded in our application does not appear in the submenu of the Simulator. All the web pages in safari iOS does not appear as well. Is there a setting that I missed? It worked before the upgrade to 10.11.4

    Hello ahuang105,

    If you are a developer, you cannot act as a user.

    This means that you need to test the Apple software throughout each cycle of beta. You need to do this test on a complete ecosystem "burner" - iOS devices, Mac, Apple ID dedicated to the beta test. Along the way, so something that you develop breaks in all of this, you will be able to report a bug to Apple and to develop an alternative solution in case Apple releases with the bug.

    In the same time, another complete ecosystem production - Apple ID, Mac and iOS devices all dedicated development of production - needs to stay on the most recent version has no crippling bugs. For El Capitan, your guess is as good as mine what build that can be. 10.11.3 I guess.

    For now, I suggest to ask in the developer forums if this bug in particular is fixed in 10.11.5. I have seen engineers Apple recommends this build for Simulator in 10.11.4 problems.

  • Define a VI to run when starting on the myRIO when programmed in scan mode

    Salvation of the forums,

    Hoping you can help me with this please. Of course there must be a simple way for me to do, but can't seem to find anything through research on the main site of NOR...

    I work with the platform myRIO and simply want a VI to run as soon as the myRIO is powered (no instruction of the user interface). I found the instructions on How to do it if the myRIO has been programmed using the FPGA and the host RT configuration but unfortunately the right click options are not available because my project/myRIO are set up using the analytical engine style mode (giving access to the range of myRIO etc.).

    Ideally I'd rather avoid having to recode the system using a low level of coding, including FPGA due the heavy compilation for each iteration of the code using real data (with simulated test on PC e/s would be faster, I know, but it is unlikely to show me bugs in my code for what I need).

    So in simple, could someone please point me in the right direction for setting a VI to run at start up/boot for the myRIO when it is configured and programmed using the scan engine?

    Thank you very much!

    It turns out, after all this (several hours trying to find missing options and research methods of how do!) this is because the Application Builder had been installed and as such has been activated, but NI License Manager was always waiting to finalize activation (activation running Assistant required).

    Seems to work now but at least! No doubt lost a lot of time with her, but it's a learning curve!

    So for someone who is struggling to find options to create a .rtexe file, make sure that your Builder Application is enabled!

  • eSata problem

    Hello

    I have a problem with eSata on my model of Lenovo IdeaPad G560 0679 running Windows 7 Home Premium 64 DK (in Danish). When the connection and the transfer of data through a drive external hard of the eSata (eSata/usb2 Samsung Story Station Plus HX-DE015EB), my computer hangs after 5-10 seconds in the transfer. And yet, nothing happens. Just transfer stops and the computer stalls.
    This only happens when I use the eSata external hard disk option. When you use USB2 transfer is correct to about 25 MB/s.

    Now, one would think that something is wrong with the connection of the eSata hardware on the motherboard or the connector eSata himself.

    To test this theory, I installed Windows XP on the computer, and eSata turns out perfect work with around 70 Mbps. throuput. USB2 was around the usual 25 MB/s.
    I also tried Ubuntu OS, and eSata is as fast as on Windows XP.

    So I think it's a software/driver problem with Windows 7.

    Someone at - he heard of similar problems and how to solve this problem? I talked to Lenovo telephone assistance, but so far not found any solution.

    PS:
    I do not boot from the external drive. It is only for storage.
    The external drive is 6 months and worked perfectly until I tried with Windows 7.
    I tried to format the drive with NTFS and FAT32. Also with Samsungs own formatting tool. No difference.
    And there is no difference if I exhaust all 3 USB connections on the computer or use only one for eSata.
    I have the latest version of the BIOS (29CN31WW v2.08), the chipset (9.1.1.1020) driver, the driver Intel Matrix Storage Manager (9.6.0.1014), the driver of the Intel Management Engine Interface (6.0.0.1179). Everything for the 64-bit operating system.
    All the updates of Windows 7.
    I have disabled the Windows Firewall.

    Information about the hardware:
    Lenovo G560 - 0679
    Intel Core i5-430 2.26 GHz Arrandale socket LGA 1156
    4 GB of ram (SD of DDR3 PC3-8500 1066 MHz SODIMM 204-PIN)
    500 GB hard drive SATA-300 5400 RPM (WDC WD5000BEVT-24A0RT0)
    15.6 "widescreen TFT 1366 x 768 HD LED
    GeForece 310M 512 MB
    HDMI
    eSata
    3 x USB2
    Card ExpressCard 34mm
    Broadcom BCM 2070 BT 2.1 + EDR Bluetooth
    WLAN IEEE 802.11 g
    DVD - RW Optiarc AD - 7585H
    Battery: 6-cell 48 Wh, 4400 mAh, 11.1 V
    Windows 7 Home Premium 64 bit DK
    April 22, 2010 in China

    Best regards
    Steen F.
    Denmark

    You can try to uninstall the Intel Matrix Storage Manager driver for testing purposes.

  • Pavilion dv6-3140EE XS066EA

    My hard drive fail, so I replaced it with 3 solid-state sata drive, but I I'm sure I'm geeting only sata 2 speed of rapid storage technology intel and testing of benchnmark.

    My question is: do my board support sata 3, (I was told that it supported SATA 3) and in case he do, what I need to change the cable between the Board and the ssd SATA, so I can have the SATA 3 speed? or should I do something else? Thanks to advance.pavilion XS066EA dv6-3140EE

    Hello:

    Your laptop has a Mobile Intel 5 series chipset.

    This chipset is capable of a speed of SATA II transfer.

    SATA III speeds were introduced, starting with the Mobile Intel 6 series chipset.

Maybe you are looking for