Bluetooth inquiry makes phone hanging

Hi,
I got interested into bluetooth, after seeing some great applications, and started programming in J2ME.
The following code searches for devices in the BCC (Bluetooth Control Center) with the retrieveDevices() method and returns the bluetoothaddres of the first device found in the RemoteDevice[] array, that is if any PREKNOWN or CACHED devices our found. After succesfully transfering and running the application on my cellphone the lines in the form show:
-"no CACHED devices found"
-"no PREKNOWN devices found"
Which looks strange to me because I have a few pre-paired devices on my cellphone.
So I added the startInquiry() method, compiled the applet and ran it on my cellphone (Nokia 6303i).
Now when I run the applet there is a progress bar appearing on my screen, which appeared before also when I only used the retrieveDevices() method, and that's it. I guess this is because the device is searching for nearby BT devices but even after 30 minutes this progress bar is still on my screen.
I was hoping that any of you guys could see the mistake in my code, I know I don't. Any ideas?
Thanks in advance,
Rambo.
import javax.microedition.lcdui.*;
import javax.microedition.midlet.*;
import javax.bluetooth.*;
import java.util.*;
public class Eigenschappen extends MIDlet implements CommandListener,DiscoveryListener{
     private Form form;
     private LocalDevice local;
     private DiscoveryAgent agent;
     private Display display;
     private Vector deviceList;
     private boolean booleaninquiry;
     public void startApp(){
     deviceList = new Vector();
          try{
          local = LocalDevice.getLocalDevice();
          }catch(BluetoothStateException bse){}
     agent = local.getDiscoveryAgent();
     String eig = LocalDevice.getProperty("bluetooth.l2cap.receiveMTU.max");
     RemoteDevice[] remotecache = agent.retrieveDevices(DiscoveryAgent.CACHED);
     RemoteDevice[] remotepreknown = agent.retrieveDevices(DiscoveryAgent.PREKNOWN);
     form = new Form("Properties");
     form.append("The MTU max is " + eig);
     if(remotecache != null){
     form.append("CACHED = " + remotecache[1].getBluetoothAddress());
     }else{form.append("no CACHED devices found");}
     if(remotepreknown != null){
     form.append("PREKNOWN = " + remotepreknown[1].getBluetoothAddress());
     }else{form.append("no PREKNOWN devices found");}
     if(remotecache == null && remotepreknown == null){
          try{
          booleaninquiry = agent.startInquiry(DiscoveryAgent.GIAC,this);
          synchronized(this){
               try{
                    this.wait();
               }catch(Exception e){}
          }catch(BluetoothStateException bse){}
          if(booleaninquiry){
          form.append("Inquiry gestart");
          }else{form.append("Inquiry niet gestart");}
     int sizeListInt = deviceList.size();
     String sizeListString = String.valueOf(sizeListInt);
     form.append("Number of found devices " + sizeListString);
     display = Display.getDisplay(this);
     display.setCurrent(form);
     public void pauseApp(){
     public void destroyApp(boolean unconditional){
     public void commandAction(Command c,Displayable d){
     public void deviceDiscovered(RemoteDevice btDevice, DeviceClass cod){
     deviceList.addElement(btDevice);
     public void servicesDiscovered(int transID, ServiceRecord[] servRecord){
     public void inquiryCompleted(int discType){
     public void serviceSearchCompleted(int transID, int respCode){
}

This is a user to user forum so you won't get an official reply from nokia here. If you want a comment from nokia use the "contact us" link near the top of the page.
If you feel that your phone is getting too hot you should get it checked out at a nokia care point. It's normal for the phone to get warm, but very hot is not normal.
Care points/service centres and repair info:
UK • Europe • Asia-Pacific • USA •
Canada • Middle East and Africa
Elsewhere: Click here, select your country, go to the support section, then select repair.

Similar Messages

  • TS3018 while trying to bluetooth my I phone 5 and GMC terrain, the blue tooth function is on, message appears: make sure GM is turned on and in range. How do I do this?

    while trying to bluetooth my I phone 5 and GMC terrain, the blue tooth function is on, message appears: make sure GM is turned on and in range. How do I do this?

    I may have already resolved this issue buy removing the device from my computer and re-pairing it. It is currently working just fine.

  • Want to make phone calls via bluetooth on my iPhone from iPad

    I can link my Garmin GPS to my iPhone via Bluetooth and make or receive phone calls.
    I would like an iPas app that provides the sametype functionality including:
    Make calls
    Receive calls
    Look uphone numbers
    Is this possible?  Using what app?

    There are a couple of Apps out there that will allow you to use a Google Voice phone number to make and recieve calls via the iPad. I'm not sure exactly what you are trying to do. If you are trying to replicate the Garmin / iPhone setup I don't think that is possible.
    Google Voice  setup - gvconnect and talkatone. (wifi)
    Skype - I think that you can make phone calls via Skype and Wifi.
    I don't have a clue as if it is possible to make a phone call over 3G via the iPad.
    Paul

  • How do I make phone calls through my computer?

    I have a Lenovo U530 and it is equipped with bluetooth. My phone is an iPhone 5S and I was wondering how to make phone calls through my laptop. Please help!

    You can make free Local and STD call from any mobile or land phone. For this you need internet connection, PC and mobile/land phone. From
    Dingaling you can make free call. Create an account, login to Dingaling and put you and your destination number. Both number will call and connect for free. To know more details visit
    Worldwide free local and STD call.
    To know more about interesting tips, visit
    001 easy tricks.

  • Need help 2 get my new BB to receive my contacts via bluetooth from od phone!

    Hi guys, I just got a lovely BB Curve today and have spent the last 4 hours trying in vain to get it receive my contacts list via bluetooth from my old phone. I have paired them up and can send to my old phone but cannot receive to my BB. My old phone attempts to connect and then it comes up with a connection failed message. I have tried all sorts: making sure phones are visibile, setting them to 2 mins ....then changing it to "yes" ...making sure devices trust connection and then asking for a prompt....taking the encryption off...then leaving it on....
    I really am at my wits end as I have over 150 contacts and cannot face having to write them all out and manually type them in
    I am also terrified of getting into my new car tomorrow and finding out that my BB won't pair to my in-car bluetooth set up!
    Thanks!

    Not sure you can send/receive contacts via BLUETOOTH. Once the two devises are paired, then your done with the 2 minute limit and all that stuff. If each devise sees the name of the other devise, your done there. Then make sure there "connected" to each other. If not select the devise, press menu and select connect. Once that's done, your connected. Your car set-up should be just as simple. The setting about phone book entries, is for a bluetooth devise (headset, your car... things you make calls from and talk through) to have 'access' to your phone book to easily make phone calls. It doesn't copy or transfer your phone book, just has access. If your old phone has an option to "send contact via bluetooth" you'll probably have to do that for each contact and even then, I don't know that Blackberry will take it. Blackberry will however take v-cards. So if your old phone can e-mail a v-card, that would work. Blackberry can also synchronize with desktop applications like microsoft outlook and ever google mail. That way you'll have all your contacts from these locations as well. If your old phone can sync with these applications, that's another way to complete this task. This is done through your Blackberry Desktop Manager which also has a sync with other devises' so if your old phone has the ability to connect to a computer, you could try that. Many mobile phone carriers have software in their stores that help with this process and might be able to do this for you without charge.

  • Can't used my iPad to make phone calls with 8.0.2

    I can't get my iPad to make calls or answer texts through my iPhone. Same network, bluetooth on both devices, same FaceTime account. I can't find wifi calling on my phone to turn it off. Handoff is working just fine with safari
    any suggestions?

    Hello jllieblein,
    Wi-Fi calling is only available on T-Mobile. The setting can be found in Settings -> Phone, should you have T-Mobile. Otherwise, Wi-Fi calling is off.
    Make a call over Wi-Fi with iOS 8
    http://support.apple.com/kb/HT6339
    The steps below detail how to go about setting your iPad and iPhone up to make phone calls.
    Phone calls
    To make and receive phone calls on your iPad or iPod touch, here's what you need:
    Your iPhone and your iPad or iPod touch need to use iOS 8 or later.
    Both devices must be on the same Wi-Fi network.
    Both devices must be signed in to FaceTime using the same Apple ID.
    This means any iOS device that shares your Apple ID will get your phone calls. Look below for instructions on how to turn off iPhone cellular calls.
    Wi-Fi Calling needs to be off.
    You may also need to verify that iPhone Cellular Calls is turned on in Settings -> FaceTime.
    Turn off iPhone cellular calls
    To turn off iPhone Cellular Calls on a device, go to Settings > FaceTime and turn off iPhone Cellular Calls.
    Connect your iPhone, iPad, and iPod touch using Continuity
    http://support.apple.com/kb/HT6337
    Cheers,
    Allen

  • Impossible to make phone calls... drop drop drop...

    By now it's impossible to make phone calls because they drop every single time after about 3 seconds. My phone goes completely dead from the other side, they tell me. I love this phone for everything else, but shouldn't at least the phone function work?
    My wife want me to return it and get a "good" phone...

    Have you checked for the proximity sensor issue? i.e., is the screen turning back on after you put the phone up to your head and you're possibly hanging up the phone by pressing the screen with your cheek? Not saying this is your problem but definitely worth checking as it's a well known issue with the iPhone 4 and is widely expected to be fixed with firmware 4.1 coming soon. (I hope!)
    Easiest way to test it is to simply use the phone in speakerphone mode. If the call stays live then you've found your problem. Also, do you have a case on the phone to deal with the well documented antenna issue? That will kill a call as well if you're using a bare phone and touching the metal edges with your fingers.
    I replaced my 3GS with a 4 and rest assured, if you have a case on it, the signal and call quality is fine. I know for a fact that my new iPhone 4 is working better at holding voice calls than my 3GS in areas where my 3GS was known to have signal problems. I have a case on my phone and I do have the proximity sensor issue but I watch for that so otherwise, I'm very happy with the phone.
    If none of the above is an issue then you may simply have a defective phone and you should return it for a new one. Cheers!
    James

  • Cannot make phone calls after update to iOS version  8.1.3

    hi i do own an iPhone 6, it was a beautiful phone until i updated to iOS 8.1.3. Now i cannot make phone calls at times, the phone shows no network. I updated the OS  from wifi, my mom owns an iPhone 5c it also has the same problem. please help

    What you describe...
    Two iPhones
    Same issue
    Same general physical location (your house?)
    ... sounds very much like " cellular signal dead spot " OR "radio frequency interference"
    Test this by noting exactly where in your house that this takes place and also where it does NOT. Repeat until you have a "Map" of the good and bad spots.
    You cannot do much about the cellular signal but may be able to troubleshoot the interference problem. This document talks about Wi-Fi and Bluetooth, but the "Sources" might also apply to your cellular signal problem - radio waves are radio waves.
    Wi-Fi and Bluetooth: Potential sources of wireless interference - Apple Support
    ÇÇÇ

  • I can't make phone calls anymore

    hello everybody,
    i've got one of the first iphone 5. and since yesterday i can't make phone calls anymore.
    if i want to call someone, the other phone rings, but if he accepts the call there is just a very loud static rush noise. that was yesterday and this morning, now there is nothing besides sometimes a static rush. i can't hear anything and the other doesn't hear anything.
    i've checked the microphone by using siri or voice recorder. there it works fine. everything is fine, just the phone calls don't work.
    even if i try to make phone calls using bluetooth handsfree it doesn't work.
    i resetter my phone completely and set it up as a new phone but still the same.
    i just don't know what to do. i need my phone for 6 more weeks until iphone 6 is ready
    thank you for your help.
    greetings from germany

    The same thing is happening with my wife's iPhone 4 and we can't figure it out. When placing a call, the screen freezes and she needs to restart the entire phone.
    She upgraded to 5.01 this morning over the air while it was plugged in. Immediately afterwards, this problem started happening. We've tried restarting the phone several times and plugged in to iTunes but there's nothing she can do do to fix it.
    Any help is greatly appreciated!

  • How to share any file via bluetooth with other phones?

    how to transfer file via bluetooth with other phone?

    Ntsako wrote:
    I want my money back its useless if u cant share anything with your friends.....
    You have a seriously limited imagination if you think the lack of one feature makes the device useless.

  • Updates,phone hanging,camera zooming in 12mp,slow running,

    Please send me the update of 4.3jelly bean, I have some problem in camera back zooming not clear,phone hanging,battery quickly drain,please give the stamina mode, Ian using sony xperia ion lt28hion,3gmodel, ram only showing 640 mb other 600 mb not ram showing I read ram spec its 1gb, 1024 mb ram not showing,
    Solved!
    Go to Solution.

    When I connected to computer I can't transfer phone contacts to laptop,sony pc companion takes too much time its need big improvement,make beta version make the software user Friend,fast,reliability, all transfer

  • Bluetooth disconnects from phone

    I am a new Motorola Droid 3 user. I have tried 3 different blueteeth....a Jabra BT135, a Plantronics 520 and a Samsung HM3500. All three have the same issues. 1.) the connection between the earpiece and the phone breaks frequently. Sometimes when this happens, the phone automatically goes to speakerphone, sometimes not. 2.) it does not recognize many of the contact names and the names that it gives as options aren't even close. 3.) Frequently it will say "Opening message" when I request it to make a call. The issues defeat the purpose of hands free, since I usually have to pull off of the road and manually use the contact list to make a simple phone call or to reconnect the bluetooth.

    Mordhelm wrote:
    Another thought I had was it was the "BluetoothDUN" process that may be causing it. I ended it, and tried another conversation. The result was a failure.
    This means my original theory is still valid. Does anyone have any input or similar experiences. Furthermore, could people post the apps they have downloaded & installed, to see if we can find a correlation there?
    The VZW store employee who I spoke with when I had the issue with my original phone suggested that it could be an older bluetooth adapter causing the issue. However, I can see this causing issues with disconnecting, but once the system disconnects, the bluetooth on the phone is supposed to be smart enough to disconnect the bluetooth. I noticed that bluetooth was still showing "connected" in the top menu bar. This leads me to believe that the bluetooth unit in the phone is defective (indicating there is a rash of defective bluetooth devices), or the software is buggy.
    Hi Mordhelm,
    I understand your discontent. I would be frustrated if my Bluetooth connection failed at random. I checked my resources and this issue is not noted as a known issue with this device. This issue could be the result of some third party app conflict. Run your Droid 3 on Safe Mode for while using your Bluetooth device and see if this resolves the issue. Safe Mode temporarily disables all applications that have been installed via the Android Market. Performing this troubleshooting step is necessary to determine whether a 3rd party application is the cause of an Operating System / Application issue.
    If issue continues while running phone in safe mode the next troubleshooting step will be to do a Factory Reset. Please keep in mind that performing a hard reset will remove ALL data including the Google account, system data, application data, application settings, and downloaded applications.

  • Make phone calls from my computer!

    I thought I had already made this thread by I guess something went wrong!
    So, is it by any chance possible to make phone calls using my iBooks Mic and Spkrs through my Nokia 7610 connected either with bluetooth or with the USB cable? I only found in the address book a button that makes the phone call but uses the telephone! Like making a call through the telephone line..
    Is it?

    Your car BT device has to support the Bluetooth Phone Book Access Profile (PBAP) to sync contacts from your iPhone.  Check with the manual for that device.

  • Am facing issue on my iphone 5s after updating to ios 7.1.1, every while the phone hang after lock it and cannot unlock and even cannot turn on the screen this is so annoying, kindly advice if i have to go back to the store as device still under warranty

    Am facing issue on my iphone 5s after updating to ios 7.1.1, every while the phone hang after lock it and cannot unlock and even cannot turn on the screen this is so annoying, kindly advice if i have to go back to the store as device still under warranty, and if its a hardware issue or software ??

    Hello HaithamOkeely,
    We've an article that provides the following troubleshooting steps that may help stabilize your iPhone.
    If the device is unresponsive or if certain controls aren't working as expected, restart your device.
    If the device remains unresponsive or does not turn on (or power on), reset your device.
    If there is no video or if the screen remains black, verify that the device has enough charge to turn on:
    If you are using an iPad, ensure that it's connected to the USB Power Adapter supplied with the device.
    Let it charge for at least twenty minutes, then see if it starts normally.
    If there is no image on the screen, press the Sleep/Wake button to attempt to wake the device.
    If the screen displays a red battery icon, continue charging the device until the battery is fully charged. Learn more about charging iPhone and iPod touch, or iPad.
    If the above steps do not resolve the issue, or the if the screen remains black or shows a persistent Apple logo, try restoring with iTunes:
    Connect the device to your computer and open iTunes.
    If the device appears in iTunes, select and click Restore on the Summary pane. Learn more aboutrestoring iOS software.
    If the device doesn't appear in iTunes, try to force the device into recovery mode, and then restore it.
    If the above steps do not resolve the issue, contact Apple.
    iOS: Not responding or does not turn on
    http://support.apple.com/kb/TS3281
    Cheers,
    Allen

  • IOS7.0.2 can not make phone call anymore

    iPhone 5 upgraded to iOS7.0.2 cannot make phone call anymore? Reset all settings, didn't solve the issue. Help!

    Contact your phone carrier to resolve the issue, it is a carrier feature.

Maybe you are looking for

  • When I get attachments in my email, they will not open when I click on them.

    When I am on the internet, videos, click-ons all open immediately. I had to go to the internet to get to your site, because when I clicked on the "Help" at the bottom of my Thunderbird account, it would not open. In a nutshell, if I get an email from

  • How to get contact details in C# code , when new contact is created in Exchange Server 2013

    Hi all, In my exchange server 10 users there, i need to create service that  if any user log in his account and create new contact, then i need  that new contact details in C# code  immediately [EWS Managed API].  how can i achieve this ?

  • Query syntax error after multiprovider change

    Hi everyone, I removed key figures from a multicube, changed a query on top afterwards and saved it. The key figures are no longer in the key figure list of the query in the Query designer, and are no longer used in any place within the query. Now, I

  • AI CS5.1 Crashing when opening certain files.  (APPCRASH)

    I recently did 2 designs in Illustrator CS5, saved them, walked away for a bit and when I came back, they will not open in Illustrator anymore.  I get the following error. Problem signature:   Problem Event Name:          APPCRASH   Application Name:

  • Illustrator CS3 doesn't fully start

    [Windows XP SP3] Hi everybody, I'm an AI CS3 user, and a few days ago, I accepted an automatic update to the 13.0.2 version. But now, when I launch it, the orange box appears, information is scrolling, and then... nothing. Other CS3 applications are