How do I debug my application using BlackBerry device instead of Simulator

Hi all

Currently, developing an application and tests normally this application using Simulator by right-clicking the application and select Debug as blackberry Simulator, now I want to test the app using device, I plugged the unit using the USB port to my windows pc and when I click with the right button on the application and select Debug as blackberry device it does not work? How can I test my application using device someone give me idea

  1. Connect the BlackBerry device to your computer via a USB cable.
  2. Open the BlackBerry Device Manager.
  3. Install the application on the BlackBerry smartphone.
  4. In Eclipse, the menu run, click Debug Configurations.
  5. Right click on the BlackBerry smartphone, and then click New.
  6. In the name field, type a name.
  7. Click the BlackBerry device.
  8. In the BlackBerry device configuration section, do one of the following actions:
    • Select attach to everything connected to any device BlackBerry is connected.
    • Select attach to the specific device. Select a device of BlackBerry to attach it to the BlackBerry device drop-down list.
  9. Click on debug.

Tags: BlackBerry Developers

Similar Questions

  • How to upgrade your java application using Blackberry desktop Manager?

    Hi all

    How can I update an application using Blackberry Desktop Manager. ?

    because I'm not able to do this by using "Application loader" > editing Application in the Desktop Manager.

    If please suggest me some reference or guide in this regard.

    Thanks & best regards,

    Narendra.

    Did you change the version number? DM will not recognize the program as an update version number increments unless.

  • How do I test an application on multiple devices?

    How do I test an application on multiple devices?

    Any information on this?

    Once I created the .ipa file I have to do?

    Creating the API you could use a configuration profile. If it's a development of a distribution one ad hoc, you choose what devices the IPA is allowed to work on.

    So, to make an ad hoc distribution profile that includes all devices on your iPhone Developer account and make the API using this profile. Now, when you did the IPA, you can give it to the people who own these devices.

    If they are all your own devices (or the people that you see every day) you could connect each of them to your Mac and use Xcode window Organizer or peripheral (according to the version of Xcode you are using), and then drag the IPA in the list of Applications for the device.

    If the devices are owned by other people that you do not get to see, you can either send the IPA to them and that they would use iTunes to get it on their device, or if you can put the IPA online you can send a link to them, and they can install the IPA directly from the web page.

    The web server will need to be HTTPS, you cannot use HTTP services from iOS 7.1 is released. To post the IPA online, you can use this utility:

    Mac App Store - BetaBuilder for iOS Apps

  • How can I develop an application using Bluetooth SD Card 2?

    Is it possible to develop an application using any kind of Bluetooth SDK available for WinCE?
    I need some information on developing applications on the PDA Bluetooth.
    Thank you.

    Hi Apollo

    I put t know what information you need exactly, but you'll be very happy if someone on this forum can help you. For most of the topics are discussions on laptops to upgrade and all the issues of the day, but application development...

  • I could develop Java Application for Blackberry device software version 5.0 to 6.0 JDE

    Hi, expert,

    I saw this line of the ' BlackBerry Java Development Environment - 4.7.0 - fundamentals Guide'.

    It is said:

    ===============================

    With each major version of the BlackBerry Device Software and the FMV of BlackBerry, Research In Motion includes the
    corresponding Java API and version of the BlackBerry® Java® development environment. The version of the BlackBerry device
    Software determines the version of the BlackBerry® integrated development environment that you can use to develop
    applications. For example, RIM released BlackBerry Device Software version 4.0 and BlackBerry JDE version 4.0 in even
    time. BlackBerry JDE version 4.0 supports APIs that were introduced in BlackBerry Device Software version 4.0
    and BlackBerry JVM version 4.0.

    The applications that you create by using BlackBerry JDE Version 4.0 only work on BlackBerry devices
    running BlackBerry Device Software version 4.0 or later.

    =========================

    The last sentence talking about version 4.0 of JDE. I think that would mean that I could not develop a java application on JDE 6.0 for Blackberry 5.0 version of the software, even if I do not use any new API to 6.0. However, it seems to me that it is a useless limitation. Could someone throw some lights on it?

    I'm going to agree with superdirt here.

    I have the 5.0 OS update of applications work well on OS 5.0, 6.0 and 7.0 of the OS OS phones.  I try not to recompile for levels of the OS, if I can, and so far I've been perfectly safe with OS 5.0 running on the later levels of the operating system.  So you should be able to get away with just using OS 5.0.

    Not that it is important for you, but I just thought I documents some historical information about level changes.  .

    As far as I know it 2 change cod in the file format, one to the 4.0 OS and the other in OS 4.2.  Therefore, if you want to run anything in OS 6.0 or above, it must be compiled in OS 4.2 or higher.  Again, I have applications compiled to OS 4.2 running on OS 6.0, without no problem devices.

    There have been changes to the API - the result is that the code that works in OS xx does not work in OS yy where yy is after xx.  I hit a few of them and have so far managed to rework the code so that it works very well on both levels of the operating system.  In general it is things that I do wrong anyway, as the older operating systems (from memory) are not as strict on when the event Thread must be used.

    The problem with OS 4.7 compatibility is an impact and to get more of this, for devices touch screen only, I compile using OS 4.7.  If an application that uses only the functionality that was available in the OS 4.2, I compile on OS 4.2 for non touch screen phones and OS 4.7 for touchscreen phones.  And everything works fine.

    I hope this helps.

  • How to use the device as a simulator.

    Hi all

    Can someone tell me how to use the device (with my development pc) as Simulator.

    Whenever I need to check the appilcation in device of signed files .cod that is compiled in the Simulator.

    Because I got the outofmemory error in the device rather than simulator.

       

    Thus, any solution which signed without how can I check my direct request to the device itself. Any setting in preferences or etc...

    Thank you

    Tejas

            

    The only way you should not sign the cod is if no controlled classes/interfaces are used. The easy way to find out is to open the SignatureTool and see if your application requires signature. Otherwise this says icefrost1 's good enough solution.

  • Read the files using BlackBerry device Simulator...

    In the device Simulator if you take a photo using the camera option it shows that it is saved as a .jpg file.

    I can read such a file using the FileConnection method? This file is real?

    Or should I use a real BlackBerry device to simulate it?

    Because what I'm looking for is to read the image stored in the device and attach it to an email and send it.

    But it seems as if this file is not accessible, even if I give the path of it.

    For example:

    FileConnection fconn = (FileConnection)Connector.open("file:///SDCard/BlackBerry/picture/IMG00017.jpg");

    Can anyone give a solution for this?

    Third-party applications are not able to read the example of media (pictures, sounds, etc.) which is preinstalled on a BlackBerry handheld.  You should be able to read files created by the user or other applications.

  • How will I know which applications use my webcam

    I get an error code that says that I can't start my webcam (works on another computer) bran new. Camera Says Error is used by another program. check the Task Manager doesn't show anything. I don't use yahoo or msn messengers.

    Is it possible to see which applications are using a piece of hardware? Because its kind just a goose wild chase looking for applications that can use it.
    Thank you

    Hello

    Check the implementation to see if the camera programs are there.

    How to troubleshoot a problem by performing a clean boot in Windows Vista
    http://support.Microsoft.com/kb/929135
    How to check and change Vista startup programs
    http://www.Vistax64.com/tutorials/79612-startup-programs-enable-disable.html

    Autoruns - free - see what programs are configured so that it starts automatically when
    your system boots and you connect. Autoruns also shows you the complete list of the registry
    and where applications can configure Auto-start for the files settings.
    http://TechNet.Microsoft.com/en-us/sysinternals/bb963902.aspx

    ==========================================================

    Among other things, messengers and Skype and others can access the camera and
    Some people may not release properly.

    Click right tab taskbar - TaskManager - Applications and processes tab allows you to see
    what might be running. Check the Notification area near the clock in the bottom right
    to see if something is loaded it.

    Process Explorer can provide a little more information.

    Process Explorer - free - find out which files, key of registry and other objects processes have opened.
    What DLLs they have loaded and more. This exceptionally effective utility will show you even who has
    each process.
    http://TechNet.Microsoft.com/en-us/Sysinternals/bb896653.aspx

    I hope this helps.

    Rob Brown - Microsoft MVP<- profile="" -="" windows="" expert="" -="" consumer="" :="" bicycle=""><- mark="" twain="" said="" it="">

  • [Issue] How data is transferred when you use BlackBerry (NFC) Tag? WiFi Direct? Bluetooth 2.1? Bluetooth 3.0?

    Hello

    I saw a bunch of videos of demonstration of tag BlackBerry of all the cool things you can do with the NFC, but it wondered, what happens if all my other antenas wireless, WiFi and Bluetooth, are out of?

    NFC can be used to transfer data, but it is not good for large quantities. I looked a little further and I found this cool video showing the difference to use Bluetooth 2.1, Bluetooth 3.0 high speed and Wifi Direct to transfer large files, such as videos. BB10 already does support Wifi Direct? Bluetooth 3.0 high speed?

    I hope that BB10 supports ALL the performance and maximum compatibility.

    I don't know where to post this question so here's. Please move was a better place. I think that the community needs a session of general development for wider issues.

    See you soon!

    Hello

    Tag BlackBerry, and the APIs available for developers will automatically perform the best way to transfer the data. NFC supports something called "connect transfer" and are the largest payloads or certain types of data (photos, for example) rather than by peer-to-peer NFC, NFC mode data transfer is just used to negotiate alternative transport. In the case of the BlackBerry smart phones, this alternative will be bluetooth.

    For users of touch devices, there is a brief 'conversation' between the devices on the NFC and this translates into a bluetooth connection set up and data transfer initiated through the bluetooth connection faster. This is all without the usual matching process. After reaching the stage of bluetooth devices need closer will be of course.

    The same principle applies to both 7 BlackBerry and BlackBerry 10. In fact talk us a bit about this in our latest article on BlackBerry 10 NFC API:

    http://supportforums.BlackBerry.com/T5/native-development/BlackBerry-10-sharing-using-NfcShareManage...

    I hope this helps.

    For more information on see NFC:

    http://supportforums.BlackBerry.com/T5/Java-development/NFC-article-and-code-index/Ta-p/1538775

  • How can I remove the application using JOHN the BAPTIST

    Hello
    I'm writing a small script to create and remove an application from ASO.
    It is quite easy to create. Delete, it is a bit more complicated...
    While the creation of the app is made simply by calling olapServerObj.createApplication ("MyApp", 4) (4 is ASO), deletion is made (for some reason any) an IEssDomain object.
    I get "cannot have domain object properties. Object is found. ': MyApp ' error message when you try to call

    self.domain.deleteApplication (MyApp)

    Thoughts, anyone?

    Thanks, Assaf

    If you are using

    IEssOlapApplication essApp = olapSvr.getApplication ("Sample");

    You will be able to access the methods available for the application, then you could remove it using

    essApp.delete ();

    See you soon

    John
    http://John-Goodwin.blogspot.com/

  • How to make a URL shortcut for Blackberry device homescreen for delivery

    Hi, I did some research and it seems confused. So I thought I would ask here.

    As we know to Blackberry 6.0, there is possibility to save a URL as a shortcut to the home screen.  The URL will be different for each device, so it could be sent to the user via email and they might click on it and open it in the browser and save on the home screen.

    However my question is how to do this automatically. Could press us the shortcut (different URL for difference appliances) through the BES Server? Is there another way if there is no BES Server?

    By running this c# application: http://supportforums.blackberry.com/t5/BlackBerry-Push-Development/Sample-code-A-simple-C-push-appli..., I am capable of pushing the a url shortcut to both Blackberry 6.0 and 5.0 simulators. This would allow us to push different URLS for different devices.

  • How to detect the DNS server using the device is

    Hello

    What is the means of detecting the device of a BB of DNS server uses at present, whether on wifi, plan data (cellular network), connected to a BES Server?

    Thank you

    You can probably use Network Status BPS:
    https://developer.BlackBerry.com/native/reference/core/com.QNX.doc.bps.lib_ref/topic/manual/netstatu...

  • Cannot open applications on BlackBerry 10 Dev Alpha Simulator

    Hello

    I try to use the Alpha of Dev (10.0.10.261) Simulator, 10 BB with VMPlayer 5.0.1 on Windows 7 64 bit.  The Simulator seems to start OK, even if I have to choose (option 2) safe mode when the virtual machine starts because the normal mode always hangs when starting.  The splash screen appears followed by the home screen with the default application icons.  The home screen responds to clicks, but whenever I try to click on an application to launch (settings of the calendar/contacts/etc.), the icons in the home screen slide off the screen to the right and then reappear about 6 seconds later and the application does not start.  The same thing happens if I click on 'Settings' in the options slide down from the top of the screen.  Y at - it something I am doing wrong?

    Any help appreciated,

    Jonathan

    I uninstalled the Simulator, re-installed and seems to be working now!

  • slow application on the device, quickly on Simulator.

    Hello

    I am developing an application webworks and it extremely slow on the device of the torch. But works fine on the Simulator.

    Slow, I hear by the user interface takes takes at least 3 seconds to answer after the gesture of touch, either scroll or by clicking a button. And the shift of page transitions.

    I am currently using jquery and jquery mobile, could those problems?

    Thank you very much the man who was really what I was looking for, solved my problem if there was a minor problem after removing an element from the DOM, I couldn't use any method of document document.getElementById (), found another tutorial to fix blackberry Webworks Performance problem

  • Debug an application installed from a signed .bar

    I sign my app with RSA keys to operate. If I generate the signed .bar export the project with the unit and then debug configuration I install it on the device.

    The question is: How can I debug my application?

    Obviously I can't just run the application in debug mode because in this way the application does not work as signed bar.

    Is it possible to attach the application installed with the bar to a debugger?

    Thanks in advance.

    When the application is built in release mode debugging is disabled. Core files would be generated, but they are generated in sandbox APP output mode (not that you can see the use of the system target file browser). The only way to access them is through your application itself (the next time that the launch of the app, it has access to its directory of newspapers in his sandbox).

Maybe you are looking for