About Bluetooth programming

Hello

While someone provide documents on the programming of bluetooth in blackberry. I am a new developer for the

BlackBerry. And also how to configure a blackberry in ecilipse project which means what are the steps I need to

do I set up the project. It is very urgent for me.

Thank you

Rambour.

@Raghuveer: cannot help on bluetooth programming but here's what I documented for setting your WebWorks Eclipse environment.

RESOURCES FOR DEVELOPERS

  1. URL: http://www.blackberry.com/developers
  2. URL: http://www.blackberry.com/support
  3. URL: http://supportforums.blackberry.com/t5/Web-and-WebWorks-Development/tkb-p/browser_dev%40tkb
  4. E-MAIL: [email protected]
  5. Twitter: @BlackBerryDev
  6. Blog: devblog.blackberry.com

INSTALLATION (assumes that Windows 7 32 bit)

1. download and install the JDK.

2. copy your installation path to the windows clipboard.

  • Open Windows Explorer and locate the path to your JDK installation.  Mine was--> c:\program files\java\jdk1.6.0_24.
  • Copy or write down the path.

3 Add/Edit variable environment:

  • Start button--> computer--> right click--> Properties
  • Click on Advance (left menu) system settings.  System Properties dialog box opens and you should be in the "Advanced" tab
  • Click the "Environment Variables" button
  • Under "System Variables", click on the 'New' button and add a new system variable, using the path to your JDK.
  • VARIABLE NAME: JAVA_HOME
  • VALUE of the VARIABLE: c:\program files\java\jdk1.6.0_24
  • Under "System Variables", change your 'PATH' variable to include both the % JAVA_HOME; and % JAVA_HOME%\BIN.  NOTE: You need to paste it in front so not that other java variables affect this.

EXAMPLE: JAVA_HOME %; % JAVA_HOME%\BIN;

5. download and install the Blackberry SDK for phone or tablet.  TWO INSTALLERS COME WITH THEIR OWN ECLIPSE ENVIRONMENT SO YOU are GOING to INSTALL them IN SEPARATE LOCATIONS.  I installed mine in C:\BlackBerryDevelopment\SDK\Tablet and C:\BlackBerryDevelopment\SDK\Phone. 

NOTE: You must have a BlackBerry Developer Zone account to download these.

PLACES:

PHONE: https://swdownloads.BlackBerry.com/downloads/contactFormPreload.do?code=DC727151E5D55DDE1E950767CF86... 

TABLET:  See here (http://us.blackberry.com/developers/tablet/webworks.jsp) for instructions on installation and configuration of your environment.

6. sometimes you'll problems memory of repeatedly opening and closing Phone Simulator then here are some tips I found useful to help you.

  • Add run settings to your Eclipse shortcut for the development of the BlackBerry phone.

Find your Exclipse.exe in (by DEFAULT: C:\Program Files\BlackBerry WebWorks Plug - in Eclipse).

Make a shortcut, then paste the run settings of

-vmargs -Xms768m -Xmx1024m -XX:PermSize=256m -XX:MaxPermSize=256m

EXAMPLE OF TARGET:

"C:\BlackBerry\IDE\Phone\BlackBerry WebWorks Plug-in Eclipse\eclipse.exe" -vmargs -Xms768m -Xmx1024m -XX:PermSize=256m -XX:MaxPermSize=256m
  • Clean your projects after changing devices (simulators). In Eclipse: Select project - project--> Clean

I hope this helps!

Tags: BlackBerry Developers

Similar Questions

  • When I try to access the Bluetooth program, receive error message: "Windows has stopped this program due to a Code 43 error.

    Original title: Code43 error (built-in) Bluetooth

    I have a new laptop (vaio) when I try to access the Bluetooth program I received information that Windows has stopped this program error Code 43

    that I understand not as a problem to update. I am running Windows7 Home Premium SP1. All solutions? (outside the deactivation, which I did. I realized the usual remedies IE. checked for driver updates, uninstalled and restarted without result

    Hi DerekWilliams,

    What is the brand and model of your system?

    You can try the following steps and check if it helps:

    Method 1:

    Try to run the corner hardware store and check the issue.

    Convenience hardware store

    For more information, see the article:

    Code 43: Windows has stopped this device because it has reported problems

    Method 2:

    You can refer to the computer or the device manufacturer's Web site and try to install the latest version of the Bluetooth drivers:

    For more information, see the articles:

    Updated a hardware driver that is not working properly

    Update drivers: recommended links

  • installed windows 7, now question about bluetooth NIC

    So, I deleted the installation of vista factory, formatted hard drive and did a clean install of win7 64 bit. Now, I find myself trying to pair a headset stereo bluetooth to my system, after an investigation that he won't, I searched in which nic card I have and original SWSetup installed at the factory of SP39805 file (from vista) but I can't tell if its broadcom, intel or Realtek. How can I know which driver to install, now my seeems wireless to work properly (althoiugh, I'm green at this) with the program of intel, but my bluetooth headset seems pair well, but I cannot hear through the headset and looking for solutions. I think this might be the problem, although in the IDT audio control panel is difficult to grasp as a whole to the top of my helmet, but I need to start somewhere.

    DV7 - 2173cl

    Any thoughts muchly appreciated.

    Ken

    I'll wait a few pictures in the show HP after all this.

    I hope that after all this, that your headphones will work.

  • Question about Bluetooth and version license

    I have a license for the Toshiba Bluetooth Stack.
    My laptop is Equium P300-16 t
    I downloaded the new version 8.00.03 and extract the file inside was version 7.10.18.
    It's true!

    You're right about the free version, but I put t know if it is right or not, but if you check warning you will see that this update is created 12/2010 so I think it must be the right file inside.

  • Satellite M40-225: confused about Bluetooth

    You just bought a Satellite M40-225. Checked forum for issues of bluetooth but, to be honest, I got a little confused!

    Basically I want to use bluetooth and guess I need some kind of adapter. Suggestions? Need to download drivers or anything like that too?

    More... (!), I have a PowerMac G5 and airport network wireless broadband BT Yahoo. Is it possible to connect my new PC to a network of MAC - or is it the Devil's own work?

    Thank you

    Hello

    Satellite M40 has no Bluetooth. This means that you must buy a USB BT's key. It's not expensive and installation is very simple. Usually, if you buy the one that you will get the software CD. Before installing any software, check if your unit has installed Bluetooth stack.

    I'm sure you will find battery Bluetooth for Windows by Toshiba V3.10.00 on your device. In the control panel check Add and Remove Programs option. List all the installed components.

    Good luck!

  • A question about the program of paint on Windows 7

    I used old paint in Windows XP, hundreds of times, I've now updated for Win 7 and I am very disappointed in the new version of paint.
    In short, yes it has some new features, but generally he went back, big time.

    Let me explain.

    In the past, let's say you want to draw an object, a certain color, with Win XP, you just select a color and draw your object, now there's all this color 1, color 2. Yes, you can always get what you want to do, but it is much more tedious, much less intuitive.

    Another problem, the undo function (a very common tool) is hidden in one of the menus, you must drag to your command bar, even with the zoom in, Zoom out, yes they are there, but hidden away. WHY?

    A big, big problem in the system of color fill. In the past opens a GIF, say you had a large surface area, and it was all the one-colour, with a click, you can change the color. Try this in Windows 7, and when you save the image as a GIF file, you get all the grainy areas

    With granular fill means that the color cannot be changed again. (except everything clear and re - fill which is darn time consuing, or save the image under a 256 color bitmap. The problem with bitmap, is there a huge file to GIF format size. NOT HAPPY

    In addition, the Eraser button. On Win XP, it was white, nice and simple. Now, he must tinker with what color you want the eraser to be square. Much more complicated, why don't you just have another gum that is always set to white? Have 2 erasers. Much less intuitive, much more tedious.

    In Win XP paint, want to resize something, it was easy to say tilt Thexaxis say 150 percent, but the axis is left unchanged. Now it's more complicated. They are locked in. I'm sure you can tinker and it immutable, but it's not simple and easy, much harder to do.

    My overall impression of the new paint 7 win, is that it is much more tedious and much less intuitive to use. NOT HAPPY.
    Yes, with practice I can work around probably many bad features, but probably it will take a lot of tweaking.
    It's more complicated and much less easy to use.

    This leaves still not resolved the fill color on a GIF chart feature. For example, suppose that you draw a hollow black square, depending on whether you fill the inside a color (XP there was about 16 colors or you could flood, perhaps more.) when you have saved the GIF image once again, the picture was clear and the embanked area was perfectly monochromatic. This allowed low size and the ability to change the color, if you want to. EASY.

    Try to do this in Win 7 paint, and the embanked area is grainy, when you save it. Even if you save the file as a GIF file as soon as you start. WHY SE PRODUCT. In win XP paint, I would start a new image and before I started one line, I would and then save it as a GIF, in this way when I recorded it again, all solid colors in areas would be unchanged. Does not work with Win 7 paint.

    Seems I have to get my old PC works again and use the XP on it to make my images.
    Side, I have made hundreds of sketches on Win XP Paint and know how to use so extremely well.

    There is another paint program, you might find useful:

    Paint.NET
    http://www.getpaint.NET/features.html

    Download Paint.NET
    http://www.dotPDN.com/downloads/PDN.html
    (left, click on the link to the right... 'Free Download Now')
    Paint.net tutorials
    http://www.eecs.wsu.edu/paint.NET/doc/2.6/help/en/tutorials.html
    (tutorial links in the left column)

  • A question about bluetooth technology, apparently I have, but it doesn't show signs of availability

    I contacted HP through the option of the complaint, this isn't really a complaint, just understand... The response to the complaint was "while they inspected here in my end, your order of HP TouchSmart tm2t customizable notebook PC has been configured with 802.11b/g/n WLAN and Bluetooth (r) so basically, your PC has bluetooth capability"

    I don't understand what they mean by ability, all computers have bluetooth, Bluetooth installed capacity or not?   I went to device for signs of bluetooth Manager, I find nothing, the PPF assistant wireless also shows nothing. I talked to a representative directly through instant messaging, they gave me the Web page to download the drivers. I downloaded the drivers, when I tried to install the drivers, he said "turn on bluetooth" I can't activate it if I can not find...

    SO I need help with this, any help is appreciated.

    well, Yes, I am excited, he has spent 12%, took about 6 and a half hours (literally) but the recovery of the tie is almost finished.

  • M40-298: Question about Bluetooth headset support?

    Toshiba m40-298 does support Bluetooth headset? Thank you

    Hello

    As far as I know Toshiba supports just clean products. I put t know which product you have but M40 has no BT and you must buy the headset with USB BT key.

  • AS a question about the programming d 4 tasks OCR G062/01

    If I have an if then else rule saying a message in a text box and have a data beside him.
    the message is 'money is paid' "the money is not paid.
    When the money is paid to the box should disappear
    How can I due to this.
    either way, it's on the database (access 2010)

    Thank you very much

    Hello

    You will need to create a new post on the MSDN forums for assistance with programming, please visit the following link:
    http://social.msdn.Microsoft.com/forums/en-us/categories

    Click on 'All Forums' for a complete list of forum.

  • as windows Defender is disabled, as I mse, how can I know about start - programs etc.

    I now have a Vista PC with installed MSE. I understand that I need to access programs start and other things through the Windows Defender - but who is obviously off by MSe where I can access them. Help appreciated

    Hello

    If you want to have additional protection against malware using the version FREE of Malwarebytes AntiMalware:

    http://www.Malwarebytes.org/products/malwarebytes_free

    And now edit startup in Vista without using Defender programs, use one of the following methods:

    "How to use MSCONFIG in Windows Vista"

    http://netsquirrel.com/Msconfig/msconfig_vista.html

    Or the program Autoruns for FREE:

    "V11.21 Autoruns for Windows"

    http://TechNet.Microsoft.com/en-us/sysinternals/bb963902

    See you soon.

    p.s. Many programs also have the option tools > Section Options to check or uncheck "Windows startup assistance program" or similar words.

  • Receive an error message about a program called bufopti

    "Interactive Services dialog detection" gives me a message to a program named "bufopti".

    The message is, ' fatal error temp release 2!       What is 'bufopti '?

    Thank you.

    Download and run malwarebytes antimalware
    http://www.Malwarebytes.org

  • Bluetooth programming

    Phone: 8110 v4.5.0.182 running

    Development: Eclipse with 4.5 component package

    I have worked on this problem on and off power for several months now and have scoured the forums and on the web for a solution. What I'm trying to do should be very simple: search all Bluetooth devices within range and their return address. I tried a variety of approaches with DiscoveryAgent and DiscoveryListener using multithreading, locks, waiting etc and nothing seems to work fully. Currently, I am working with the following block of code:

            synchronized (finder)
            {
               // Indicate that we are scanning.
               finder.searchFlag = true;
    
               try
               {
                  // Initiate a device search
                   dAgent.startInquiry(DiscoveryAgent.GIAC, finder);
                  // Loop until the device discovery finishes.
                  while (finder.searchFlag)
                  {
                     try
                     {
                        finder.wait();
                     }
                     catch (InterruptedException e) { }
                  }
               }
               catch (BluetoothStateException e) { }
            }
    

    Extinguishing is the DiscoveryAgent for my local device and finder is an instantiation of the following class:

    public class TagFinder implements DiscoveryListener{
    
       Vector tags = new Vector();   //Flag to indicate searching  boolean searchFlag;
    
      // Return list discovered tags    public Vector getTags() {     return tags;  }
    
       // Called whenever a device is found  public void deviceDiscovered(RemoteDevice btDevice, DeviceClass cod) {        if (!tags.contains(btDevice)) {           Dialog.alert("Device Found");         tags.addElement(btDevice);        } }
    
      public void inquiryCompleted(int discType) {               searchFlag = false;               Dialog.alert("Inquiry Completed");               // Wake up                  notifyAll();    } 
    
      public void serviceSearchCompleted(int transID, int respCode) {   }
    
      public void servicesDiscovered(int transID, ServiceRecord[] servRecord) { }}
    

    When I run this code, the phone crashes and are never called deviceDiscovered and inquiryCompleted. I confirmed by debugging on the phone with breakpoints as well as with the alerts shown. When the console debug returns the results of the survey of BT as well as the final message of BT investigation is completed, but for some reason, the methods are ever called and my phone is stuck waiting to finder.wait ().

    Any help would be greatly appreciated, it held me for a long time and I've exhausted all the resources at hand. I tried the software on several computers and several phones.

    Thank you

    Luke

    is it possible you that you block the EventThread?

    The code seems fine for me and JSR82 always worked well for me on BlackBerry

  • Question about Bluetooth SPP

    Hello

    I work on a code of Bluetooth and have a problem when you try to connect to a Windows 7 PC.

    On the PC, I have a server SPP named look (using the lib 32feet .net), when I pair another Windows PC, I can see my service listed in respect of the services for the device, but when I pair it with a BlackBerry (storm 1 with OS 5.0), I can pair it with success (and transfer files, etc) but the BB lists all the services on the PC and the PC does not appear in the results of BluetoothSerialPort.getSerialPortInfo ().

    If I pair a GPS puck with the phone, I can see "Serial Port" listed for this device and it is included in getSerialPortInfo().

    Can someone suggest reasons why the BB may not detect the PSP on a Windows PC service?

    Thank you!

    Bruce

    Nevermind, I didn't open the right type of connection on the PC, works great now.

  • need help on bluetooth programming!

    can someone please tell me is it possible to manage the connection bluetooth on tablet OS. ???

    Someone will correct me on this if I'm wrong, but at the present time, there is no way you can control the bluetooth with the current API, I can't find all classes to do this, nore is there any mention of it for any later version at present.

  • Help me please about Bluetooth!

    Hello Sir / Madam,.

    can someone please tell me something on the coding of the communication bluetooth, matching in Webworks or adobe air to develop an application in playbook? Please help me

    Bluetooth is not available in API of Adobe AIR.

Maybe you are looking for

  • Permanent PIN on photos icons

    Somehow in topic: newtab page has each visible thumbnail both pins (PIN icons; Remove) as if I have all hovered them at the same time. I tried to uninstall, install, create new profile, but the problem persists. Here is a screenshot: https://DL.dropb

  • Satego X 200 - 21 d freezes everything in game Call of Duty 4

    Hello Since a few weeks my Satego X 200 21 freez in the games.It freezes and I have to press CTRL + ALT + DELETE. After pressing it turns on and I can go back in the game (exp: Call of Duty 4), but then the fps are low.Before 90fps freez and more and

  • Satellite L40 - CD/DVD drive does not end to close after burning

    Hello My TOSHIBA SATELLITE L40 works correctly under VISTA HOME PREMIUM. This is the first time that I realize that the CD/DVD driver is unable to complete a session of engraving using NERO8, NERO9, ASHAMPO TSHIBA DISC CREATOR or in Windows mode. The

  • WiFi decreases when the phone mode standby

    Since I've updated my Z3 Compact 6.01 Android Xperia it loses connection to my wifi at home as soon as the phone goes to sleep. It is very annoying especially for streaming music. I tried all the tips found in the instance on similar issues. WiFi wor

  • DV7 screen/video

    Hello: I have a notebook DV7-6c95ex w/Win7 and Intel Graphics and Media Control Panel. This is the most unpleasant screen that I lived. I'm afraid I'm going to ruin the lid hinges, is the angle of view, depending on whether I look at graphics/documen