Debugging blackberry application in eclipse "source not found" problem - blackberry

I am debugging an application in Eclipse. It works fine but at some methods, for example enterEventDispatcher(), it shows me source not found. Which source files should be attached to avoid this problem? I am not getting it clearly.

It sounds like you are trying to debug into the RIM BB OS code. As far as I am aware, RIM does not provide the source code for their API, so there is no source to attach.

Related

OpenCV 3.1.0 - LNK1104 with opencv_world310d.lib (Visual Studio Express 2013)

iam actually trying to get opencv running on my Computer. I allready configured the environment variables on Windows and added the Path for the includes and the libraries in a propertiesheet.
Now when i want to add additional dependencies i watched into my directory (opencv\build\x64\vs12\lib)and there are only two files. opencv_world310.lib and opencv_world310d.lib. So they are on my HDD.
I think these are the files i have to add?
I did this and then i got the error LNK1104 could not open "opencv_world310d.lib. Same with opencv_world310.lib.
Iam trying to build a example-code from opencv so there should be everything fine with it. I saw some Tutorials they did not have any issue. But they used OpenCv3.0
Is there any workaround?
kind regards
Yes. By default, opencv_world310.lib is the only file you should link with.
Or if you're building with Debug configuration, you should use opencv_world310d.lib instead.
Since the error code is LNK1104, I believe your additional library path is something wrong.
And then please check you are building x64 code not win32 code.

How to install .CSI file for Code Signing and load app to BlackBerry?

I've developed a PhoneGap application that I intend to deploy to my BlackBerry Bold 9700. My development tools includes NotePad++, Apache Ant, Sun JDK and BlackBerry WebWorks SDK as dictated on this page here http://www.phonegap.com/start#blackberry.
I applied for Signing Keys from the Blackberry website and received a .CSI file via email. The email offers instructions for various ways of processing the .CSI file, but none of the ways explain how to do it with the current tools I have installed.
Is there an easy way to proceed with my .CSI file without installing Eclipse, Visual Studio or any other IDE? If so, can someone dictate step by step what to do?
I hope you got the solution for that. I was having the same issues. I hope my solution will work for anyone.
After getting the *.csi files from blackberry, you need to install them on your computer.
For those of you who are using Ant to build applications which described here http://www.phonegap.com/start#blackberry.
this will work you.
For installing the *.csi files in your computer you need SignatureTool.jar . This is located in your c:\BBWP\bin directory.
Next copy all the *.csi files to the above directory and run this command from the terminal in sequence.
c:\BBWP\bin>SignatureTool.jar client-RBB-2053305203.csi
c:\BBWP\bin>SignatureTool.jar client-RCR-2053305203.csi
c:\BBWP\bin>SignatureTool.jar client-RRT-2053305203.csi
If you don't have a private key installed you need to create one. And use the pin number which you used during the registration process. The installation is easy you will not have any problems with it.
Hope it helps anyone
Thank you
Try BlackBerry Ant tools. It uses ant so you need it, but this is fairly lightweight.
Look at "Signing your smartphone application" to get you started

BlackBerry java UI development

Is there a tool for BlackBerry java application UI development. I do not find drag and drop options in xml file in eclipse like in Android SDK. Is there something like Droid Draw here too? I am new to BB Java dev, any pointers are appreciated.
Unfortunately no... There is no designer tool for blackberry ui, it must all be done in code. I heard that RIM plans on coming out with something of the kind but there is no such tool available at the moment.
There are tutorials on how to create many of the common UI, if you are searching for something specific I'm sure you can find some sample code to get you started.

Blackberry - System.out.println() using eclipse plugin

I am just entered into the Blackberry Arena..
I am using Eclipse Plugin for running my testing application to simulator.
So, In my code somewhere I have add System.out.println("Print"); statements, but by debugging or running app to simulator, I couldn't find any log statements printed to eclipse console.
Is there anything that I need to take care for using println() methods ?
First it is not enough to "Run" your app, you have to "Debug" to see the output. Second you need to make sure your eclipse console is set to "BlackBerry Simulator Output Console".
Once you've done that you should be able to see a whole lot of log statements, most of them from BlackBerry but yours should be in there too.
Run it in debug mode in the BlackBerry simulator. It'll be there, unfortunately there will also be a ton of BlackBerry print statements mixed in.

Delphi 2009 gives access violation error when integrated debugging is enabled

I'm pretty much at my wits end at the moment.
I am using Delphi 2009 (Update 3) on Vista (service pack 2) and without fail, if integrated debugging is enabled and I try to run a project, it will give an access violation and the project will crash out.
This happens even if I haven't even added any code to the default project template.
The only way I get around this is by disabling the integrated debugger, (then I may as well just be using a text editor and a command line compiler...)
Does anyone have any advice for this? I've been googling without much success.
Thanks in advance.
I have used this combination without any problem.
Have you tried at at a clean machine (just installing delphi and try a "hello world" application?
Go to Project > Options, Compiler tab. Uncheck Optimization, check stack frames. This seems to be the usual advice in the faqs on Delphi debugging. It may only apply to the earlier versions of Delphi but is worth trying.

Resources