Socket Connections on Blackberry device

Hi,
I have an j2me application that i am testing on a Blackberry 7100t device. The application works fine on a number of other Nokia/Sony devices but seems to have problems with connections on this device.
It connects to the server fine but seems to continuously bring up an Egg timer when running the app and shows contant communication in the top corner. Is there any way to stop this happening because this constant delay prevents you from using the rest of the app properly?
Thanks,
Chris.

If you use stream sockets your connection will survive for long periods of time. I have an application that connects to a mainframe by sockets and to Oracle using OCI (which uses sockets) that stays up for a week at a time, only stopping when the mainframe goes down for weekly maintenance. It recovers when the mainframe restarts by attempting to reconnect once a minute.
This said, you still should deal with the inevitable situation where the connection is lost due to network problems or aproblemon your server.

Similar Messages

  • Computer sees 9530 but get "A problem occured while attempting to connect to Blackberry device" prompt

    Running Windows 7 *64, just updated Backberry Desktop Software to 7.1
    Computer sees the Storm 9530, Device Manager sees it, I can't get into the folders through My Computer, or when running Desktop Software I go to click on Music then itunes and I get this prompt
    -"A problem occured while attempting to connect to Blackberry device" prompt.
    I'm just trying to add music from my only computer to my phone.
    Iv'e follwed the Tips for getting BlackBerry Desktop Manager to detect the BlackBerry smartphone!
    On the step "ii. Under Universal Serial Bus Controllers, verify that the BlackBerry smartphone is found."
    it is an Unkown Device with an exlamation 
    I Continue along the steps until I arive at "ix.    Double-click on RimUsbNT.inf, click OK, and then click Next."
    Once I hit OK I get Prompt"the folder you specified doesn't contain a compatible software driver for your device"
    I'm at loss for ideas..
    Thanks in advance for your help.
    Solved!
    Go to Solution.

    Hello Dark0prince and welcome to the BlackBerry® Support Community Forums.
    Sorry to hear you're having an issue connecting your BlackBerry® Storm™ 9530 smartphone to the BlackBerry® Desktop Software.
    Download your device software from your mobile carrier (click here) and install it to your computer. This will update the drivers for your device.
    If you have already installed the software and the drivers and the issue persists then it would be advised you contact your mobile network provider and ask for a ticket to be opened with RIM support to investigate this matter further.
    Thanks!
    -HMthePirate
    Come follow your BlackBerry Technical Team on twitter! @BlackBerryHelp
    Be sure to click Kudos! for those who have helped you.Click Solution? for posts that have solved your issue(s)!

  • Studio Creator, Socket Connection to External Device

    I am porting an existing & successful project from Netbeans 3.6 into Studio Creator to take advantage of some of the tools in the IDE for this application. The project requires opening a socket connection from the Server PC to an external Device (PLC) that is a Client on a static IP & a dedicated fixed port.
    I am struggling to get past some security settings specific to AccessControlExceptions. Here is the code method being used to test:
    public String button1_action() {
    // Call methods to open connection, init streams, send command, and close connection.
    try {
    // Open Socket up and accept client connection
    ipSocketObject = new ServerSocket(port);
    bfSocket = ipSocketObject.accept();
    // Establish Streams
    is = new BufferedReader(new InputStreamReader(bfSocket.getInputStream()));
    os = new PrintWriter(bfSocket.getOutputStream(), true);
    System.out.println("Got to here...");
    // Clear the msCounter #13002
    os.println("r13002=0");
    pattern = "13002";
    do{ret=is.readLine();} while ((ret.indexOf(pattern)) ==-1);
    is.close();
    os.close();
    bfSocket.close();
    ipSocketObject.close();
    } catch (IOException e) {
    e.printStackTrace();
    return null;
    The Socket Connection is established, but the command string is not processed before Studio Creator generates a AccessControlException Fault. I have experiemented putting in a SocketPermission statement with out success.
    Is anyone aware of some sample code I might be able to review for opening socket connections to clients in a Studio Creator Application? Please excuse this request if too rudimentary- I am an Industrial Controls guy by trade... :)

    Sorry I know of no such application at this time, and unfortunately have not done socket work myself for many moons....
    What JDK was your previous application written under? I googled for AccessControlException and socket and seems that sometimes accounts for some issues... you can also search for that combination in the forum advanced search and might find something there.... one more long shot suggestion based upon your statement "the command string is not processed".... could it be that you need to flush the stream...?
    Sorry I don't have more to offer...
    v

  • Msg: You've connected a new Blackberry device, it's been initializing device for over 1 hour

    I had Blackberry Desktop Manager Ver 5.x installed. I downloaded the BlackBerry Desktop Software v6.1 software from the link saying that this download was to upgrade existing desktop manager. The installation completed without issues. After starting Version 6.1 for the first time and being asked to connect a blackberry device, I connected my brand new Blackberry Bold 9930. A new window opened that said "You've connected a new BlackBerry device" "Initializing device", and it's been hanging like that for nearly 2 hours. The main window shows the Blackberry correctly seen by model, type and pin and as never synced and never backed up. Any help would be greatly appreciated. Thanks, Bruce

    Although this is advertised as an upgrade to Desktop Manager 5.x, it is really a replacement. It does not upgrade anything, but merely installs the new one. So the first thing you may want to make sure of is whether the old version is still on the computer. Go to your Control Panel on your computer and click Programs and Features. If you see any other BlackBerry Desktop Sfotware version beside the 6.1 then uninstall it. This other version could still be attempting to communicate with your device, causing this issue to occur. Make sure you reboot your computer after this is done. let me know if this helps or if you need any more help.

  • Blackberry 9900 will not connect with Blackberry Desktop (v 6 or v7). I am running Windows 7.

    I am running Windows 7, and have a Blackberry Bold 9900.  This has some music on but most importantly my work diary and contacts which I synchronise through Desktop.  I also use it as an external modem and tether my PC through it if I’m somewhere with no wireless.
    Yesterday, I did these things during the afternoon:
    ·         Connected a Bluetooth device to my PC (headphones)
    ·         Needed to load a series of drivers for Windows for this to work
    ·         Upgraded from Blackberry Desktop 6 to 7 (following prompt when connected)
    ·         Set up a Bluetooth connection between my Blackberry and PC.
    The next time I connected:
    ·         On The Blackberry smartphone I got the normal Blackberry is plugged in message, with normal options (USB Drive / Sync Media / Charge Only), and software opened as usual
    ·         But I was prompted to Connect Your Blackberry Device (with link to troubleshoot connection).  Clicking this, I was taken to a page which suggested I check the cable etc. (which I did, all OK) and “...turn off synchronization applications or antivirus applications temporarily”.  I disabled Avast, which made no difference, and I don’t know what a “synchronization application” is
    ·         Other aspects of the connection are working (i.e. I can still download photographs from the Blackberry, and still see it as the ‘F:’ drive)
    I therefore conclude that:
    ·         Cable / physical connection is good (also tried a different cable - no change)
    ·         Something I had changed had corrupted things, so:
    ·         Uninstalled Blackberry Desktop v7 and replaced with the version I had been using successfully until yesterday (v6)
    ·         Removed the Bluetooth connection to my Blackberry.
    Made no difference, so checked Blackberry help forums, which confused me more.  One thing which I did discover, was that in Device Manager, although Blackberry is visible attached to PC (and says it is working correctly), it DOES NOT appear in the list of Network Adapters (I don’t know if it did before, but one answer in the tech forum suggested this is significant – though not sure why or what to do about it)
    Any help would be very welcome – been at this for ten hours now and making no progress!
    Many thanks
    Clive

    This worked for me after several hours on the phone with Blackberry Support.  I hope it works for you too:
    Finally got it working again! Re-downloaded the desktop software (but when you start it up, make sure to uncheck the automatic update option). While that was downloading, I was instructed to go to microsoft.com and search for and download .NET Framework 3.5. Once you click to download that, there will be an offer to download 2 other items. One of which will be Microsoft .NET Framework 4 Client Profile (Web Installer). Click to download that too. Once they are finished downloading, run both files. .Net Framework 4 Client Profile will take longer and will ask you if you want to repair or remove. Choose repair. The repair took several minutes, but once it was done, I clicked "Finish", opened the BB Desktop Software, UNCHECKED THE AUTO UPDATE OPTION, and plugged in my phone. Once windows finished installing the drivers, Low and behold! The Desktop software recognized that the phone was connected! I hope this helps you resolve your issue as well. When it again offered me an update I clicked to update later (meaning never!). Best of luck to you.

  • Trying to doa software update, and it keeps saying connect blackberry device. when it is connected?

    hi guys,
    please help me if you can. i have a brand new BB 9300, and from day 1 i had a problem with it, i thought it was the battery as it would just switch off, it wouldnt even go to the red part of the battery life as normal, it would just turn itself off. so i thought i had a faulty battery. and went an brought a new one. the same thing was happening with this battery, infact it was worse, it wouldnt charge, then the phone wouldnt switch on (by this time i am pulling my hair out)
    iv heard from a few people that it could be a software problem, so here i am trying to update my software. but when i open the BB desktop software, it tells me to connect my bb device, and it is connected. its charging from my pc that light is on, so it is def connected but the bb desktop is telling me it isnt????/
    ANY ADVICE PLEASE GUYS.
    thanks

    Hi and Welcome to the Community!
    It sounds like your battery has fully depleted...and therefore your BB cannot boot up. And until your BB boots up, it cannot communicate with the Desktop Software.
    Please try this sequence...note that, throughout the entire 4h15m process, your BB must remain connected to a known-good wall charger (not PC USB):
    With the battery inside, connect your BB to the wall charger
    Leave it alone for 2 hours, no matter what the LED or the display does
    Remove the battery
    Wait 15 minutes
    Insert the battery
    Wait another 2 hours, no matter what the LED or the display does
    This has been known to "kick start" some BBs.
    It is also possible that your battery or BB has experienced a problem...to test, this sequence is needed:
    Obtain an known good and already fully charged additional battery...use it in your BB and see what happens
    Obtain access to a known good and identical BB...use your battery in it and see what happens
    The results of this will indicate if it's your BB or your battery that has the problem. I know you say you bought a new battery, but please understand that "new" and "known good" are not necessarily the same thing. The best method is to find someone with an identical BB that has no issues...trade batteries with them and see what happens. If it turns out that your BB simply will not function correctly with any battery, then it is likely a hardware issue with the BB itself, for which no amount of internet-distance diagnostics nor OS/software solutions can help.
    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

  • BlackBerry Media Sync Failed to connect to your BlackBerry device

    I am trying to successfully sync my blackberry bold 9000 with itunes via the BB media sync program. I have successfully installed desktop manager and can sync contacts, email, add applications and can sync via Roxio media manager (painfully though). However when I open BB Media Sync I get an error Msg saying 'Blackberry Media Sync Failed to connect to your blackberry device - Retry or Cancel' It displays the device PIN in the window but still says please conect a blackberry device. I have mass storage mode turned on, media card support, USB drivers installed and have checked the media card is inserted correctly. When I try to find my blackberry in 'My Computer' it does not appear to be there either. What am I doing wrong?? Please help

    Hi....
    read this post and see if that works for you...
    http://supportforums.blackberry.com/rim/board/message?board.id=Bold&message.id=1614&query.id=19721#M...
    Cheers
    M
    Need additional information on BlackBerry products?
    visit: http://www.blackberry.net

  • "The BlackBerry Desktop Software cannot connect with this device." after repair

    I download the Desktop Software for BlackBerry onto my Mac Book Pro for the first time. 
    After installing I connected my PlayBook. I get the message "The BlackBerry® Desktop Software cannot connect with this device."
    The program suggested I repair the device software, so I did. After that I set it up and ran the updates.
    When I plug it back in I get the exact same message.
    What should I do next?
    co-founder of Diaree | BB Dev for PictureThis

    I also cannot connect to my two playbooks using desktop manager on mac.
    One of the two playbooks is now shipped back to rim for repair (see here http://supportforums.blackberry.com/t5/BlackBerry-PlayBook/5MP-Playbook-Camera-Blackscreen-Errors-Ha... The issue of desktop manager not being able to connect to the playbook started with this playbook when the repair I was prompted to to stopped 1/4 way into it. Multiple retries did not make any difference. 
    Since then, I have tried connecting my other (functioning) playbook to the same mac but when I plug in usb cable I get the same "cannot connect" errmsg and prompted to "repair". I am definitely NOT going to "repair" this one. So I uninstalled the desktop manager and reinstalled it to see if it makes a difference. Unfortunately it did not and I get the same "cannot connect" errmsg.
    If anyone has any suggestion how this issue can be resolved that would be great. I think something is stuck on the mac and is not getting wiped out when desktop manager is uninstalled. Thanks.

  • Leap connecting to BlackBerry Link on Windows 7 Pro SP1 64-bit

    Connecting with USB cable, you are prompted, initially to install drivers.  This initiates the installation of the Device Manager, BlackBerry Link and BlackBerry Blend. After installing/un-installing/re-installing the software several times, checking a raft of knowledgebase articles, I still cannot get Link to recognize an attached device over USB. If I look at the device manager, I have the BlackBerry (USB Serial Bus Controllers) and Black Berry Virtual Private Network (Network Adapters) and have attempted updating the drivers for these. During software uninstallations, I have also purged directories and registry entries. I am running ESET A/V and have disabled A/V and Firewall during software installs. I have tried connecting with the Leap in various states (Airplane Mode, with WiFi on, With WiFi/Mobile Network on). In every case, the device asks to Install Drivers, etc. and is not visible in the BlackBerry Device Manager.

    try copying the installation files to a desktop folder and installing from the folder.
    if that fails, download the installation files,
    Downloads available:
    Suites and Programs:  CC 2014 | CC | CS6 | CS5.5 | CS5 | CS4 | CS3
    Acrobat:  XI, X | 9,8 | 9 standard
    Premiere Elements:  12 | 11, 10 | 9, 8, 7
    Photoshop Elements:  12 | 11, 10 | 9,8,7
    Lightroom:  5.6| 5 | 4 | 3
    Captivate:  8 | 7 | 6 | 5
    Contribute:  CS5 | CS4, CS3
    Download and installation help for Adobe links
    Download and installation help for Prodesigntools links are listed on most linked pages.  They are critical; especially steps 1, 2 and 3.  If you click a link that does not have those steps listed, open a second window using the Lightroom 3 link to see those 'Important Instructions'.

  • Transfer old blackberry device data to new BlackBerry 10 device, without old blackberry device

    Hello,
    I recently bought a new BlackBerry Q10, I had a BlackBerry Bold 9790 running on OS 7 before this and I had backed it up from BlackBerry Desktop Software. I had no knowledge that BlackBerry 10 devices don't work with BlackBerry Desktop Software, so I sold my Bold 9790 and then bought a Q10. I need to recover all the data of my old Bold 9790 to my Q10, but sadly Q10 doesn't work with BlackBerry Desktop Software. If I download BlackBerry Link it will ask me to connect my old device to transfer files.
    So basically I need to transfer the backup file of my old phone to the new phone.
    Please help me out. Thanks.
    Solved!
    Go to Solution.

    First, the device has been out for over a year and a half.  BlackBerry has put the information out there.  I easily found the information below with a quick Google search that brought up this article, KB33322
    While it hasn't yet been updated to reflect the latest update to Link, I made a few minor changes to the instructions to get to the same options in the new version of Link. 
    Media Files saved on the device internal memory will be transferred if you check the box for "Media files saved on internal memory."  Media files saved under Content Store on the old device will not. 
    Here are the instructions:
    Connect the BlackBerry 10 smartphone to the computer using the USB cable.
    At the left side of the BlackBerry Link screen, click name of the BlackBerry 10 smartphone.
    Select Restore Device > Legacy Device Backup Files.
    Select the desired backup file.
    Select the data to restore to the BlackBerry 10 smartphone. To restore all supported data, select the Restore all data check box.  To choose the data to restore select Custom Restore.
    Note: For a description of the BlackBerry smartphone databases, refer to KB03974.
    Click Restore.
    1. Please thank those who help you by clicking the "Like" button at the bottom of the post that helped you.
    2. If your issue has been solved, please resolve it by marking the post "Solution?" which solved it for you!

  • FTP connection on mobile device works over wifi but fails over 3G

    Hi all,
    Hoping someone can help, or has come across this issue.
    I am developing a mobile app using flash builder 4.6 with the flex 4.6 sdk. My app needs to transfer files via ftp.
    The issue I am experiencing is that the ftp connection establishes and files transfer without a problem when connected via wifi, on both android and ios platforms.
    However, when only connecting via a 3G connection on a device, a problem occurs. While I can establish a connection, when I send the USER command, I never receive a response.
    A simple view with code to reproduce this issue is listed below. Has anyone come across this problem? I have been searching far and wide but cannot find anything related.
    Could this be an issue with Adobe Air or the socket class? I have written equivalent code using the android sdk in eclipse, and a connection to the same server and user details works on both wifi and 3g connections.
    Any help would be appreciated.
    Thanks.
    <?xml version="1.0" encoding="utf-8"?>
    <s:View xmlns:fx="http://ns.adobe.com/mxml/2009"
                        xmlns:s="library://ns.adobe.com/flex/spark" title="HomeView">
              <fx:Script>
                        <![CDATA[
                                  private var commands:Array;
                                  private var s:Socket;
                                  private var data_channel:Socket;
                                  private function connectToFtp():void
                                            var ftp_response:String;
                                            var data_response:String;
                                            var data_channel_ip:String;
                                            var data_channel_port:int;
                                            s = new Socket();
                                            s.addEventListener(Event.CLOSE, closeConnection);
                                            s.addEventListener(Event.CONNECT, connectionMade);
                                            s.addEventListener(IOErrorEvent.IO_ERROR, showError);
                                            s.addEventListener(SecurityErrorEvent.SECURITY_ERROR, showSecError);
                                            s.addEventListener(ProgressEvent.SOCKET_DATA, receiveReply);
                                            s.connect("mydomain.com", 21);
                                            function receiveReply(e:ProgressEvent):void{
                                                      ftp_response = s.readUTFBytes(s.bytesAvailable);
                                                      trace(ftp_response);
                                                      var code:String = ftp_response.substr(0, 3);
                                                      if (code == "220")
                                                                // connected.
                                                                // send user command
                                                                 s.writeUTFBytes("USER myUserName\n");
                                                                s.flush();
                                                      else if (code == "331")
                                                                // user command sent. password required
                                                                // send password
                                                                s.writeUTFBytes("PASS myPassword\n");
                                                                s.flush();
                                                      else if (code == "230")
                                                                // login successful
                                                                // change directory
                                                                s.writeUTFBytes("CWD /fibreSyncFtp/\n");
                                                                s.flush();
                                                      else if (code == "250")
                                                                // change directory successful
                                                                // send passive command
                                                                s.writeUTFBytes("PASV\n");
                                                                s.flush();
                                                      else if(code == "227")
                                                                //get the ip from the string response
                                                                var temp:String = ftp_response.substring(ftp_response.indexOf("(") + 1, ftp_response.indexOf(")"));
                                                                var data_channel_temp:Array = temp.split(",");
                                                                data_channel_ip = data_channel_temp.slice(0,4).join(".");
                                                                //calculate the port number from the last two digits - if this makes no sense, google
                                                                // FTP PROTOCOL - there are loads of guides that explain the server responses.
                                                                data_channel_port = parseInt(data_channel_temp[4]) * 256 + int(data_channel_temp[5]);
                                                                data_channel = new Socket(data_channel_ip, data_channel_port);
                                                                data_channel.addEventListener(ProgressEvent.SOCKET_DATA, receiveData);
                                                                s.writeUTFBytes("LIST\n");
                                                                s.flush();
                                                      else if (code == "125")
                                                                //use the new IP to open a second socket - this will transmit the data.
                                                                // Your first socket will transmit any commands you issue and this new socket will transmit the data
                                                      else if (code == "226")
                                                                // transfer complete
                                                                // close the connection
                                                                //s.close();
                                                      else if (code == "425")
                                                                // can't open connection
                                            function connectionMade(e:Event):void
                                                      trace("Connection Made");
                                            function receiveData(e:ProgressEvent):void{
                                                      data_response = data_channel.readUTFBytes(data_channel.bytesAvailable);
                                                      trace(data_response);
                                            function showError(e:IOErrorEvent):void{
                                                      trace(e.text);
                                            function showSecError(e:SecurityErrorEvent):void{
                                                      trace(e.text);
                                            function closeConnection(e:Event):void{
                                                      trace(e.type);
                        ]]>
              </fx:Script>
              <fx:Declarations>
                        <!-- Place non-visual elements (e.g., services, value objects) here -->
              </fx:Declarations>
              <s:Button top="10" label="FTP" click="connectToFtp()" horizontalCenter="0"/>
    </s:View>

    Probably you need to write your own AIR native extension, which uses the native Android sockets..I have the same problem and I'm just starting writing the extension...I guess there is no other way..At least you test with native android socket and you confirm is fine, so we know it should work

  • During an update of the applications on the BlackBerry smartphone an error message may be displayed "BlackBerry Desktop Software failed to validate your BlackBerry device update - Aborting install due to validation failure. Some packages contained unsatis

    I have reset both my torch and playbook back to original only thing that I kept was my contact. And still problems I am a few min away from leave my loved blackberry and going android !! Or heaven help us Phone
    Issues 1) playbook wont connect to desktop manager anymore 
    2) Play book has 2 calendar icons with two different settings on them ??? I have one that is currently working with my yahoo email and calendar account. 
    3) my Phone when connected to desk top software shows the calendar as read only
    4) Unable to update my phone says During an update of the applications on the BlackBerry® smartphone an error message may be displayed "BlackBerry Desktop Software failed to validate your BlackBerry device update - Aborting install due to validation failure. Some packages contained unsatisfactory dependencies." 
    I just want my email and Calendars to work I am tried of spending nights trying to get these deices working !!! 
    someone please help me. !! 
    I know you are going to ask I have updated everything last time and it is all as update as it can get. 
    As for now as I wait I am going to wipe my phone again and just set everything up again !! If I have to even my contacts AHHHH Help I am starting to think crazy thoughts 

    Did you try to eboot the your PC or laptop where your device is connected ?
    I experienced this with my windows laptop, after a failed to do an update, I restart the laptop and my Torch, then retried, and it's worked

  • Trying to connect my blackberry to my computer and it is...

    trying to connect my blackberry to my computer and it is asking for a device connected PIN and I do not have one. I do have a device pin and it will not take that one

    Hi there!
    The password it is likely asking for is your device password -- what you have to enter in order to unlock your BB. Try that and see if it works.
    For more assistance, p lease come to:
    http://supportforums.blackberry.com/rim/
    and register an account. Then post to the applicable forum.
    Thanks!
    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

  • File Connection and Socket Connection in nokia 7710

    Hello,
    i want to transfer some data from my PC to Nokia 7710 either using File Transfer or socket connection
    For file transfer, where do i need to put my file i.e. which files does nokia 7710 allow j2me programs to access? Is is ok if the file i transfer is a plain txt file? i am using jsr 75 api for reading from the file, so what file location will i give in my program, in Nokia 7710, there are two memory drives Device and Memory Stick, so how can i access these files via a j2me program running on the cell?
    If i use socket connection, how will the phone recognize PC's ipaddress? Do i need to configure it? Also my Nokia 7710 is connected to the PC via a cable attached to USB port, so what port numbers do i specify in my j2me client program that will run on the phone and normal java server program that will run on the PC
    please help me out, this is very important for me
    thank you

    Hi Steve, Would you mind to give a a piece of code to solve this problem
    This is my code :
                              is  = sc.openInputStream();
                os = sc.openOutputStream();
                os.write(("HELO there" + "\r\n").getBytes());
                os.write(("EHLO" + "\r\n").getBytes());
                os.write(("AUTH LOGIN" + "\r\n").getBytes());
                os.write(("dHVnYXNha2hpci50cmlhZGl0eWFAZ21haWwuY29t" + "\r\n").getBytes());
                os.write(("dGEuZW1haWxjbGllbnQ=" + "\r\n").getBytes());
                os.write(("MAIL FROM:<"+ from +">\r\n").getBytes());
                os.write(("RCPT TO:<"+ to + ">\r\n").getBytes());
                os.write("DATA\r\n".getBytes());
                       // stamp the msg with date
                os.write(("Date: " + new Date() + "\r\n").getBytes());
                os.write(("From: "+from+"\r\n").getBytes());
                os.write(("To: "+to+"\r\n").getBytes());
                os.write(("Subject: "+subject+"\r\n").getBytes());
                os.write((msg+"\r\n").getBytes()); // message body]
                os.write(".\r\n".getBytes());
                os.write("QUIT\r\n".getBytes());
                              StringBuffer sb = new StringBuffer();
                              int ch = 0;
                while((ch = is.read()) != -1) {
                   sb.append((char) ch);
                si.setText("SMTP server response - " + sb.toString());but it doesn't work,...
    i try to connect smtp gmail with smtp server : smtp.gmail.com and port : 465 (Use SSL)
    regards
    triaditya

  • My 8520 Curve wont connect with Blackberry desktop

    Hello
    when i connect my blackberry 8520 curve with my pc, then it does not connect with blackberry desktop
    it just opens like a external hard drive and i can browse the folders and such but it wont sync with
    blackberry desktop.
    When i connect it it gives a usb error that the drivers are not installed succesfully
    are there usb drivers for the blackberry 8520 curve ?
    kind regards G.

    Have you done a battery pull yet?  If not, give that a shot.
    Open desktop manager first, then try to connect the phone when it says "connect your device"
    Please click the Thumbs Up icon if this comment has helped you!
    If your issue is resolved, please click the solution button on the resolution!
    Every BlackBerry should have BlackBerry Protect, get it now! | Follow me on Twitter | Bring Back BBM Music!

Maybe you are looking for

  • Only 1 page prints!!!

    Upgraded from an airport extreme to an extreme n (you know the square one) on my home network. I now have 2 express units and a extreme (saucer type) on a WDS betwork that I have made WPA protected (this is a change I just made...could it be the prob

  • Establishing connection to SQL server suddenly failed

    Hi, I had a working SQL connection before, but today i've tried to connect and got this message: TITLE: Connect to Server Cannot connect to User-PC\SQLEXPRESS. ADDITIONAL INFORMATION: A network-related or instance-specific error occurred while establ

  • ISight not behaving in brand new MacBook

    Hi. I've had my MacBook three days. Whenever I launch Photo Booth, I get a few seconds of motion before the picture freezes. If I get click to another active window and back again, the same thing happens. If I click to take a picture, it takes an ima

  • I downloaded kindle application, but they caked me to enter password, which I never greated. So how I can get password?

    I downloaded kindle application,  but. I don't know which password I schoud insert . I had never have password for kindle

  • How do I retro-fit my old LaCie CDRW burner?

    I have connected my old LaCie CDRW burner (c. 2000??) with a Firewire/Thunderbolt converter but the device is not recognised in my System profile. I have looked for drivers on the LaCie site but cannot find the correct version. I would like to restor