Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. C#
  4. read sms from nokia phone

read sms from nokia phone

Scheduled Pinned Locked Moved C#
helpquestion
4 Posts 3 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • B Offline
    B Offline
    behzadcp
    wrote on last edited by
    #1

    hi guys i want to read sms with gsmcomm from nokia phone but i cant read and get error whats problem ? from gsmcomm or phone? thanks

    J 1 Reply Last reply
    0
    • B behzadcp

      hi guys i want to read sms with gsmcomm from nokia phone but i cant read and get error whats problem ? from gsmcomm or phone? thanks

      J Offline
      J Offline
      JHizzle
      wrote on last edited by
      #2

      What's the error and what's the code?

      B 1 Reply Last reply
      0
      • J JHizzle

        What's the error and what's the code?

        B Offline
        B Offline
        behzadcp
        wrote on last edited by
        #3

        DecodedShortMessage[] messages = CommSetting.comm.ReadMessages(PhoneMessageStatus.All, storage);
        foreach(DecodedShortMessage message in messages)
        {
        Output(string.Format("Message status = {0}, Location = {1}/{2}",
        StatusToString(message.Status), message.Storage, message.Index));
        ShowMessage(message.Data);
        Output("");
        }
        Output(string.Format("{0,9} messages read.", messages.Length.ToString()));
        Output("");

        error:Phone reports generic communication error or syntax error. of curse i get this code from this site mean codeproject

        L 1 Reply Last reply
        0
        • B behzadcp

          DecodedShortMessage[] messages = CommSetting.comm.ReadMessages(PhoneMessageStatus.All, storage);
          foreach(DecodedShortMessage message in messages)
          {
          Output(string.Format("Message status = {0}, Location = {1}/{2}",
          StatusToString(message.Status), message.Storage, message.Index));
          ShowMessage(message.Data);
          Output("");
          }
          Output(string.Format("{0,9} messages read.", messages.Length.ToString()));
          Output("");

          error:Phone reports generic communication error or syntax error. of curse i get this code from this site mean codeproject

          L Offline
          L Offline
          Lost User
          wrote on last edited by
          #4

          behzadcp wrote:

          of curse i get this code from this site mean codeproject

          Then you should post your question in the forum below the article where you got the code, so the person who wrote the code will see your problem.

          It's time for a new signature.

          1 Reply Last reply
          0
          Reply
          • Reply as topic
          Log in to reply
          • Oldest to Newest
          • Newest to Oldest
          • Most Votes


          • Login

          • Don't have an account? Register

          • Login or register to search.
          • First post
            Last post
          0
          • Categories
          • Recent
          • Tags
          • Popular
          • World
          • Users
          • Groups