Click here to Skip to main content
16,015,414 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
hi to all ,
i am currently doing a project in sendin and receiving sms using GSM modem connected with my computer. I am using serialport communication in C# to do this.
my question is,
how i can display all the messages in my modem inbox in a List View control. and when i click a particular message in the list view,the entire message is displayed in the following format,

from:+91.... date and time:xxxxx
Message: kjsdfhkjshd,fksjfn,sdofj
Posted

Check this link: Send and Read SMS through GSM Modem using AT Commands[^]. It will give you a start. Rather it will do most of the things you need. You just need to make a few changes to work it for your requirement.


PS: I know it's an old post but thought my answer still may help you. :thumbsup:
 
Share this answer
 
There is literally zero support for SMS in C#. I believe you can send your modem commands to get it to send back things like SMS messages, but questions like 'how do I click on a message, and how do I show it in this format', makes me wonder if you realise that you're asking us to help you with trivial rendering details. You do know how to create an app with a listview that accepts click events, right ? If not, you should read a basic book before wondering how to send and recieve data from your modem.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900