anyone know how to erase the persistent data from the Eclipse tool or from the Blackberry simulator? Resetting the simulator is not erasing the data.
i found these instructions in a book, but i'm thinking that these instructions were for an older version of eclipse.
"From the JDE Plug-in for Eclipse, you erase the simulator’s file system by selecting the
BlackBerry menu, Erase Simulator File ➤ Erase File System (see Figure 6-6)."
thanks for your help.
ac
Do you want to erase your application data or resetting the simulator ?
To erase your application data :
in Eclipse, select Menu -> Blackberry -> erase simulator File -> Erase All
If you want to reset your simulator to it's default state, you must do :
Close Eclipse
goto where your simulator located.
Find clean.bat
Run Clean.bat.
Remember you must close eclipse during this process.
Related
Hopefully a straight forward one here, but my Simulator app (Xcode IOS Simulator) is not being found through Spotlight search on Mac. I recently upgraded to Big Sur and I am currently using 11.1.
Just wondering if anyone is having the same problem. I am able to access Simulator through other methods but it just doesn't seem to be indexed in the Spotlight search.
Cheers
The following worked for me on Big Sur 11.5.2:
Locate and obtain the absolute path to your Xcode.app. For me it was /Applications/Xcode.app/
Since Simulator comes with Xcode, with your terminal, execute ls /Applications/Xcode.app/Contents/Developer/Applications to ensure you see Simulator.app
What we need to do now is to get Spotlight to index the applications directory in Step-2
Open finder via your terminal open /Applications/Xcode.app/Contents/Developer, you should see an "Applications" directory
Open System Preferences >> Spotlight, then select "Privacy Tab"
Following the steps from Apple's Support
Drag the said "Applications" directory into "Privacy Tab" GUI
Remove the said "Applications" directory from the same GUI
Quit System Preference
Give it a moment then re-launch Spotlight and search for "Simulator"... I hope it shows up for you
In addion to Jonalogy's answer, you can import a specific app from command line.
mdimport /Applications/Xcode.app/Contents/Developer/Applications/Simulator.app
Also having this issue. I came up with a half-workaround so that it shows up in launchpad at least.
Open the Simulator using Xcode and then when it shows up in the dock, right-click it, hover over Options, and then click Show in Finder. You'll see the app in a new finder window. Right-click it and select Make Alias. Drag and drop this into your applications folder. Now when you open the launchpad, you can search for it there. (5 finger pinch to launch the launchpad)
I have Xcode 6.2 on Yosemite 10.10.2. I installed Core Data Editor and I need to setup these folders in order to browse trough my databases on my iOS simulator.
So, how can I setup iPhone Simulator Directory and Xcode Derived Data Directory on Core Data Editor?
Ok, I solved my problem.
First, thank you #heximal, you helped me a lot!
I am new on MAC and iOS development, but I somehow managed to solve this puzzle.
STEP 1. - go to this page and show hidden files on OS X.
STEP 2. - navigate to this( ~/Library/Developer/ ) folder in your Finder
STEP 3. - open your Core Data Editor Preferences, and go to Integration tab
STEP 4. - click on Xcode Derived Data Directory drop down list and pick Other
STEP 5. - click and drag your DerivedData folder (located in Xcode folder) to opened window in Core Data Editor and click Open
STEP 6. - apply procedures from steps 4. and 5. on iPhone Simulator Directory (you want CoreSimulator dir)
That is it. Wait for a while for Core Data Editor Project Browser to find your databases and happy coding! :)
If I understood you correct you need xCode menu Preferences then select Locations tab
I have installed Blackberry JDE on Windows XP. And I am trying to run the 'samples.jdw' on simulator on Blackberry JDE. So I do 'Debug->Go' But when I do that
I get this popup windows saying 'Cannot find file' net_rim_bis_client__ru.debug'.
And there is 'Search...', 'Brwose...', 'Cancel', 'Don't ask this again' button.
So how can I get the sample project run on simulator in Blackberry JDE?
Thank you.
If you don't need the debugger, then you can (1) build the project in JDE, (2) start the simulator (Windows "Start" > "Programs" > "Research In Motions" > "BlackBerry JDE x.x.x" > "Device Simulator") and (3) when it is ready just load the built .cod file via simulator menu item "File" > "Load Java Programm.." (at least this is the name of the menu item on my Storm 9530 simulator). This adds the app to the simulator (the app icon appears on the simulator).
It appears that - depending on exactly which file(s) it says are missing - you can safely ignore these messages (click on the 'do not show this message again') button.
I got messages about a whole bunch of missing files, and have ignored them without any apparent problems:
net_rim_bis_client__ru
net_rim_bis_client__ru-1
net_rim_bis_client__cs
net_rim_bis_client__cs-1
net_rim_bis_client__el
net_rim_bis_client__el-1
net_rim_bis_client__pl
net_rim_bis_client__pl-1
net_rim_bis_client__it
net_rim_bis_client__it-1
... and so on. They appear to be related to localisation, so perhaps if I wanted to set the simulator language to Russian I might run into problems.
Anyway, it appears we are not alone in having this problem (see also the response immediately following that post). Maybe one day RIM will actually release some dev tools that work properly, but I'm not holding my breath...
How to Run two instance of BlackBerry simulator in windows eclipse?
The documentation regarding developing with BlackBerry Messenger indicates that you can run two simulators at once, at least with the simulators that come bundled with the BBM SDK.
You cannot. If you try, you will get an error message saying only one simulator can run at a time.
What you need to do is:
Install the blackberry eclipse plugins twice and make two
workspace of each eclipse.
Run the two simulators in each eclipse and error like "could not
open port 19780 and it is use by another program....." will pop
out in one of your simulator.
So made the changes in pin,
data-port values in .bat files, rimpublic.property files inside
MDS and fledge-settings.conf in one of your simulator... but this
changes will not be reflected on your eclipse.
So what you need to do is, when you click the debug configuration from your
eclipse, you will see the simulator option there. So, click the simulator and change the PIN value, whatever you have made the changes in .bat files.. and just after that in the simulator you will again find the option of network, there unselect the disable registration button...once all this changes is made click apply and restart your eclipse... this will surely solved your problem
I am getting error ("JVM Error 545 incompatible or corrupt file system") while building the application in blackberry simulator and I am using the blackberry jde 4.6.
I could not even see the first screen of the simulator.
Can any one tell me what is the reason for this error and how to solve this error.
In Eclipse, Just close the Simulator and press the Clean Simulator option in the Blackberry Menu or there is a button in the toolbar too!!
This thread suggests to reinstall the JDE or the simulator
This one suggests:
in the JDE try "file -> erase file system and erase non volatile storage".
If you are running your application on eclipse, browse to Eclipse_Folder\plugins\net.rim.ejde.componentpack5.0.0_5.0.0.36\components\simulator and delete all .debug files and .dmp files.
Restart your eclipse.
for the message "JVM error 545 invalid or corrupt files" Delete and Reinstall the Simulator, that will be enough.
delete those files
(.cod) which are created by you & clean.bat ( simulator directory )
& then go to file option ( in simulator ) -> restore to Factory default !