Connect a phone to another phone

Hello,
I try to connect a phone to another phone with the bluetooth api (jsr 82).
I have a phone which searches all bluetooth devices around him.
After the user select one device and send something to the device via a l2cap connection.
But the connection fails every time.
Here my code:
String connString = "btl2cap://"+
remoteDevice.getBluetoothAddress()+
":1001;ReceiveMTU=256;TransmitMTU=256";
L2CAPConnection client;
try {
     client = (L2CAPConnection)Connector.open(connString);
} catch (BluetoothConnectionException e) {
     showAlert(e.getClass().getName(), e.getStatus()+"", deviceForm);
} catch (IOException e) {
     showAlert(e.getClass().getName(), e.getMessage(), deviceForm);
}I recieve a BluetoothConnectionException with the state: FAILED_NOINFO.
Please help me.
Message was edited by:
chabfive

See here for help: https://discussions.apple.com/docs/DOC-3141

Similar Messages

  • I have a new imac how do i connect my phone to this computer if its registered with another without deleting all my content

    i have a new imac how do i connect my phone to this computer if its registered with another without deleting all my content. when i go on itunes it says that i can sync but will erase all the content and replace it with whats on the mac.

    Read this and follow carefully:
    Syncing to a "New" Computer or replacing a "crashed" Hard Drive

  • Cannot get my iphone 4 to connect via bluetooth to another phone or my pc

    I cannot get my iphone 4 to connect via bluetooth to another phone or my PC, despite activating bluetooth on the iphone it just says 'devices' 'searching' 'now discoverable'. I have put the 2 devices very close to each other as well.
    Anybody have any ideas?
    Thanks

    That's because it's not supported. The iPhone supports hands free devices, keyboards and A2DP audio streaming. Bluetooth can only be used to a computer for tethering. Some apps can establish peer to peer connections for gaming and data sharing, but that's it.
    What you're trying to do will NOT work.

  • Jabber for iPhone & iPad too long to connect to "Phone Services"

    Hello,
    Has anybody ever experienced delay issues with Jabber for iPhone and/or iPad to connect to "Phone Services"?
    In my case, the service does connect but it can take about 1 minute. Some times it can be faster but some others it can take a while to make the service available.
    Regards,

    You've hit the nail on the head with your last sentence, though to me a month (and then another) to wait for a new line is nothing - I am on my fifth order with BT. They lost the first three, then tried charging me an arm and a leg in excess charges for the fourth. I am trying again, this time with a total package to see if they are a bit more useful when they actually know I'm not going to switch to another provider - fingers crossed.
    If they do come back with massive excess charges again though this time I've done my homework. I now know the measurements between my property and the pole as well as the BT price list they use to calculate the charges. I've also worked out a cheaper route than the one they were suggesting - Ofcom say they should offer the cheapest route and the opportunity for the customer to do some of their own work but with me they didn't do either. They also didn't consider that we don't have reliable mobile signal here. They also didn't provide me with any details of how they'd come to that figure and just demanded it. I've had lots of advice from DEFRA, the Department for Business, Innopvation and Skills, Ofcom and ex-Openreach planners and should be able to get a line under the USO. I have a horrible feeling that I've done all this homework now though and they'll just come out and do it without demanding the excess, but if they do I am at least ready this time.

  • Can't download any apps off my phone, Tablet dos not connect to phone

    Someone please help me, cause I am honestly about to loose my mind. I have a Torch and I've only had it for a year now and all my services arent working, I'm considering switching to an IPhone if I can't figure this all out today.
    So first problem I'm trying to buy one single app off app world billing threw Roger's Canada and it keeps saying there was some error, I looked it up on the website and apperently you just have to switch to debit or paypal, I don't like using online payment methods like that why can't I just get it on my bill? Either way they get the money, I don't see how its so difficult to just bill threw my service provider. I also have no time to call them and tell them all I want to order,  I just want ONE $1.99 app, I'm not going to sit on the phone for 20 minutes+ for one app, then have to do it again when I want another app. I have been trying to buy the same one app for about 2 months now, seriously I just want to buy the app and get it over with how is that so hard? I want to bill threw my Service Provider it takes two seconds to put it on my bill. 
    Next problem, the blackberry bridge on my phone/tablet has just stopped working and disappeared. I paid $500 for this tablet that I was advised not to buy because Blackberry was "going down the whole" so much for having faith in the company, this thing is a peice of junk. And apperently so is my phone, again how is it all the sudden my bridge disappeared? I can't connect my phone to it now? So why didn't I just get a cheaper tablet that could do the exact same things??? I don't know if these are new problems in the system or something but I have been trying to hook up my phone to this tablet for a while it used to work then I upgraded the software and now its gone and I've tried everything its just not coming back. Like I don't understand, why would you not put the Blackberry Bridge in the updated version? And why is it deleted off my phone? Then when I try to re-install it, it says its still there. 
    Very disappionted in Blackberry right now, nothing on my phone is working and it seems I'm not the only one.  

    Hi and Welcome to the Community!
    samm1234 wrote:
    Someone please help me, cause I am honestly about to loose my mind. I have a Torch and I've only had it for a year now and all my services arent working
    Well, I can't tell...has it been working fine for a year, and this suddenly started? If so, what happened just before this behavior started? Undo that to see if it helps. If it's not been working at all for a year, well...I'm not sure how to reply to that...you must have great patience indeed, though.
    samm1234 wrote:
    So first problem I'm trying to buy one single app off app world billing threw Roger's Canada and it keeps saying there was some error, I looked it up on the website and apperently you just have to switch to debit or paypal,
    Oh how I do wish you'd have given us the actual error message...otherwise, you leave us guessing...but, in short, each carrier decides if they will allow carrier billing or not. It's their choice to do so, or not. I've no idea if Rogers allows it or not.
    Also, if you are part of a BES environment, it's possible your BES admins have restricted carrier billing...they, too, have the right to do whatever they must to enforce company policies. But, again, without details, this remains just another guess.
    samm1234 wrote:
    Next problem, the blackberry bridge on my phone/tablet has just stopped working and disappeared. I paid $500 for this tablet that I was advised not to buy because Blackberry was "going down the whole" so much for having faith in the company, this thing is a peice of junk. And apperently so is my phone  
    I completely disagree with your opinions there...but no matter, they are indeed opinions. There are plenty of people who are getting quite a bit of good use out of both types of devices.
    samm1234 wrote:
    again how is it all the sudden my bridge disappeared? I can't connect my phone to it now? 
    Well, once again, the lack of details makes it pretty difficult to diagnose. "I can't connect" is pretty useless as far as symptom descriptions go. For instance, what exact steps do you attempt? What exactly happens with each step? Any error messages? If so, once again, the complete and accurate error message is critical to helping you.
    samm1234 wrote:
    So why didn't I just get a cheaper tablet that could do the exact same things???
    It's a free market place, you are free to do whatever you desire. But, ranting here isn't perhaps the best way to seek help from kind volunteers... Plus, you've spent quite a bit of effort on your rants, but have left out the details that perhaps might have more quickly guided us to useful help for you...
    samm1234 wrote:
    I don't know if these are new problems in the system or something but I have been trying to hook up my phone to this tablet for a while it used to work then I upgraded the software and now its gone and I've tried everything its just not coming back.   
    Again, "tried everything" isn't terribly useful to us...we aren't clairvoyant... Have you tried completely removing the pairing of the two devices and re-configuring them from scratch? Also, what software did you upgrade? Your BB OS? Your PB? From what version(s) to what version(s)? Did you re-install the Bridge from scratch?
    samm1234 wrote:
    Like I don't understand,  
    And, from your lack of details and clarity, neither do we...
    samm1234 wrote:
    why would you not put the Blackberry Bridge in the updated version? 
    Updated version of what? BB Bridge is an add-on app, not used by everyone. As such, including it inside the core apps would be a waste of AppMemory for those who do not need it.
    samm1234 wrote:
    And why is it deleted off my phone?
    Well, you did some kind of upgrade or update, but since we don't know yet exactly what that was, we can only guess. And my guess is that you somehow updated your BB OS, and as such, you need to re-install all of your add-on apps. It is ALWAYS better to reinstall add-on apps when you upgrade the OS...some may not be compatible with the new OS you have installed. Some may have a different version for the OS you installed. Plus, reinstalling add-ons is always better so as to be sure that they are properly installed after such a major update of the BB OS.
    samm1234 wrote:
    Then when I try to re-install it, it says its still there. 
    That's interesting...but, again, the exact message it presents is always more helpful. Check here, though:
    KB10040 How to view or remove installed applications on a BlackBerry smartphone
    Anyway, lots of clarification is needed from you if we're to do anything but WAG.
    Good luck and let us know!
    Occam's Razor nearly always applies when troubleshooting technology issues!
    If anyone has been helpful to you, please show your appreciation by clicking the button inside of their post. Please click here and read, along with the threads to which it links, for helpful information to guide you as you proceed. I always recommend that you treat your BlackBerry like any other computing device, including using a regular backup schedule...click here for an article with instructions.
    Join our BBM Channels
    BSCF General Channel
    PIN: C0001B7B4   Display/Scan Bar Code
    Knowledge Base Updates
    PIN: C0005A9AA   Display/Scan Bar Code

  • Can I access my backup contacts on my mac somewhere whithout actually connecting the phone?

    Hi,
    I have a problem. Me an my boyfriend had to share the same apple id and the same macbook to connect our phones to. Now, for some strange reasons after backing up in iCloud. My boyfriend's contacts are all gone. iCloud backup still shows two different backup folders for the two seperate phones but I don't know how to see the content or don't know if that is possible at all. The question is, how can we get his contacts back? He is in another country and cannot connect his phone to the mac. I just hope now, after iCloud messed it up, that the contacts are still saved from the last backup he did on the mac itself (via iTunes). Is there a way to see then on the mac without connecting the phone?
    Thank you all,
    Julia

    Hi I think I have a solution.  I just purchased one of these amazing little phones this week and had the same issue, and I too was about to throw it out the door and revert to my old Noika 6120....I was also following the adivce above but no luck.  Then fortunately I came across this feature....
    Select  'Contacts' and you will see at the very top of the screen a little white bar with the word 'Contacts' in it, it also has a little drop down arrow to the right.  Use you navigation buttons to get you up to that little bar, when you are there it will highlight (my comes up in blue) then you have the choice of either 'Contacts' (refers to the Ovi info) or 'Phone' (refers to the 'old fashioned' list of contacts that we have all been looking for.  Select 'Phone'.  This will then allow the features that are mentioned in the discussions above to be activated.  Follow those instructions to make this 'Phone' list premanently displayed on your phone, but the instructions given above will work now.
    Hopes this helps, now I am so happy with new little phone, its fantastic!  Love it! 
    Cheers all
    eccydee

  • My iPhone never had a problem syncing with my iTunes. I check all the songs I want and when I manually connect the phone to the computer via USB, i would select "sync only checked songs and videos". No music will sync now and I've tried everything?

    Normally my phone would connect with my computer and replace all the songs on my phone with all the songs available in my library. Now it seems as if the songs on my phone are permanently there, and nothing from my iTunes library will sync. I tried syncing with another library on another computer and nothing would sync onto my iPhone from that one either. I feel like it's a problem with the phone, not the iTunes, but I'm not sure. Ive been trying things for the last 8 hours. Why won't my music sync to my phone??

    1. Open iTunes.
    2. Click the View option in the iTunes menu.
    3. Select the Show Sidebar option.
    Connect your phone, select it in the Sidebar...the various tabs will now show as before.

  • I am using iphone 3gs since last 4 days. Till yesterday night it was working fine and i have connected this phone for charging . Morning there was apple logo in the screen and every 1mte (approx) it is blinking. I could not restart the phone.Plz help

    I am using iphone 3gs since last 4 days. Till yesterday night it was working fine and i have connected this phone for charging . Morning there was apple logo in the screen and every 1mte (approx) it is blinking. I could not restart the phone.Plz help . I have tried to reset even by pressing sleep and home button but it could not help. Please suggest. Still i have connected for charging .

    Sounds like you have corrupt backup data, if this occurs from one phone to another. Try restoring the phone as a new device, without a backup. Try using for a day before installing any other apps, etc. See if that improves the battery life. Then try syncing back applications a couple at a time. Something seems to be locking in the processor which is draining the battery.
    Do you live in an area where there are Apple Stores? If so, try making an appointment with the Genius Bar to have the device checked out.

  • Help Connect me phone adapter cannot detect phon...

    Hi there,
    I recently bought Freetalk Connect Me phone adapter through Skype website. When I hook up phone line, ethernet and wall line as instructed, the setup wizard successfully detect my internect connection. However, it cannot detect my wireless phone. I tried another wireless phone but it failed again. I try to replace my existing voip to skype so I'm pretty sure my phone works well. During the initial setup, I saw the red light goes to flashing green light while trying to detect my phone....then it goes to red and repeat again.
    Does anyone have this problem before? I try to locate Freetalk customer service number, but they don't have one.
    JJ

    Plese also see this: http://community.skype.com/t5/Other-devices/Use-Your-Own-Phone-Device-Router-Based/td-p/123156
    About Me You can also use a IP Camera as your camera for Skype video Example Instructions

  • Connect 2 phones to one switch port

    Could anyone tell me if it is possible to connect two phones (7911 and 7940) on the same switch port(2950)?
    Thank you

    it will work. just remember that both phones will share that port. Plug another switch into the 2950 port and put both phones in the new switch.
    Or plug 7940 into the 2950 (powered locally using power cord). Daisy chain the 7940 to the 7911 using a cross cable. (7911 powered locally using power cord)
    Again these type of connections are not recommended.

  • Hi I am having iphone 4S. Today while connecting to my laptop for regular update, my phone started rebooting and message showed error in rebooting. Now even though i connected to laptop which has internet connection, i phone OS booting still not completed

    Hi I am having iphone 4S. Today while connecting to my laptop for regular update, my phone started rebooting and message showed error in rebooting. Now even though i connected to laptop which has internet connection, i phone OS booting still not completed

    I have factory reset my phone twice.. I have disabled iCloud settings.. I looked up possible downgrading options.. which isn't possible. I feel as if my iPhone 4 was offered the update so I was forced to get another phone

  • Why when i connect my phone to my laptop do my recent photos load as image files and not jpeg

    why is it that when i connect my phone to my laptop my recent photos load
    as image files and not jpeg as they used to.Is this another issue with ios 8

    Thank you. I did that and made sure my phone was open to the camera roll. I was able to locate the import command and the photos appeared. Thanks so much!

  • Hi, have a iphone/macbook itunes prob. i connected my phone to mac to add songs, and it wiped 99% of music from my phone. on the mac it still lists the songs on my phone but they are greyed out. can anyone help? very frustrated and want my music back.

    hi, have a iphone/macbook itunes prob. i connected my phone to mac to add songs, and it wiped 99% of music from my phone. on the mac it still lists the songs on my phone but they are greyed out. can anyone help? very frustrated and want my music back.

    I am having the same problem. I have just tried this. Unplug iphone > open itunes > delete all music from itunes library > close itunes > re-open itunes > add music from original folder > plug in iphone > select songs > press sync > unplug iphone using eject button onscreen > checked phone .... still nothing in music folder on phone. On itunes the "On this iphone" tab the songs remain there but greyed out.

  • I am trying to transfer pictures and music from my phone to my computer, and when I connect my phone, it says Device not installed correctly. I can not see my files or nothing. What can I do?

    I am trying to transfer pictures and music from my phone to my computer, and when I connect my phone, it says Device not installed correctly. I can not see my files or nothing. What can I do?

    Try downloading these http://www.samsung.com/us/support/owners/product/SCH-I535MBBVZW
    or searching for it here Verizon Wireless Cell Phones - Verizon Wireless Accessories | Samsung

  • TS1363 I want to use an old 3 GS iPhone that is no longer in service as a phone now as just an iPod to play music. When I connect the phone to the computer with iTunes running, iTunes says it can't connect to the device because it didn't get a valid respo

    I want to use an old 3 GS iPhone that is no longer in service as a phone now as just an iPod to play music. When I connect the phone to the computer with iTunes running, iTunes says it can't connect to the device because it didn't get a valid response from the device. How can I get the system to recognize the phone, and let me rename it as my iPod, instead of my phone?
    As an aside, the current installed operating system on this old iPhone is 4.2.1, but that wasn't one of the selectable options in the operating system list dropdown below. Don't know if that makes any difference.

    Hi maddogdne,
    Welcome to the Support Communities!
    The article below may be able to help you with this.
    Click on the link to see more details and screenshots. 
    Using an iPhone without a wireless service plan
    http://support.apple.com/kb/ht3406
    Cheers,
    - Judy

Maybe you are looking for

  • SOLAR02 The document cannot be changed

    Hello, I have developed a program that uploads files massively to Solution Manager, and the upload process works fine. But when i try to edit a document that i uploaded using this program, the systems shows me this popup message. The document cannot

  • Version incompatibility error in OWB while login to Design Center

    Hi, I have created a Warehouse Builder repository on database(Version 11.1.0.7) server and installed Standalone OWB 11.2 on the client machine. However while connection from client pc it is throughing error like: API5036: client version 11.1.0.6.0 is

  • Dropped itouch in water how to fix

    i dropped ipod in water and now it wont turn on and when i plug it in to an accesssory it has no volume and wont change date etc can this be fixed

  • How to quickly clear an array used in a shift register?

    Hello all, I'm sure this is a quick one, but I'm missing the concept. I have an array of boolean in a shift register. I have a case where I need to basically 'reset' the array rather than append to it....what is the best way to do this? Thank you, ca

  • How to make a session with attributes

    ---main page--- String ip = request.getRemoteAddr(); session = request.getSession(true); session.setAttribute("ip", ip); //then i redirect to this page <% session = request.getSession(); String naamj = (String)session.getValue("naam"); %> but it does