Cant achieve sendind SMS on the real device.

Hi, I tested my code on the emulator and worked, now I tried to send a sms from a device to another and the icons show that some data are being transmited but the SMS never arrived or at least I cant see it.
I am sending from a Blackberry 7290 and sending it to a samsung sph-i550, the blackberry seems to be sending correctly the message but the cell phone never receives it. What can it be?

mmmm, Any clue here is my code. It works on the emulator but not on the real device, actuallt I have only a Blackberry 7290 to test it.
This is the code of my Thread.
SMSManejo sms=new SMSManejo ();
     try {
            boolean envio=sms.enviarSMS (sms.conectarSMS ("sms://+5935433278:0"), "Hola, mensaje de prueba");
            m.append ("Envio de sms: "+envio);
     } catch (Exception E) {
            m.append ("Error: "+E.getMessage ());
     }And the SMSManager class.
public class SMSManejo extends Thread {
     boolean salir;
     public SMSManejo () {
          salir=false;
     public MessageConnection conectarSMS (String URL) throws Exception{
          MessageConnection servercon= (MessageConnection) Connector.open (URL);
          return servercon;
     public boolean enviarSMS (MessageConnection mcCliente, String mensaje) {
          TextMessage Tmensaje = (TextMessage) mcCliente.newMessage (MessageConnection.TEXT_MESSAGE);
          Tmensaje.setPayloadText (mensaje);
          try {
               mcCliente.send (Tmensaje);
               return true;
          } catch (Exception E) {
               E.printStackTrace();
               return false;
     public Message recibirSMS (MessageConnection mc) {
          try {
               return (mc.receive ());
          } catch (Exception E) {
               E.printStackTrace();
               return null;
     public void run () {/*
          salir=false;
          MessageConnection mc=conectarSMS ("sms://:6050");
          while (!salir) {
               Message mensaje=recibirSMS (mc);
               if (mensaje instanceof TextMessage) {
                    TextMessage mensajeT=(TextMessage) mensaje;
                    String texto=mensajeT.getPayloadText();
                    FileManejo fm=new FileManejo ();
                    fm.agregarRegistro("Mensajes entrantes", texto.getBytes ());
          try {
               mc.close();
               mc=null;
          } catch (Exception E) {
               E.printStackTrace();
     public void salir () {
          salir=true;
     public void cerrarMC (MessageConnection mc) {
          try {
               mc.close ();
          } catch (Exception E) {
               E.printStackTrace();
}So the output on the device is:
Envio de sms: true

Similar Messages

  • How can I load font in real device?

    I am building mobile text SMS in my native country language using j2me wireless toolkit. But I face one problem. Without installing font in windows font directory, I did not display my country font. I used Unicode for my project. My question is:
    * How does the real device get my desire font without install it to device.
    * If I want to give fontname.ttf file with my package. Where can I load this file in midlet package/ midlet suite? Does it work on device?
    Please, help me.
    Babu

    Hi,
    U can try this
    http://developers.sun.com/techtopics/mobility/midp/articles/termemulator3/

  • Secure certificate in a real device??

    regards!!
    I have a doubt ... I´m develops an application in J2ME using a secure connection with HTTPS, and
    I'm using apache with self signed certificate ...., (use OpenSSL to do this), to run the application in the emulator,
    I need to add the root certificate to the certificate store of the emulator, once done, the connection
    works perfectly .....
    my problem is that: when I moving the application to an real device (I'm doing tests with a nokia 5310 and a Sony K550),
    the applicative don´t work and show me a runtimeException: Invalid certificate (bad certificate ).... I guess that is because I need to add the root
    certificate to use for apache, in the real device ......, but I searched and read many forums, but i can´t find how
    to do this... anyone have any idea?

    You most probably need a real certificate from Certificate Authority recognized by your device.

  • HT1451 I am trying to move two ring tones from my Iphone 4 to my new Iphone 5.  I can see the ringtones on my old device in Itunes but I cant seem to move them to the Library or to the new device.

    I am trying to move 2 ringtones from my Iphone4 to my new Iphone5.  I can see the ringtones in Itunes on the old device.  I cant seem to copy them to the library or to the new phone.  Do you have any suggestions?

    Hello DelaineF,
    Congratulations on your new iPhone 5!  It sounds like you would like to transfer your ringtones from your iPhone 4 to your iPhone 5. 
    If the ringtones were purchased from the iTunes Store, you can transfer them to iTunes using the steps in this article:
    iTunes Store: Transferring purchases from your iOS device or iPod to a computer
    http://support.apple.com/kb/ht1848
    Once you have the ringtones on your computer, I recommend using the steps in the following article to sync it to your iPhone 5:
    iTunes 11 for Windows: Set up syncing for iPod, iPhone, or iPad
    http://support.apple.com/kb/ph12313
    Thank you for using Apple Support Communities.
    Best,
    Sheila M.

  • "SOME" devices can resolve the ALIAS (CNAME record) for a device, but not the REAL name (A record) - Why? How do I fix this?

    I'm running the DNS server role on Windows Server 2012 R2 on a physical machine on my home network.
    My AD is configured with a non-registered name - let's say it's "home.acme.ca" and the DNS server is configured to host that zone.  I also configured a 2nd zone in the DNS server called "myinf.acme.ca".  They both run on a physical
    server with an IP of 192.168.1.10
    The DHCP server on my Cable Modem is configured to hand out 192.168.1.10 as the only DNS server to every device on my network.  On my servers (with static IP addresses), 192.168.1.10 is configured as the only DNS server available for them. 
    I took the DNS servers from my Cable Provider and configured a Forwarder on my server to send name resolution requests to them only if my DNS server can not answer the request - basically for any name resolution request that does not end with ".home.acme.ca"
    or ".myinf.acme.ca"
    The "home.acme.ca" zone is populated with 'A' records for all of the physical and virtual servers and PC's on my network.
    The "myfin.acme.ca" zone is populated with 'CNAME' records that point directly to the 'A' record in "home.acme.ca" - for example, I have a serve named s000abc123ww.home.acme.ca with an 'A' record providing an IP address of 192.168.1.20 and
    I created a 'CNAME' (alias) record named 'webserver.myinf.acme.ca' which points to the 'A' record 's000abc123ww.home.acme.ca'
    2 of my 6 machines can resolve the alias but not the real name of the server!
    .10 is the Domain Controller.  All of the other machines (except .98) are members of the home.acme.ca domain.
    I attempted to ping 's000abc123ww.home.acme.ca' AND 'webserver.myinf.acme.ca' on the following 6 computers.  I used the fully qualified name in all cases.
    4 of the below machines are able to resolve BOTH names.  The other 2 can resolve the Alias but not the real name!
    I don't understand how this is possible, but I would like to fix it...!!!  Please help?
    .10 - Server 2012 R2 (Physical) -  Hosts Active Directory and DNS.
    .20 - Server 2012 R2 (Virtual)   -  Runs SQL Server
    .21 - Server 2012 R2 (Virtual)   -  Runs Apache
    .22 - Server 2012 R2 (Virtual)  -   Runs Apache.  This is the device I am trying to ping (s000abc123ww)
    .98 - Windows 7 (Physical)
    .99 - Windows 7  (Virtual)
    .21 (which is configured nearly identically to .20 and .22) can resolve and ping the Alias, but not the real name.
    .98 can also resolve and ping the Alias, but not the real name.
    The rest of the machines can resolve and ping both the alias and the real name.
    All of the Virtual Machines are running under Hyper-V on the .10 physical server.
    All the devices are on the same subnet.
    Thank in advance to anyone who can help me understand and correct this problem!
    Jim

    Hi,
    CNAME resource records are recommended for use in the following scenarios:
    • When a host that is specified in an A resource record in the
    same zone needs to be renamed
    • When a generic name for a well-known server, such as www, must resolve to a group of individual computers (each with individual A resource records) that provide the same
    service, for example, a group of redundant Web servers
    Therefore please try to create your CNNAM record in the same zone and try again.
    The related KB:
    Adding, Changing, and Deleting Resource Records
    http://technet.microsoft.com/en-us/library/cc779020(v=ws.10).aspx
    Hope this helps.
    We
    are trying to better understand customer views on social support experience, so your participation in this
    interview project would be greatly appreciated if you have time.
    Thanks for helping make community forums a great place.

  • How can i see the REAL web address, before i click the link, in an iOS device email?

    on my windows devices, when i mouse over a link, they show me the REAL web address, before i decide if i want to click it or not. How do i do this on apple devices?

    on my windows devices, when i mouse over a link, they show me the REAL web address, before i decide if i want to click it or not. How do i do this on apple devices?

  • Email messages from my personal email account are being posted (copied) to SMS messages.  I have a new cell device, and this is happening on the new device also.  The copy/forward to SMS is NOT being initiated by my email provider.  How do I end this?

    Email messages from my personal email account are being posted (copied) to SMS messages.  I have a new cell device (swtched from Droid to iPhone) and this is happening on the new device also.  The copy/forward to SMS is NOT being initiated by my email provider, and not by Gmail.   How do I end ûVerizon's forwarding my personal email to SMS? 
    Thanks.

    Maybe I'm missing something but how can Verizon have control over your personal GMail account?  Sounds like you do have your email set up to forward to sms. 
    I have certain emails that are forwarded to me as SMS but that is an option that is enabled on the email side of things and is independent from Verizon.

  • I cant find the "manage devices" on my "account information"

    Can someone help me on my account information page i cant find the "Manage devices" someone help me please

    You need to enable automatic downloads on the computer or device that you would like to "manage".  As soon as this is done the manage device button will appear in your account.
    Link: http://support.apple.com/kb/HT4539?viewlocale=en_US&locale=en_US

  • I have recently installed firefox 4. it is wonderful. small problem is i cant get to use real player to download flash player files (like u tube for example) although the plug inn in the real player setting supports firefox. thanks

    i have firefox 4 on my computer 9fujitsu simens laptop) system of computer is windows xp pro sp3. i watch lots of videos on u tube and similar applications. usually there is a feature on real player that allows me to download these videos to my computer, and this feature works perfectly for internet explorer, and google chrome. nevertheless it doesnt work on firefox. i checked that the option on the real player menu supports firefox for downloading but i just cant activate it

    You had to have some kudos for the effort put in to your thread as week as the point you make.

  • Hi Guys,  My iPhone is stuck in a mode where it thinks the headset is still plugged in.   I cant get any sounds through the speaker. Cant hear sms or emails arrive. If the phone rings i hear it but pple cant hear me or i cant hear them.  The phone works f

    Hi Guys,
    My iPhone is stuck in a mode where it thinks the headset is still plugged in.
    I cant get any sounds through the speaker. Cant hear sms or emails arrive. If the phone rings i hear it but pple cant hear me or i cant hear them.
    The phone works fine with the headphones plugged in.
    I have tried all the usual solutions, inserted and removed the headset (at least 50 times)
    Soft reboot
    full restore
    Nothing seems to work. I have searched on this and it seems to be a well know issue but there doesnt seem to be any firm solutions that i can find to fix the problem

    If no change after inserting and removing the headset at least 50 times, powering the iPhone off and on, an iPhone reset, and restoring the iPhone with iTunes as a new iPhone or not from the backup, the iPhone has a hardware problem.
    Make an appointment at an Apple Store if there is one nearby.

  • Cant Charge/connect ipod touch. Get an error saying "One of the USB devices attached to your computer has malfunctioned, and Windows does not recognize it" . HELP.

    Ok . so my ipod touch 2G , used to be all ok . its just yesterday i went to charge my ipod it wouldnt do anything . Then after being plugged in for a bit , i got  pop up saying "  "One of the USB devices attached to your computer has malfunctioned, and Windows does not recognize it" .
    Ive tried plugging this into 3 other computers same error message pops up .
    PLEASE help me . thanks (:

    Uninstall your USB drivers in your computer & reinstall.
    contact your pc manufacturer for the steps.
    Although I am working on behalf of HP, I am speaking for myself and not for HP.
    Love Kudos! If you feel my post has helped you please click the White Kudos! Star just below my name : )
    If you feel my answer has fixed your problem please click 'Mark As Solution' and make it easier for others to find help quickly : )
    Happy Troubleshooting : )

  • Cant found the output devices in my macbook

    i just update the new os, but now can't set the output devices on my macbook pro, just show me no output devices found.
    how i can set up?

    What output devices?
    For audio?
    Try resetting the SMC and PRAM
    Intel-based Macs: Resetting the System Management Controller (SMC)
    About NVRAM and PRAM
    BTW, this is the Mac Pro desktop forum

  • HT201210 I had the ios 7 beta and now I cant figure out how to get the real update

    I have the IOS 7 beta currently on my phone however now I can't figure out how to get the real update

    Be sure to log into developer.apple.com using your developer ID. there should be support on these issues.

  • HT201441 i cant get in touch with the previous owner to get the device removed from their account

    How can i resolve this issue since i cant get in contact with the account holder?

    Welcome to the Apple community.
    Unfortunately, you cannot do very much with your phone unless you get assistance from the previous owner, they should either provide you with the password to unlock it or remove their account from the phone entirely remotely through iCloud.com > Find My Phone.

  • My iphone 4 screen is totally black and i can`t receive any call, but it`s ringing when i`m trying to call from any other device. i cant hear it ringing from the phone but device itself is not ringing

    screen is black, i cant use any application on the phone, i can`t hear any ring tone from my phone, multiple people told me that they are trying to call me but no one pick it up. what should i do ?

    Yes, I already talked about this to my carrier. Do you think it doesn't have any problem with the phone?

Maybe you are looking for