Bluetooth and j2me, a frustrating scenario...

Hello all,
I don't want to use propeitory sdk's so I need to get a bluetooth stack working with the wireless toolkit but I am not going to pay for it so I downloaded the stack from javabluetooth.org, but when trying to compile a program which uses the javax.bluetooth package I get an error...
Error preverifying class org.javabluetooth.distributed.BluetoothTCPServer
    VERIFIER ERROR org/javabluetooth/distributed/BluetoothTCPServer.run()V:
Cannot find class java/net/SocketI guess j2me api does not include the package socket at all?
Does anyone have any ideas how to get a bluetooth stack working with j2me?
Thanks for your time
poncenby

the WTK 2.2b is available since June 26 or so.
To the JSR-82 API: the classes from sun (javax.bluetooth.* and javax.obex.*) are part of the WTK 2.2b and can be used. But remember: to use a bt app on a phone, the phone must support JSR82, not only MIDP and CLDC.
I am too good for this world. You should check http://java.sun.com/j2me . There can at least 2 articles be found regarding the development of J2ME and Bluetooth, as well as the WTK downloads and many other interesting things ;-)
here is the link to the WTK 2.2b
http://java.sun.com/products/j2mewtoolkit/download-2_2.html
good luck and have fun
Killer_2001

Similar Messages

  • Bluetooth communication  between J2SE server and J2ME client

    Hi everyone!
    I'm new here in this forum...
    I try to make a small project to my studies,
    My project will include J2SE server and J2ME client.
    I'm stuck in the step of finding the server with the wireless toolkit emulator.
    I found this issue in old subject: here
    I try the solution in reply 6 but I don't understand exactly who to define kvem.home, and I got this error:
    " You must define the system property "kvem.home" "
    maybe someone can help me and explain how to do that?
    thanks!

    Hello,
    I want to find out how this can be done, too. I tried with
    System.setProperty("kvem.home", "C:\\WTK2.5.2");but I get an error:
    java.lang.UnsatisfiedLinkError: com.sun.kvem.jsr082.impl.bluetooth.BluetoothController.setSystemProperty(Ljava/lang/String;Ljava/lang/String;)I included these files in the build path:
    c:\WTK2.5.2\wtklib\gcf-op.jar
    c:\WTK2.5.2\wtklib\kenv.zip
    c:\WTK2.5.2\wtklib\kvem.jar
    and I import com.sun.kvem.bluetooth.*;
    I'd appreciate any help.

  • TS3048 Bluetooth and USB ports aren't working can't connect mouse or keyboard.

    Bluetooth and USB ports aren't working, so am unable to use Imac past turning it on. There's no way to connect mouse or keyboard, it started right after a software update for Maverick (OS X bash Update 1.0 – OS X Mavericks), bluetooth symbol not showing in the task bar at all.    

    Hi SBrwn,
    Thanks for visiting Apple Support Communities.
    The symptom you're describing can be frustrating to troubleshoot as our options are limited. I do suggest resetting the System Management Controller (SMC) if you have not already. This step can help you regain use of USB and Bluetooth.
    Follow these steps to reset the SMC on your iMac:
    Resetting the SMC for Mac Pro, Intel-based iMac, Intel-based Mac mini, or Intel-based Xserve
    Shut down the computer. [by holding down the power button]
    Unplug the computer's power cord.
    Wait fifteen seconds.
    Attach the computer's power cord.
    Wait five seconds, then press the power button to turn on the computer.
    You can find these steps and more information at this link:
    Intel-based Macs: Resetting the System Management Controller (SMC)
    All the best,
    Jeremy

  • Bluetooth and GT750M is not working after suspending to RAM.

    Hello! I am yet another lucky owner of laptop with optimus Intel+nVidia technology. I had really frustrating issue with Bumblebee because my nvidia just randomly refused to change power state in the past, luckly after a few months someone added workaround to the Bumblebee's troubleshooting section on ArchWiki and it worked flawlessly for a while. But now, most likely because of some kernel updates, I'm experiencing similar issue with both Bluetooth and nvidia card but this time only after suspending to RAM.
    % optirun glxgears
    [12125.501131] [ERROR]Cannot access secondary GPU - error: Could not enable discrete graphics card
    [12125.501173] [ERROR]Aborting because fallback start is disabled.
    % bluetooth
    bluetooth = on
    % bluetoothctl
    [bluetooth]# devices
    [bluetooth]# power on
    No default controller available
    [bluetooth]#
    Some relevant outputs:
    % dmesg | grep -i bluetooth
    [ 5.827610] Bluetooth: Core ver 2.19
    [ 5.827633] Bluetooth: HCI device and connection manager initialized
    [ 5.827641] Bluetooth: HCI socket layer initialized
    [ 5.827643] Bluetooth: L2CAP socket layer initialized
    [ 5.827649] Bluetooth: SCO socket layer initialized
    [ 9.006994] Bluetooth: BNEP (Ethernet Emulation) ver 1.3
    [ 9.007003] Bluetooth: BNEP socket layer initialized
    [10940.998460] Bluetooth: Error in firmware loading err = -110,len = 448, size = 4096
    [10940.998468] Bluetooth: Loading patch file failed
    [10940.851853] wlp4s0: associated
    [10940.998460] Bluetooth: Error in firmware loading err = -110,len = 448, size = 4096
    [10940.998468] Bluetooth: Loading patch file failed
    [10940.998475] ath3k: probe of 1-4:1.0 failed with error -110
    [11094.380198] mce: [Hardware Error]: Machine check events logged
    dmesg messages after the "optirun glxgears":
    [12118.593906] bbswitch: enabling discrete graphics
    [12118.604058] pci 0000:01:00.0: Refused to change power state, currently in D3
    Any ideas what's going on? Thank you!

    ACTIVATING FACETIME AND IMESSAGES
    Activating Facetime and Imessages on your phone requires the ability to send SMS messages and depending upon where you are that might be an international SMS.  Check with your carrier to see if your plan supports sending of international SMS messages.  If you are having trouble activating Facetime or Imessages turn them both off on your device and reset the device (Hold down the Sleep/Wake button and the home button together until the apple logo appears (ignore the ON/OFF slider) then let both buttons go and wait for device to restart (no data will be lost)).  Wait for the device to restart and wait a minute and turn Facetime and imessage back on and wait for activation.  If that does not fix things read the following articles:
    http://support.apple.com/kb/TS4268
    http://support.apple.com/kb/ts3367

  • How to completely turn off Bluetooth and Wireless

    Hey everybody,
    I'm running Windows XP SP3 via Boot Camp and I was wondering if anyone can assist me in how to completely turn off Bluetooth and Wireless connectivity so that I can reserve as much batter life while being in class taking notes without a plug-in source, but not uninstall. I know there is a Bluetooth control panel and I disabled it there but under "connect to" its still remains there. Basically I want to have the Bluetooth and Wireless turned off completely when I startup and still have the icons shown in the taskbar to let me know that they are still there.
    Thanks!

    Joergen Thomson, I can see that you have the same thoughts like I do, I wish they could release a software that is stable and better then this.
    I dont have the energi or time to report all flaus back to cisco, this product have taking to much of my time and frustration already. Thank you so much for all the time you spend to try get this product stable and hopefully a good product.
    I have a costumer that have a webservice that is IP restricted, For now I have to define more then 93 policys openening for the same service because this doesnt handle address list and groups. And all the times I had to set it back to factory default becasue of HTTP Admin server stopped, VPN Problem, Firmware Upgrades, "Packet Loss" and so on takes alot of time becasue I need to reconfig policies back.
    For now to they release a firmware is stable I have take this piece off the network and put the back a old Fortinet 60 box.

  • The wireless keyboard is not working with my iPad2. I turned on Bluetooth and paired it.  What else is there to do?

    The wireless keyboard is not working with my iPad2.  I turned on bluetooth and paired the device.  What other hidden step is there to do?

    Well, the tiny green light comes on and blinks. . . After a frustrating time, I turned everything off.  Later, when I tried the keyboard again, it worked.  I guess the bluetooth process takes longer than expected.  So thank you for taking the time to help a technically impaired person!!

  • Bluetooth and Isight not working since upgrade to Mountain Lion

    Hello,
    I have a mid-2010 MBP running OSX 10.8.2.
    Ever since upgrading to Mountain Lion, My bluetooth and iSight both have stopped working.  I have tried the clear the SMC numerous times. Mostly it does not have any effect. However, a couple of times, it has restored service to the iSight and the bluetooth, but as soon as I reboot the machine they are back to being disabled. Sometimes they become available without my resetting the SMC and for seemingly no reason. I have also replaced a couple of different kext files: Apple_iSight.kext and AppleUsbVideoSupport.kext with known good ones. I also Verified and Repaired on the disk. In this case, permissions issues were detected and repaired, but without fixing my original problems.
    I would like desperately to resolve this without buying a new disk and doing a fresh install of OSX Lion. I would definitely NOT go back to Moutain Lion in this scenario. But I don't know what do next. I don't see many posts on this subject and those I have seen do not offer much hope. I know I am not the only one suffering with this, but I don't think Apple is addressing the problems, because they may not be pervasive enough right now.
    If anyone has found a way to resolve this permanently, please share with me. I would like to roll back to Lion, but can't do that either.
    Can anyone help me out?
    Thanks,
    Brad.
    <Edited by Host>

    This is likely a conflict with some 3-rd party s/w you have on the MBP but not the other two computers. Have a look in here
     > System Preferences.. Users & Groups | Login Items
    Is there something in here that's not in the same list on the other Macs? If so, try removing it and restarting your computer. If that solves the problem, try contacting the developer to see if there's an update.
    If that doesn't solve the problem, go through your other 3rd party apps and look for updates on all of them. One of them is stopping your mouse from working properly.

  • Issues with Car Bluetooth and the 9630

    Hey guys,
    Over at the crackberry forums there are many people reporting issues with the tour and car bluetooth.  Basically, for people that are syncing the tour with the bluetooth in their cars, people can barely hear them.  We can hear everyone just fine, but when talking the person on the other end reports that our voice is very low.  This is happening on VZW, Sprint, Bell and Telus, which leads me to belive this is an issue with the OS itself.  The link to the discussion at crackberry is http://forums.crackberry.com/f141/car-bluetooth-tour-issue-they-can-t-hear-me-well-267206/  I'm hoping someone from RIM cam comment on this or provide some help.  This is a VERY frustrating issue to Tour owners especially with so many places having "hands free" laws.
    Thanks!

    Greetings from Charleston!
    I was using a Verizon 8830 World Edition until I upgraded to the Verizon Blackberry Tour on launch day July 12.  I never had any Bluetooth issues before and I'm not having any now.  As a matter of fact, I would say the quality is a tad better.  My volume is controlled by my car when the Blackberry is connected via Bluetooth and I've actually had to turn it down sometimes because it has been so loud.  I drive a 2007 Toyota Landcruiser.  I suspect it has less to do with the Blackberry than it does with the car.  Perhaps there's a Bluetooth software/firmware update necessary for some of your vehicles?
    All in all, I love this new Blackberry!!
    Cheers! 

  • Step by Step Guide Details for RFC to File and File to RFC scenario

    Hi Guru's
    Good day to you. I am tyring to develop some scenarios based on RFC adaptor. so i want to start up with basic scenarios like RFC to File  scenario(Here i just want to pull some data from SAP using RFC and put it in destination folder as an text file) and FILE to RFC scenario (Here i just want to take some data from the file and update into SAP).
    For doing these scenarios i would like to request you people to send me the step by step guide which explains me about the complete steps of configurations required to do the RFC to FILE scenario and FILE to RFC scenario.
    I found some scenarios and i am in confused state. so i request you to please put your experience to help me out.
    thanks in advance.
    Regards
    Raj

    Hi Aaron,
    I don't know your scenario and your ECC and PI versions but I learned how to use ABAP Proxy more than 1 year ago with the following tutorial:
    Edit--> The forum doesn't allow me to post external link, just search "ABAP Proxy Communication Scenario" in google and visit the 1st result
    The way to develop ABAP Proxys has changed a little if your PI is 7.1. In the ECC side, the transaction SPROXY looks much better too if you have a recent version of the ECC.
    Edited by: Marshal on Oct 8, 2009 5:08 PM
    I've found that SDN Document. Maybe the scenario is not the most simple to start with ABAP Proxy but is very well documented and is for PI 7.1. The document also handles the inbound and outbound proxys
    [http://www.sdn.sap.com/irj/scn/index?rid=/library/uuid/c00ca32e-f991-2b10-f5be-97114bd2b08f&overridelayout=true]
    Edited by: Marshal on Oct 8, 2009 5:22 PM

  • Addressbook Bluetooth and iSync - Get numbers off phone to AB

    Greetings,
    There were many topics on this after a search but I couldn't find an answer I could understand. Forgive me if I am a little slow.
    I plan to buy the iPhone here in the next few days. My old Motorola RAZR V3 has bluetooth and works flawless by syncing AB with the phone by using iSync. However, none of the phone numbers from my phone (Which weren't in AB before) end up in my AB. Am I doing something wrong here?
    I never used any type of sync before since I didn't need a media device but now I guess I do? Apparently iPhone has a new built in SIM card and I can't transfer my numbers if I don't do this?
    Thanks.. Oh... What is really the difference between iSync and the Sync in addressbook? Everytime I click the bluetooth icon in AB it asks to pair then nothing happens?
    //Cheers

    That happens if you've got your contacts stored on your SIM card in the RAZR. Transfer them to your phone, then they'll magically appear in address book. I've found as well that for some reason the bluetooth pairing in address book doesn't do much, iSync does though.

  • My macbook's safari wont open. At first it got deleted and so i got it back by bluetooth and now t wont open because of the update. Any ideas on how to update it or get safari back? it got deleted :/

    my macbook's safari wont open. At first it got deleted and so i got it back by bluetooth and now it wont open because of the version of mac OS X update. Any ideas on how to update it or get safari on my mac? It got completly deleted i checked everywhere including applications but its gone. it got deleted :/

    Here it is : Safari 5.0.6 for Leopard

  • TS3280 How can i enable both paired bluetooth and ios keyboard input at the same time?

    How can i enable both paired bluetooth and ios keyboard input at the same time?
    This is needed for the app im working on. Need some user input via keypad as well as scanner input via a paired bluetooth scanner.

    You probably should not be using a keyboard bluetooth profile for a scanner, I am not a developer for apple so do not know the location for you to find out the correct profile you should be using for an input device that is not a keyboard. Sorry,
    I am sure if you navigate the apple developer site you will probaly finmd what you're looking for.
    https://developer.apple.com

  • Short-sighted approach to Bluetooth and Wi-fi.

    I've just bought an Ipad - which I think is a truly amazing bit of kit. However within 36 hours I've discovered some very basic shortcomings in the software design in respect to both Bluetooth and Wi-fi. I was so shocked at their absence that I ran these past the Apple Support team who confirmed my worst fears.
    The Ipad Bluetooth will not work with my Blackberry 9000. The Blackberry pairs with the Ipad but the Ipad syncs with nothing. Given that Blackberries are probably the most used smartphone in the business community - this seems like a really serious oversight?
    Wi-fi printing I'm told only works with Airprint 101 - but then is limited to a narrow range of HP printers. Why? I have an HP Photosmart 3310 which is wireless and can accept wireless connectivity from any Windows based PC. I did evetually find a messy solution to the problem which I'll detail because I'm sure there are clever enough people working at Apple who might just be able to fix it better!!
    You need to create a directory in the Programs Directory called 'Airprint'. You then need to download the three files that Airprint 101 uses and locate these in the directory. As soon as you rum 'Airprint.exe' your Ipad will show you any printers that are attached through wi-fi. However you must keep the directory with the Airprint files open because as soon as you close it - the printers disappear.
    I improved the situation slightly by creating a task in the Task Sceduler to run when the PC opens and which automatically runs the 'Airprint.exe' file. Now all I have to do is to ensure that my Windows PC is on befire I use my Ipad!!
    There has to be a better way than this and I feel it detracts from the Ipad as a potentially super piece of kit.
    Perhaps someone from Apple would like to look into this and give some feedbasck? Thanks.

    The Ipad Bluetooth will not work with my Blackberry 9000. The Blackberry pairs with the Ipad but the Ipad syncs with nothing. Given that Blackberries are probably the most used smartphone in the business community - this seems like a really serious oversight?
    No. It doesn't work with any cell phones.
    The iPad Bluetooth works with only with headphones and keyboards.
    Wi-fi printing I'm told only works with Airprint 101
    Dunno what *AirPrint 101* is. AirPrint was incoporated into iOS 4.2.1
    but then is limited to a narrow range of HP printers. Why?
    Besause printer manufacturers have not updated their printer firmware to speak "AirPrint". It is up to them to make their printers compatible, not he other way around.
    You need to create a directory in the Programs Directory called 'Airprint'. >You then need to download the three files that Airprint 101 uses and locate these in the directory. As soon as you rum 'Airprint.exe' your Ipad will show you any printers that are attached through wi-fi.
    This has nothing to do with Apple. It's somebody hack to get iPads to print through a computer.
    AirPrint does not talk through a computer.
    It talks directly to the printer on the network.

  • I have a dv4-2180us and I want to change out the wifi card for one w/ bluetooth and 5G

    Product name dv4-2180US. My wifi card is intel wifi link 1000 BGB, and I'd like to switch it out to an intel 6230 that has both. Is it possible to modify the BIOS? I have upgraded my BIOS to the most recent 55454 hoping that would correct the problems with the keyboard...which it has not...but I'm far more interested in making full use of my network., Thanks.

    I can tell you that you need to make sure the form factor is the same on the new as the existing one.
    The bios really has no bearing on it. Its hardware thats compatible with hardware.
    Parts like that are not readily available to swap from machine to machine. There are standards for which the card interfaces to the machine and thats why I mentioned the form factor of the card.
    Physical dimensions are also to be noted, as some cards are larger than others with the same form factor.
    You really have to do your homework and research to see what will work.
    Your machine may already have a slot availble for a bluetooth board, or fingerprint reader as those are both viable options.
    You are not likely going to get bluetooth and wireless n on the same card anyways. I would suggest looking for a dual band wireless n card and seeing if you have another slot to put a blutooth module into.
    Another option is to get a type 2 cardslot module and just insert it when you need it. If your machine has this type of external cardslot it may be your cheapest option.

  • Month to Date and Year to Date Scenarios

    <b>Dear SAP BI Gurus,
    Can anyone please give me guidance how to create a Month to Date and Year To Date Scenarios (Variables perhaps?) for 0SRR_CF_C1?  The date is in decimal and not DATE format…  I’m assuming the reason for this is to get the Time variance….  Nonetheless, I’d like to create a MTD and YTD scenario for reporting.
    Much Thanks
    Philips Manalaysay</b>

    Hi,
    You should take a look at the blog and doc below.
    /people/vikash.agrawal/blog/2006/10/17/enable-trend-reporting-150-by-manipulating-variable-value
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/25d98cf6-0d01-0010-0e9b-edcd4597335a
    Regards,

Maybe you are looking for

  • Problem with applications that doesn't show even if installed and to uninstall some that work wrong

    Hi there! Problem #1: I've been having problems with my Windguru application in my Iphone. From sometime onwards, it is not showing the forecasted wind, etc after I open it. Tried to uninstall and install again but the problem continues. Seems like t

  • How to fix Width of column in classic report.

    Dear Friends i am using Apex 3.2. i have created Clasic Report and i have summary column in my report that column have description of issue so i want to fix width of that column nn Classic report . i have try some code in html expression <span>style=

  • Can't get definitions factory from context in struts tiles in weblogic 10

    I have exception trace which only happens whenever i recompiling my java file while running my web application in weblogic 10 javax.servlet.ServletException: javax.servlet.ServletException: javax.servlet.jsp.JspException: Can't get definitions factor

  • How to add new songs in n73

    Hi all i m getting difficulties in installing new songs so plz help to how to add new songs.

  • Automate update SAP message

    Hi All, I am able to create OSS message from Solution manager by performing the action " Send Message to SAP". Stautus also changes to " Sent to SAP". But i have to go to the ticket and perform the action "Update SAP message" to check whether I have