Bluetooth connection not working on US Nokia phones from J2ME Midlet (MIDP

Hi All,
We are developing a J2ME midlet (MIDP 2.0 ,CLDC 1.1)which makes bluetooth connection to other devices.The bluetooth
connection is working perfectly on indian nokia phones with Airtel as carrier.But when we deploy the same midlet on Nokia E71
US phone with carrier as AT&T ,the bluetooth connection is not working.The sample code is as follows:
public void run(){
try{
StreamConnection connection = (StreamConnection)Connector.open(btConnectionURL);
// open an input stream to get some data
InputStream in = connection.openInputStream();
byte[] serialData;
readData = true;
while(readData == true){
int lengthavai=0;
lengthavai = in.available();
if(lengthavai > 0){
serialData = new byte[lengthavai];
int length = in.read(serialData);
System.out.println("data read: " + new String(serialData));
dataViewForm.append(new String(serialData));
in.close();
connection.close();
}catch(IOException ioe){
ioe.printStackTrace();
when we try to connect on US Phones],the execution hangs at the following line of code:
StreamConnection connection = (StreamConnection)Connector.open(btConnectionURL);
No exception is caught.
Our midlet is not signed.
In the Forums it is said that the problem is with the unsigned midlet.AS some of the US carriers block the secure API usage
on Unsigned midlet.
But our question is, if we buy a code signing certificate from Verisign or Thawte and sign the midlet, will this problem be solved.
Any other alternative solutions for this ???
Immediate help will be appreciated.
Thanks,
Yash

You might want to read this before buying a certificate:
http://javablog.co.uk/2007/08/09/how-midlet-signing-is-killing-j2me/
It's not my blog, but I pretty much agree with what it says. Unfortunately the network operators can control the access 3rd party trusted certificates have, so even if you sign with Verisign for example, the signed midlet may not have any more privileges than an unsigned midlet, depending on network. They do this so that only midlets signed with one of their own certificates have unrestricted privileges forcing anyone who wants a useful application to buy it from the network instead of downloading an equivalent freeware version from Getjar for example. Some networks are worse than others, so signing your midlet will allow it to work on more phones than an unsigned midlet. I think Verisign have some info on AT&T on their website.
The whole MIDP specification for security is a joke, IMHO. I don't mind unsigned midlets flashing up a warning once during an application. Writing 20 files, for example, will give 40 security warnings for reading writing data which is ridiculous, as the user obviously either trusts the app or he doesn't. No one runs an app that they only sometimes trust.
As far as I know the only mobile manufacturer so far to see sense is Sony Ericsson. All of their new phones from Java platform 7 onwards allow unsigned applications access to the file system, bluetooth etc with just one warning when the applications starts.
Andy

Similar Messages

  • Bluetooth Suddenly Not Working With My Huawei Phone

    I have a 13 inch Macbook Pro (the latest one). I also have a Huawei y300 phone. The two used to work together fine. I could send photos back and forth using bluetooth with no problems. But now I can't send anything. I can pair my phone with my MacBook but when I go to send a file, I get a "cancelled by user" message on my phone. Nothing will connect to Bluetooth on my Macbook. I think it's the Yosemite update. That's when the bluetooth seemed to have stopped working. Has anyone had this issue? is there any fix?

    First check and see if Wacom has a driver update.
    If their most recent driver does not solve the problem, then you need to call Wacom and work with them to see why the driver is not working on your system.

  • Radio and bluetooth is not working in my nokia c5-...

    Hi ...i am using nokia c5-00,before 2 day i came to know that the radio & bluetooth on my mobile is not working. When i open these the mobile get freezed. I had tried to restart the mobile as well as also tried the code *#7370# but it remain in same condition . So plz help me what to do??

    hi mate, have you also ensured that you are up to date with the latest firmware for your device, and if you already are, tried re-installing the current firmware thru Nokia Suite on PC?

  • Bluetooth connection not working

    I just received a Braven 625s wireless speaker for Christmas.  After updating my Bluetooth driver on my machine (which now reads "ThinkPad Bluetooth 2.1 with Enhanced Data Rate II") and re-adding the device, I finally got it to work wirelessly.  However the Bluetooth connection will not persist consistently. 
    It originally went off after about 30 minutes.  I saw another post on this board that said to uncheck the “Allow the computer to turn off this device to save power” box under the Power Management tab of the Bluetooth device in Device Manager, so I did and that allowed the speaker to work for about an hour before it went silent again.  It remained silent for about 10-15 minutes before the sound came back on.  The sound remained on for about an hour, and then went off for about 20 minutes, then back on for 15 minutes, then went off and remained off for over 50 minutes before I manually disconnected the Bluetooth connection. 
    During the other times of silence, I am not manually doing anything with the connection or the speakers- the speakers remain on and the Bluetooth connection remains Connected.  Even in the Playback Devices section, I could see my Bluetooth device look like it was working (the green bars would bounce up and down as if they were playing the music that was still “playing” off of my Lenovo), but no sound was coming out of the speaker. 
    Can someone help on why this is happening?  I also saw another post that their Lenovo had a loose Bluetooth slot in their motherboard.  Could this be it, or what other causes are there for this behavior?
    thank you.

    Hi, heath
    What is the machine type and model of your ThinkPad, and what is your operating system? Also, when the event described in your post happened, were you using the computer actively, or just something like playing music or watching a film? And what version is your Bluetooth driver? 
    My first recommendation would be to make sure that your BIOS is updated, as an older BIOS can sometimes be responsible for odd issues. You can find the latest BIOS for your system here. Just select your machine type and find the driver associated with your operating system.
    Best of luck, and let me know how it goes
    Adam
    Did someone help you today? Press the star on the left to thank them with a Kudo!
    If you find a post helpful and it answers your question, please mark it as an "Accepted Solution!" This will help the rest of the community with similar issues identify the verified solution and benefit from it.

  • Ipad Bluetooth connectivity not working

    I have the ipad 2 and my Bluetooth will not find any devices. I've tried everything from restart to restore. Does anyone have a clue how to fix it? Thanks!!

    Connect SoundLink to iPad
    1. Turn the speaker off and on again.
    2. Clear the speaker memory if necessary.
    3. Make sure all other Bluetooth device nearby are turn off e.g. iPhone and laptop.
    4. Make sure your speaker is in discoverable mode; press Bluetooth button down for 3 seconds.
    5. Make sure the Bluetooth capability on your iPad is turned on.
    6. Your Bluetooth device may be out of range – try moving it closer to speaker.

  • Bluetooth is not working after the upgradatio​n from win7 to 8.1

    i am using hp pavilion dv6 notebook pc and its model number is LQ459PA#ACJ and few months ago i upgraded it to window 8.1 from genuin window 7.after the upgradation i still can't usew its bluetooth.i tried lots of ways.and its drivers are not available on this website.so please help me out so that i can use its bluethooth again....thanks 

    Hi:
    Unfortunately, the Ralink/Motorola Bluetooth 3.0 radio is not compatible with W8 or W8.1.
    There are no drivers available that will work for it.
    The W7 drivers won't work either.
    Only the Ralink BT 4.0 hardware will work on W8/8.1

  • Internet connection not working after computer wakes up from sleep. OSX Lion

    After upgrading to Lion, I noticed that my internet connection doesn't work when I wake my computer from sleep. I have to turn off the WiFi connection, turn it back on and it will work. I guess this is a glitch that will be fixed later on. Just wanted to point it out. I don't know if someone else is having the same problem? I am not very happy with the upgrade to Lion, things seem to be slower, I've had several freezes requiring to reboot. I guess Lion needed a little more twicking before release. Not worth the $29.99 price tag.

    I had this problem on SL and on Lion as well, and it occures for WiFi and Ethernet connections.
    In fact the internet connection was not broken as I could ping the destination usin the IP (not DNS name).
    In this case the problem was related to mDNSResponder task which handles all dns queries.
    It was the most frequent problem in my day to day work with SL and now Lion. It was never fixed by any patch from Apple. I tried almost all voodoo including fresh install, all possible config changes - no solution.
    The only version with no problems related to network was 10.5.8. All the other versions had issues of different kind (WiFi instability (lost signal), DNS problems (for wireless and wired connection) sometimes associated with machine sleep and wake up and sometimes with no reason.
    QUESTION: Is your problem independent of the access point / router you connect to.
    I must say networking was (and still is) the weakest part, besides the other OS X weaknesses I experienced during 4 years of OS X usage.
    No problems in the same network with Linux or Windows beeing ran natively on my iMac So hardware is OK.
    Software is of poor quality. Not much more to say in this matter.
    I found a very interesting article dated 1996 about programming which I think is still valid.
    Link to the article: http://www.fastcompany.com/magazine/06/writestuff.html
    Below the fragment (with some connection to Apple)
    Software is everything. It also s***s.
    "It's like pre-Sumerian civilization," says Brad Cox, who wrote the software for Steve Jobs NeXT computer and is a professor at George Mason University. "The way we build software is in the hunter-gatherer stage."

  • My iphone 6 connects to the car via bluetooth, the music works good, but the phone calles does not work.  It looks like it is working but doesn't.  I have tried in my Hyundai and a Dodge rent car and get the same results.  I updated the last 8.0.2.

    My iphone 6 connects to the car via bluetooth, the music works good, but the phone calls does not work.  It looks like it is working but doesn't.  I have tried in my Hyundai Sonata and a Dodge Dart rent car and get the same results.  I updated the last 8.0.2.  It worked the first day i had the phone, and then i updated to Ios 8.0.2 and it quit working.
    Now when i get in the car, it acts like it is connected and makes the same call it was on after syncing to bluetooth, but it really isn't on a call.  This is happening on both cars.
    Does anyone know if this is the phone and i need to take it to Apple or if there is an issue that Apple is working on getting a fix for?
    My son in law has the exact same phone as me, we both got the on 10/6, he had a Dodge Dart and his is working via bluetooth.
    Someone HELP please, as i consider this a safety issue by not having my calls go to bluetooth.

    We had the same problem, but figure out the solution.
    You MUST have at least 1 song added to your ITUNE!  After you add a free song, then everything else should work as normal!
    Hope this helps!

  • My iPhone 4s Bluetooth is not working, I have ios 5.1 but just can't get my Sony erricson hbh-pv715 headset to connect to the phone,  the phone can't find any Bluetooth device, can you help please

    My iPhone 4s Bluetooth is not working, I have ios 5.1 but just can't get my Sony erricson hbh-pv715 headset to connect to the phone,  the phone can't find any Bluetooth device, can you help please

    Yes it's in pairing mode, it worked fine with the 3GS but doesn't seem to work with the 4s,  my 4s can't find any other bluetooth device, I think the problem ls with apple?

  • Bluetooth does not work, i can't connect any device

    bluetooth does not work, i can't connect any device

    What device?
    Iphone supports bluetooth for stereo headsets/speakers, handsfree telephone devices/headsets, some keyboards, some peer-to-peer apps from the app store, adn internet tethering where provided by the carrier.
    Other than this it will not connect to another phone, computer ,device

  • Bluetooth n95 not working with headset

    i have recently bought the motorola s9 bluetooth stereo headset. there are a couple of problems. it works fine to connect for the first time using the code on the phone. then if i turn the headset off and on it connects and immediatly disconnects. this is a problem but not a major one.
    the biggest problem is the music cuts out all the time for a couple of seconds. i have tried placing the phone right next to the headset and it stil happens. i have read the other n95 forums and see this is very common with the new firmware (i had already installed new firmware so i dont know if this happened on the old firmware).
    does anyone else have this problem with another headset or can anyone give me a solution. how often does firmware come out. and is it possible to delete the new firmware.

    Same problem here, unfortunately - iPhone 3G & 3.0 do not work with both the SHB6100 and SHB7100 by Philips.
    Philips SHB6100 + iPhone 3G 3.0: A2DP *does not work*
    Philips SHB6100 + Nokia and SE phones: A2DP works
    Philips SHB6100 + MacBook Leopard: A2DP works
    Sony DR-BT30Q + iPhone 3G 3.0: A2DP works
    Complaining here, however, is not really going to help as these are user to user forums and there is nothing users can do to fix this. Please report this issue at the Apple iPhone Feedback page @ http://www.apple.com/feedback/iphone.html

  • Bluetooth is not working with Windows 8.1 on U410 touch

    Hello,
    I have a Lenovo U410 touch, and i just upgraded to windows 8.1 though the store.
    And the bluetooth is not working at all, it says that the PC is searching for Bluetooth devices. While everything was working great before.
    I have updated all the drivers from the Lenovo websites and still nothing is working
    I went to device manager and checked under bluetooth: Intel (R) Centrino Wireless Bluettoth 4.0 + High Speed. Microsoft Bluettoth Enumator, Microsoft Bluetooth LE enumarator all 3 are up to date.
    Then I went to network connections (from the start) and i have a red cross under Bluettoth network connection 2 and says not connected.
    My windows is also up to date
    I really think gooing back to Windows 8 since i cannot listen to my music on my beatbox and connect to my phone and tablet,
    Thank you for your help

    neokenchi wrote:
    hi erabbath,
    Welcome to the Forums.
    If you have the Intel Centrino N2230 Wireless + Bluetooth adapter, can you try to:
    1. Navigate to the Control Panel (large icon view) > Devices and Printers and try to pair a bluetooth device (i.e. Bluetooth Headset) and observe if it gets detected under the device list.
    2. If the Bluetooth Headset is listed but it's not working try toright click on it > choose Properties. On the bluetooth properties Window, go to the Services Tab and check all the appropriate bluetooth services.
    Sample picture
    Let me know your findings.
    Regards
    Thank you very much for your answer,
    I went to Control Panel  > Devices and Printers and i tried to add a new device as the bluetooth doesn't appear this is what i got. By the way the bluetooth was on.
    Link to picture
    And this is what i have on the Bluettoth
    And it search endlessly whereas before the upgrade it was working properly,
    All the drivers are up to date as well as windows updates are all installed
    Thanks in advance for your help
    Regards
    Moderator note; picture(s) totalling >50K converted to link(s) Forum Rules

  • Bluetooth is not working in Iphone 4s

    I am using Iphone 4s. Bluetooth is not working. it is not identifiying or identified by other phones / Laptop

    That is correct.  This has never been a feature of iphone/ipod/ipad.
    Bluetooth is supported for stereo headsets/speakers, telephone handsfree devices/headsets, some keyboards, some peer-to-peer apps form the app store and internet tethering where provided by the carrier.
    Other than this it will not connect to any other phones/computers/devices

  • My iPhone 4s bluetooth is not working

    Dear Apple Customer ,
    I m using iPhone 4s but my phone bluetooth is not working . If i bluetooth on after searching device long time.
    Pls help me how to solve this problem .
    Regards,
    Viswa

    What are you trying to connect to? iOS has BT profiles for connecting to keyboards, headsets, speakers, car systems. Through the Personal Hotspot settings on the iPhone, you can also connect to other devices to share an internet connection. Sharing files over BT is not a function that iOS devices support.
    Please give more details about what your trying to do and what's happening when you try.
    Best of luck.

  • I updated my iphone 4S to 7.1.1 and now WIFI and Bluetooth do not work.

    I updated my iphone 4S to 7.1.1. Immediately after doing this, my wifi is greyed out, (cannot even turn it on), and my bluetooth is not working at all. I have discussed with Apple several times and even went to an apple service center. They claim that I have a HW issue and that I must pay $200 for another phone. HAving been a cell phone HW designer for 15 years, I know this is not true. If this is a HW issue, it was caused by the FW update. There is a problem with my phone that is a direct result of the FW update. If I could go back to the previous version, I could prove it but there is no way for me to do that. So, it looks like iphone has released an update that "breaks" some phones. What an easy way to force people to pay them $200 for a new phone. Hmmm, if other electronic manufacturers catch on to this, we are screwed. Apple has seen the issues on the internet and has seen the issues reported on thier own Communities. They know that many people are reporting the same problem. If I can look it up, anyone can. They know that they have screwed up. So instead of biting the bullet and fixing what they broke, (peoples phones), they are taking advantage of the opportunity to make more money by telling people that they have a HW problem that they are not responsible for and that it is going to cost $200 to fix what Apple has screwed up. Just let me go back to the previous version of the IOS and my phone will work again. Is anyone else having this same issue? Has Apple lost it? I have been more than pleased with my phone. I have been thrilled with customer support. What is going on with apple? Samsung is looking better every minute.

    Even if it is a hardware problem they should fix it regardless of warranty. If you buy a car and after 1.5 years the doors fall off due to a failure in their design and construction, do you think the car manufacturer could pull off what Apple is trying to do? Yes the car still delivers its primary objective of driving from A to B, but significant functionality has been lost due to their fault.
    It is the same with this iPhone wifi problem. Apple are a disgrace, I have had significant Apple Hardware failures with my MacBook Pro and iPhone within 2 years of purchase. Pathetic quality.

Maybe you are looking for