BlueTooth Emulator and examples  ???

hi experts i want to write some program which use bluetooth technology.
so where can i find the buletooth emulators and examples?
does anyone know the links?
thx

I'm not an expert but i know some link :
http://developers.sun.com/techtopics/mobility/allarticles/#bluetooth
Within the articles you can find some J2ME/Bluetooth development Kits.

Similar Messages

  • How do you locate a bug WITHOUT the emulator and the console?

    Hi.
    I'm new here and my English is not perfect but I'll try my best to explain my problem.
    I'm trying to port J2ME games to various mobile phone devices. I've no problem fixing bugs on Nokia, Sony Ericsson, or any models that offer an emulator and a console window.
    *** The problem is: In some case, The same build runs fine on Nokia/Sony emulator, but crash/freeze on LG phones.
    (this is just an example, it's not only LG phones that have this problem though)
    I believe it is possible to locate the bug by:
    - use the 'try/catch' block and print the error message using something like
    g.drawString(e.toString(),0,0,0);
    where 'g' and 'e' is a Graphics and Exception objects.
    But I wonder if there's a way to print 'everything that should be printed on the console', on the phones's display. So we don't need to manually put try/catch block.
    ok, to sum up the question.
    Question:
    1. Is there a way to print 'everything that will normally appear on the console', on the phones's screen?
    2. If no, then I'll need to try/catch the problem.
    But how can you use try/catch and "drawString" everywhere in the code?, while the actual drawing will be done only in the "paint()" method?
    I'm thinking of using 'getGraphics().drawString' when using try/catch outside the paint() method. but what's the point if the actual drawing will be done only in paint() method anyway...
    Sorry if it's a stupid question. I just started learning Java programming 3 months ago, let alone J2ME. >_<
    Thank you. =)
    /bow

    Hi Kakyoin,
    What I found was helpfull is creating a method in the MIDlet where you can display messages. For instance:
        public void createFormScreen(Alert alert) {
            // Set up the initial screen for the MIDlet
            Form formScreen = new Form("Your MIDlet name");
            firstScreen.append("Welcome to your MIDlet");
            myChoice = new ChoiceGroup(null, ChoiceGroup.EXCLUSIVE);
            myChoice.append("Your first choice", null);
            myChoice.append("Your second choice", null);
            formScreen .append(myChoice);
            formScreen .addCommand(OKCOMMAND);
            formScreen .addCommand(EXITCOMMAND);
            formScreen .setCommandListener(this);
            theListener = this;
            if (alert == null) {
                 theDisplay.setCurrent(formScreen Screen);
            } else {
                theDisplay.setCurrent(alert, formScreen);
        }So, from your constructor call the createFormScreen method, and your initial screen will be displayed.
    When an allert situation occurs in an object, call createFormScreen in a method like:
         protected void displayMessage(String title, String msg) {
              // Display the error message
              Alert error = new Alert(title, msg, null,
                        AlertType.ERROR);
              error.setTimeout(Alert.FOREVER);
              myMIDlet.createStartScreen(error);
         }Now the error message will be displayed on the screen indefenitaly. Off course your object where the error occurred should have a reference to the MIDlet object. I hope this helps you.
    Maik

  • Bluetooth pairing and so handoff does not work

    Hi!
    First of all I have a Macbook Pro 15" Retina late 2013 (bought at in the first months of 2014) and and iPhone 5s.
    rMBP has installed OS X Yosemite since yesterday and my iPhone iOS 8.0.2
    Positiv checks:
    - both devices support Bluetooth LE
    - both devices are on the same wi-fi network
    - rMBP support handoff and instant hotspot as displayed in system information screen
    - rMBP could "out call" over facetime and my iPhone to anyone
    - bluetooth is activated on both devices
    - airdrop (for everyone) is activated on both devices
    - handoff in settings -> general on rMBP ist actived
    - handoff in settings -> generall -> handoff & ... ist activated on iPhone too
    Problems:
    - handoff does not work between my rMBP and iPhone
    - in bluetooth settings both devices see each other, but they cannot connect to each other
    if I try to connect bluetooth from rMBP to iPhone I get: network not available
    if I try to connect bluetooth from iPhone to rMBP I get: connections failed
    so what can I do to pair/connect them both to each other for these incredible handoff features I want to use?
    things I tried out:
    - switching airdrop on and off on both devices
    - switching airdrop off and on on both devices
    - switching bluetooth off and on on both devices
    - clearing bluetooth device cach on rMBP and fresh select (pairing) in the settings
    - multiple trys on my iPhone to connect with my rMBP
    - resetting network settings on iPhone
    - resetting all settings on iPhone
    I run out of ideas .... can anybody help me please!

    yes, there is an additional troubleshooting for your iPhone.
    - be sure that you have still OS X Yosemite and iOS 8.0.2 or later (8.1 on Monday) installed on your devices
    - on iOS goto settings -> generall -> scroll down to reset settings (last option on general screen) -> reset all network settings
    - be sure to reconnect to the same WI-FI after you did that
    - be sure to activate Bluetooth
    - be sure that Handoff ist activated on your iPhone (Settings -> General -> Handoff)
    - be sure your MBP ist on the same WI-FI (same bandwith as well, for example both devices have to be on 2,4 GHz)
    if that troubleshooting does not work for you, goto settings -> iCloud -> scroll down to logout from your iCloud on iOS
    and than reconnect to iCloud on your iPhone 5c
    if that troubleshooting does not work too, goto settings -> general -> scroll down to reset settings
    and reset all settings, do the same as before
    you can also check on your MBP:
    - goto Macintosh HD/library/Preferences/By Host and check for files com.apple.Bluetooth......
    - delete them
    - do not forget to activate Bluetooth on MBP
    if you did the two boot-tricks in the troubleshooting, Bluetooth should be reseted to default, and if you open Settings -> Bluetooth on your MBP
    your iPhone should NOT be shown in the list of available Bluetooth devices.
    please tell me, what works for you!

  • Unable to do Bluetooth Connection and Transfer

    the Blue-tooth connection between the Nokia N86 8MP and my laptop (Toshiba A500-134) get failed always, if i try to send something from the phone to the laptop the error message is (Unable to Connect) and in the other way (Service discovery failed), i tried to add the laptop in the pairing devices, same result and same errors , please help.

    Hi surikid
    Sorry for the delay.
    In response to your question about versions, can create pda
    applications for pocket pc 2003 with version 7.1 but you will need
    to make sure you have Microsoft eMbedded Visual C++ 4.0 installed.
    See the knowledgebase and related links below for more info:
    http://digital.ni.com/public.nsf/websearch/7D65D66EB07111F186256EBD005A5499?OpenDocument
    Now with regard to your code, in order to get this to work, we are going to have to make some changes. I haven't really spent any time looking at the read algorithm on the bottom halve of the code as I am not exactly sure which configeration you are running your Nonin 4100 on. Can I suggest you search for bluetooth in the find examples section of labview and look at the simple bluetooth - pocket pc example. Look at which vi's are used in both the client and server and have a play around with it. In your code everything is fine until the bluetooth create listener vi. This vi is used to create a channel for a server to listen for incoming connections on. You will need to set up your pda to be the client not the server. The nonin 4100 will be the server, constantly throwing out the data. All you need to do is discover the device you want and then open a connection to it. Once connected you need your read algorithm to exract the data.
    One last point, as I already have said, I would suggest implementing some error handling. Use an unbundle by name function to exact the status from the error cluster after the bluetooth read vi. Then use a boolean OR before the 3 stop terminals of the 3 while loops at the bottom, so that the program will stop if an error occurs. You will need to put a simple error handler after the close connection vi.
    Hope this all makes sense.
    Rich

  • Bluetooth connection and PINs

    Is it possible to send a PIN via Java to establish an encrypted connection with a bluetooth device?
    We have a midlet that tries to establish a BT connection between a phone and a device. Right now, the phone prompts us for a PIN when we try to get an encrypted connection.
    We would like to code the midlet to pass the PIN instead and bypass the phone's prompt.
    JSR82 leads me to believe it is left to the BCC to handle the PIN. I'm hoping someone out there may have run into a similar situation and can let me know whether or not this is possible.
    If it is possible, please provide and example of the code to establish the connection and pass the PIN.
    Thanks,
    Allen

    I have a similar problem:
    I want to search and discover Bluetooth devices without the help of a vendor BCC. Can Java do this through Windows somehow?
    Sean

  • Acquiring from bluetooth spp and draw signal

    Dear Sir:
    I'm using labview 8.5
    How can I use bluetooth vis to draw ecg signals coming from adc and sended to bluetooth module(as server) , and draw it??
    I've saw bluetooth client examples but I still need help
    thanks for help
    Sajed

    Hi,
    We have a similar problem. We're trying to visualize an ECG signal using a Bluetooth connection and LabView 8.
    The Bluetooth module we are using is a Parani ESD-200, and it works using the Serial Port Profile (SPP); we also have a MSI Bluetooth dongle which allow us to create a Virtual Comm and connect the Laptop and the ECG.
    We are using VISA to write and read from the virtual port; we don't have any problem with the reading, we configure and open the port and read the input data, but when we try to write, LabView doesn't recognize the port.
    The funny thing is that the data we try to send with LabView IS sent to the port, we know that because we programmed the DSP to turn on a led when it recibes any data in the input buffer...
    So, we don't know why LabView gives us that error, we'll be very thankful if anybody can help us...
    P.D. The error LabView gives is:
    VISA:  (Hex 0xBFFF003E) Could not perform operation because of I/O error.
    Mensaje editado por Luego

  • Mid-2012 Macbook air wifi connectivity, bluetooth interference, and SD slot

    I've had issues with all off these things since right around the time my warranty expired:
    -Wifi is often slower than all other computers in my house no matter where it is; it doesn't work at all if i have bluetooth on and connected to something. this seems to be a known bug that apple won't acknowledge- there are discussions of it here and on macrumors forums
    -The SD card slot often ejects or unmounts the storage expansion that I keep in it full time. not just when battery is low or even while sleeping, but sometimes while I am sitting at the computer working. I've had to repair the sd card with disk utility multiple times as a result.
    -Battery life is down to about 3 hours- battery health says it is at 83% of its original full capacity but I know it used to get 6 hours easily, and mavericks was supposed to improve that. I'm wondering in part if the SD card is part of what's killing it, but there is no way I can find to really get a deeper analysis of what's using the power. I do nothing on my computer except use office applications, browse the web and listen to music through headphones or a wired speaker (since BT won't work with the internet).
    Mid-2012 13" MBA, running 10.9.4. I have no pirated software on here and have been gradually moving things to cloud storage, so the hd is only 54% full. I'm going to have to pay for a support ticket to get any help on these things, so i'm wondering: Is it worth it? Will I end up paying for every separate issue? I feel pretty confident Apple support is not going to acknowledge the first two points are part of larger and unacknowledged issues, especially being out of warranty, and battery life is so subjective.
    I'm honestly feeling close to buying a windows 8 machine.

    I have seen lots of issues on Yosemite with Wifi (and have been having issues myself), but yours seem different. It is a pretty new computer, have you tried taking it in under Applecare (if you live somewhere this is convenient)? Maybe you just got a defective wifi card.  I won't defend Apple over this wifi mess, because it really is terrible, but your issue seems not the same as the ones I've read about while researching how to fix mine (unsucessfully....).

  • I am having trouble getting my My Mac Book Pro 15" Retina to wake up with an Apple Bluetooth Keyboard and Mouse while Docked in a Hengedock vertical docking station.

    I am having trouble getting my My Mac Book Pro 15" Retina to wake up with an Apple Bluetooth Keyboard and Mouse while Docked in a Hengedock vertical docking station. The Keyboard and mouse work great with the laptop lid open but when closed in the docking station the bluetooth signal does not seem to transmit.  Is there a setting that can be changed to allow an Bluetooth keyboard and mouse to wake the computer while docked?

    Please read this whole message before doing anything.
    This procedure is a diagnostic test. It’s unlikely to solve your problem. Don’t be disappointed when you find that nothing has changed after you complete it.
    The purpose of the test is to determine whether the problem is caused by third-party software that loads automatically at startup or login, by a peripheral device, by a font conflict, or by corruption of the file system or of certain system caches.
    Disconnect all wired peripherals except those needed for the test, and remove all aftermarket expansion cards, if applicable. Start up in safe mode and log in to the account with the problem. You must hold down the shift key twice: once when you turn on the computer, and again when you log in.
    Note: If FileVault is enabled, or if a firmware password is set, or if the startup volume is a Fusion Drive or a software RAID, you can’t do this. Ask for further instructions.
    Safe mode is much slower to start up and run than normal, with limited graphics performance, and some things won’t work at all, including sound output and Wi-Fi on certain models. The next normal startup may also be somewhat slow.
    The login screen appears even if you usually login automatically. You must know your login password in order to log in. If you’ve forgotten the password, you will need to reset it before you begin.
    Test while in safe mode. Same problem?
    After testing, restart as usual (not in safe mode) and verify that you still have the problem. Post the results of the test.

  • Is it possible to share 1 bluetooth keypad and 1 mouse pad between two computers in target mode?

    Is it possible to share 1 bluetooth keypad and 1 mouse pad between two computers in target mode? Grab a drink and let me tell you my story.
    I purchased two computers... an iMac 27" i7 3.4 16GB RAM and a Mac mini 2.3 i5 8 GB RAM. Both have Thunderbolt capability and are in fact connected by thunderbolt. I have 3 problems...
    1. My Mac mini WILL NOT recognize any bluetooth keyboard. Let me back up for clarification. I set my iMac up first. No problems there. I then went on to set up my mac mini. A couple of interesting things happened concering bluetooth activity. First thing is that the keypad, which was already paired with my iMac wouldn't be recognized by the mac mini, and yet my bluetooth mouse which was paired with my iMac became paired with my mac mini and thus wouldn't be recognized by my iMac anymore. I had to go to my back room and dig out my other bluetooth mouse so that my iMac would at least recognize my second mouse. So now I have two "mice"presently. One for the mac mini, the other for the iMac. Thankfully I also had a USB keypad for my mac mini. My bluetooth keypad is still paired with my iMac but won't pair with my mac mini, which brings me to another question....
    2. CAN 1 KEYPAD AND 1 MOUSE PAIR WITH TWO DIFFERENT COMPUTERS SO THAT WHEN I GO INTO TARGET MODE VIA THUNDERBOLT I CAN USE THE SAME KEYPAD AND MOUSE FOR BOTH COMPUTERS? Anybody have some thoughts on that problem?
    3. WHY IN THE WORLD IS MY MOUSE CURSOR DISAPPEARING EVERYTIME I EXIT TARGET MODE VIA PASSWORD AND COMMAND F2. I'm using target mode to access my mac mini. But when I exit target mode to get back into my iMac I'm looking at my iMac screen but I can't see the mouse pointer! I can move the pointer around even though I can't see it. Wierd. And this has apparently been going on for some time with other users for over a year. I am presently completely up to date on Lion updates. Both systems are running 10.7.4. Does anyone have a solution or heard a rumor of a solution coming soon regarding the invisible mouse cursor "curse". I hate having to restart my iMac everytime I exit out of target mode just so I can get my mouse cursor visible again.
    Food for thought.... Wouldn't it be really cool to have a target mode capability to see your other computers desktops in seperate window screens on your main display. You then could go back and forth from each window by just double clicking or by certain key commands. You could drag and drop from desktop to desktop. Tell me this is coming soon.
    Thanks

    There was a duplicate post of this question answered at:
    http://exchange.ni.com/servlet/ProcessRequest?RHIV​EID=101&RPAGEID=135&HExpertOnly=&HFORCEKWTID=8448:​5&HOID=50650000000800000065190000&UCATEGORY_0=_26_​%24_13_&UCATEGORY_0=_26_%24_13_&UCATEGORY_0=_26_%2​4_13_&UCATEGORY_S=0

  • How can I simultaneously play music through Bluetooth and AirPlay to my Bluetooth speaker and Apple TV?

    Hello, I have recently purchased a new Bluetooth speaker and I would like to use it with my already working home audio system which I control with the airplay feature on my Apple TV. I tried to use the airplay function on my iPhone 4S and connect the 2 at the same time but It would only let me connect one. If there is an app that will allow me to connect the Bluetooth speaker and the Apple TV simultaneously thought my iPhone 4S or any other solution please feel free to let me know. Thanks...

    There is not one and it cannot be done at this time.

  • How do i add a bluetooth device to my mac? there is no " " button in my bluetooth preferences and turning the devices to discover mode doesn't work

    How do i add a bluetooth device to my mac?  There is no " +" button in my bluetooth preferences and turning the devices to discover mode doesn't work

    The Bluetooth setup assistant should "find" a device in range when that device is turned on. What are you trying to add?
    Wireless input devices: Bluetooth frequently asked questions ( How do I add or remove a wireless device to or from my Mac (pairing or unpairing)?)
    Barry

  • A few questions about bluetooth technology and headsets...

    Alright I am new to bluetooth technology and headsets, and want to do the proper research before I buy one.
    1)I have seen some have 1.2 and 2.0 technology, so what is the difference and should I only look for one that offers 2.0?
    2)Do they all offer a vibrating alert?
    2b)Or just those really big kinds that look like hearing aides that have that little box behind your ear?...
    http://cgi.ebay.com/ws/eBayISAPI.dll?ViewItem&ssPageName=STRK:MEWAX:IT&item=2002 46049729
    3) Do they all have a multi-function button, 3way, mute, volume etc?
    3b) Or are some just a single button that only answers and hangs up?
    4) Do any of these charge via bluetooth?
    5) I've seen some bluetooths have a micro sd chip in them... what is the point of this? Can they be used like a usb storage device?
    6) Can you buy those usb to mini-usb adapters for charging and data transfer (not sure what kind of data you would transfer to a headset) separate from having to buy a combo kit that comes with it?

    You might try Google and look for answers, these are pretty comprehensive questions regarding a broad sweep of headsets. You might get answers on a few models, or just Apple's, here.
    If you click on each of the models in the link I gave you it goes into more detail about each one.

  • Bluetooth mouse and keyboard do not work

    I purchased an iMac G5 about 6 months ago. I got it with a bluetooth mouse and keyboard. I have had trouble with it from day 1. Apple had me replace the logic unit, and it worked for a couple of weeks. Then as soon as the 90-day warranty for complimentary service ran out, it began working sporadically. Now it doesn't work at all. It says I don't have a bluetooth module installed or attached to my computer (which is what it said before the logic unit was replaced. The computer works fine with a USB mouse and keyboard. Had I known bluetooth was so tempermental and difficult, I sure wouldn't have got it with my computer.
    Unless there is a smart person out there who knows what is going on, I guess I need to buy a new USB keyboard and mouse. Anybody interested in buying a bluetooth keyboard and mouse cheap?

    Russell,
    The warranty period on your mac is 1 year. The complimentry phone service period is 90 days unless you have a hardware problem. I'd say you likely have a hardware problem and will not be charged for the phone call.
    I'd suggest 2 things:
    1. Sign up for Applecare as has been recommended countless times.
    2. Make the call to tech support and see what they say about your problem.
    Good Luck,
    John

  • Mouse stops, computer freezes. this problem occurs with any mouse: bluetooth, wired, and a spare logitech wired mouse.  iMac 0S10.6.8

    Help! Mouse stops, computer freezes. Restart helps for a while, then mouse doesn't respond. Problem occurs with my 4 "mice" - bluetooth, apple wireless, logitech wired & microsoft wired. Any solutions?

    Problem solved!
    First, the underlying cause MAY have been an unusual circumstance: a smartphone (Galaxy Android) was placed next to the iMac, turned on and with Bluetooth enabled, and left for hours to charge.  Could this proximity have resulted in the Mac getting some strange Bluetooth input?
    Fix:  Using the temporarily-installed mouse and keyboard, I removed the existing Bluetooth keyboard and trackpad entries. (I just removed every Bluetooth device.)  Then I used the standard procedure to re-pair the wireless keyboard and trackpad.
    After removing all Bluetooth devices, I could not get the Mac to detect any Bluetooth devices until I restarted the Mac, at which point device detection and pairing worked flawlessly. 
    My best --and admittedly ignorant, sketchy-- theory:   Some mal-formed event got stuck in the Bluetooth input stream, causing the trackpad up and/or down states to be hyper-sticky.  That event couldn't be cleared without removing the originating device and re-pairing.
    HTH

  • Brand new IMac 27 bluetooth mouse and keyboard not connecting for eight minutes after start up.

    I have a new imac 27 that has worked flawlessly for three weeks.
    All of a sudden, when starting up the mac boots fine but the bluetooth mouse and keyboard are non responsive. This state is maintained for between 7 and 8 minutes then both mouse and keyboard start working and continue doing so for the rest of the day....until the next restart and the whole saga repeats itself.
    Both sets of batteries are fully charged.
    I have scoured different sites and tried any suggestion that made any sense, to no avail. All I am able to do at the moment is to do the time, wait the 7 to 8 mins. and then all's good.
    My first Mac and this is very annoying especially as Apple must be aware of this issue but no solution is forthcoming!
    Any suggestions/workarounds would be great.
    Thanks

    if you are using rechargeable batteries sometimes they don't stay charged for as long as they should try using alkalaine batteries and see if the issue still persists.
    also try doing an SMC reset, the following article tells how to do this:
    http://support.apple.com/kb/HT3964

Maybe you are looking for

  • The question about the HA installation on ECC6.0

    Hi Experts, We are about to implement a project with HA environment on the ECC6.0 in the near future, which is just about the ABAP stack. After reading the Installating Guide, I stil have several questions related to the procedures of HA installation

  • Runtime Errors STORAGE_PARAMETERS_WRONG_SET

    Hi, My functional team had run customized program in dialog, but after few minutes the error occured as below:- Runtime Errors STORAGE_PARAMETERS_WRONG_SET What happened? The current program had to be terminated because of an error when installing th

  • Starting software up externally

    Hi I have a project coming up that involves two mac minis (10.5) positioned in awkward places running software and with no monitors attached. I can ensure the software opens up on start up each morning but if something goes wrong, is there any possib

  • I cannot refresh pages in firefox anymore since i updated to firefox 4.0

    I cannot refresh pages. Not when I opened a file, nor when i have open a webpage. When i want to refresh a file, i have to reopen it again.

  • Label Modifications in ESS/MSS DCs -- question about *.xlf files

    Hello, I have seen this question in other places and all the answers did not quite make sense and were sometimes conflicting. We have been trying to modify some text labels in an ESS/MSS web dynpro DC. We make the changes in the View properties, save