SMS reciever

Discussion in 'Questions (Windows Mobile)' started by conniemalan, Oct 18, 2007.

  1. conniemalan

    conniemalan Member Licensed User

    Hi

    I use the sample code (listed below) to receive a SMS, but no data is displayed. What are missing? :confused:

    Sub App_Start
    Form1.Show
    Sms.New2
    Intercept.New1
    End Sub

    Sub Intercept_MessageReceived
    Sms.Value = Intercept.ReceivedMessage
    textBox1.Text = sms.Body
    textBox2.Text = Time(sms.DateReceived)
    textBox3.Text = sms.From
    End Sub
     
  2. Erel

    Erel Administrator Staff Member Licensed User

    What device are you using?
    Did you add the SMS and Intercept objects?
     
  3. conniemalan

    conniemalan Member Licensed User

    Yes, with the necessary textboxes
     
  4. Erel

    Erel Administrator Staff Member Licensed User

    What device are you using?
     
  5. conniemalan

    conniemalan Member Licensed User

    I have Imate K-jam running MS Windows Mobile 5 (Build 14847.2.0.0)
     
  6. Erel

    Erel Administrator Staff Member Licensed User

    I'm not sure if it will help but please download this sample (including the libraries) and try to run it on the device.
     

    Attached Files:

    • SMS.zip
      File size:
      14 KB
      Views:
      93
  7. conniemalan

    conniemalan Member Licensed User

    Hi Erel

    You the Man!

    It's working 100%

    Thanks
     
Loading...