Results 1 to 5 of 5
  1. #1
    rajnish1349 is offline Member
    Join Date
    Dec 2008
    Posts
    6
    Rep Power
    0

    Thumbs up bluetooth programming

    hi there, i am a beginner in java and am facing a little problem here. hope someone can help me.

    there are errors when i try to do compilation. and the errors are javax.microedition.io and javax.bluetooth does not exist.

    i tried both Netbeans 6.0 and JCreator, both yield same errors. i believe my pc does not have the packages but isnt Netbeans/JCreator has everything?

    do i need to download the javax.microedition.io and javax.bluetooth packages? if so, can someone post a link here?

    thanks!

  2. #2
    CJSLMAN's Avatar
    CJSLMAN is offline Moderator
    Join Date
    Oct 2008
    Location
    Mexico
    Posts
    1,159
    Rep Power
    7

    Default importing?

    Are you importing these packages into your program?

    Java Code:
    import javax.microedition.io.*
    import javax.bluetooth.*
    Luck,
    CJSL
    Chris S.
    Difficult? This is Mission Impossible, not Mission Difficult. Difficult should be easy.

  3. #3
    DarrylBurke's Avatar
    DarrylBurke is offline Forum Police
    Join Date
    Sep 2008
    Location
    Madgaon, Goa, India
    Posts
    11,254
    Rep Power
    19

    Default

    Is this a Java ME app?

    db

  4. #4
    rajnish1349 is offline Member
    Join Date
    Dec 2008
    Posts
    6
    Rep Power
    0

    Default

    yes i have imported the package javax.Bluetooth.*; but i think this package does not exists in JDK-6,how can i get the package?
    If any link is there please give the link.
    thanks

  5. #5
    rajnish1349 is offline Member
    Join Date
    Dec 2008
    Posts
    6
    Rep Power
    0

    Red face bluetooth stack initialization

    Hi
    I am new in bluetooth programming and i am getting bluetooth stack not initialize exception.The exact exception is "unable to load HCI manager.org.javabluetooth.stack.hci.HCIException: BluetoothStack not initialised at javax.bluetooth.LocalDevice.<init>(LocalDevice.jav a:49)"
    I have imported both the packages
    import javax.bluetooth.*;
    import javax.microedition.io.*;

    Can anyone help me with the same?
    thanks

    Rajnish

Similar Threads

  1. Connect from PC with mobile using bluetooth
    By DemoX in forum Advanced Java
    Replies: 5
    Last Post: 04-13-2011, 03:10 AM
  2. Questions about bluetooth
    By vision in forum CLDC and MIDP
    Replies: 1
    Last Post: 11-15-2008, 03:58 PM
  3. Bluetooth Tutorials
    By medhat_fci in forum CLDC and MIDP
    Replies: 1
    Last Post: 08-11-2008, 03:15 AM
  4. Infra-red, Bluetooth in Java
    By mathias in forum Networking
    Replies: 1
    Last Post: 08-07-2007, 06:48 AM
  5. Linux Bluetooth Remote Control 0.4
    By levent in forum Java Software
    Replies: 0
    Last Post: 05-11-2007, 09:54 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •