How to read sms - c#

May I know how to read an SMS from my mobile phone and display on the PC?The mobile phone is connected to the PC via the data cable. I need to know how to code it using C#. I use nokia .

You can do this with the Nokia PC Connectivity API. This post may help.

Related

Bypassing connect bluetooth device permission in c# with windows 10

Context: I'm working on a Windows 10 app that will allow users to quickly connect to a Bluetooth device. Because the native API is difficult to work with, I'm using the 'In The Hand' library. Anyway, back to the point: whenever I make a connect request. Before allowing me to connect, I receive this Pair a device notification.
I'm wondering if I can set Windows to automatically accept this permission for connecting the device. Is there a method in the Windows API that I can use to accomplish this?
Here is the link to the code: https://github.com/hasham7861/bluetooth-le-experiment/blob/master/Program.cs
In the picture I make a connect request to a bluetooth headset and then I get the notification on the bottom right, and only if I click allow to pair device then it pairs the device.
I hope this link helps you.
I apologize in advance if I misunderstood the question or if the data were meaningless
Windows 10 Connect to Bluetooth Classic Device without Pairing
https://github.com/microsoft/Windows-universal-samples/blob/main/Samples/DeviceEnumerationAndPairing/cs/Scenario9_CustomPairDevice.xaml.cs

Use C# to send SMS via old Nokia phone

I'm a beginner in developing an application to interact with a Nokia phone. My final goal is to use my old Nokia phone and send a SMS. I've read a lot of documentation online to see how this is done but I'm very confused as where to start. So far, I understand that I need a Nokia phone and connect it to the computer via serial cable. But in order for my C# application to interact with it, do I install PC Connectivity 3.0 or Nokia PC Suite 7.1 for that? Also I'm looking into GSMCOMM library for my C# application, but their documentation starts at the developer has already resolved all PC to Phone connectivity issues. If anybody has experience in development in .NET with Nokia phones, can you provide full steps or tutorials on how I can get started? Thanks!!!
Using Twilio for this application!
you can try :
//Replace "COM7"withcorresponding port name
SerialPort _serialPort = new SerialPort(post, 115200);
Thread.Sleep(1000);
_serialPort.Open();
Thread.Sleep(1000);
_serialPort.Write("AT+CMGF=1\r");
Thread.Sleep(1000);
_serialPort.Write("AT+CMGS=\"" + number + "\"\r\n");
Thread.Sleep(1000);
_serialPort.Write(message + "\x1A");
Thread.Sleep(1000);
_serialPort.Close();

How to send sms from .Net application via phone connected to pc

We have a legacy .Net application which can send/receive sms from the connected phone, currently it uses old Nokia 5110 phone to send/recieve sms. It uses a third party FBus dll to communicate with the phone. We want to move away from the old phone and use some of the latest phones (i.e. Android/iPhone/WindowsPhone etc.).
I googled a lot to find but every post is suggesting to use some sort of sms gateway and send an email to it to send an sms. But our requirement is, connect the phone with pc and use some sort of api to send/recieve sms via .Net. Also many posts on the net suggets creating an app for the phone, which is not what we want.
Can anybody please suggest some api with we can connect the phone with pc and we can communicate with the phone somehow.
Thanks in advance.

Controlling a mobile phone to send a request

I want to control almost any mobile phone or at least Nokia to send a Request of course using my computer.
you see I have a friend of mine who found a way to send a command to the mobile phone but the phone understood it as a CALL not a Request.
you see in my counrty to know how much unit you have in your mobile Acount you have to write on your mobile *100# then hit the green button "Call button" when you do that your mobile shows "sending request..." or something like it.
okay I want to send this request to the mobile.
and even retreiving the coming message of course after the request.
I program in C#, C++, and I'm learning Java using Eclipse.
please help me.
You can write a program for the phone, and interact with the computer via Bluetooth or the Internet.

How to Send/Receive SMS Messages from C# application, using Nokia Mobile Phone

Okay, so what I need to do is to write C# code, to integrate into an existing application.
I will (most likely) be using a Nokia 7230 mobile phone, and I'm willing to use the Nokia PC Connectivity SDK/API, or just AT commands over from C#, whatever works.
The catch here, though, is that I have absolutely no idea where to even start. I would be eternally grateful if someone could give me a step-by-step guide/tutorial on how to go about setting everything up. I've downloaded the newest versions of the PC Connectivity SDK, the PC Connectivity API, the PC Suite, and the Nokia Connectivity Framework.
If it's at all possible for me to test code with an emulator before actually purchasing a phone, that would be fantastic.
Thank you in advance for any help/advice.
GSMComm is a useful C# library for this, it comes with a bunch of samples/tools to mess around with as well.
I get the impression you going to buy a Nokia handset specifically to handle your SMS stuff? If so, you could just buy a GSM Modem (depending on your location) they are cheaper, don't include extraneous features and are not dependent on using manufacturer specific software.
What you are looking for is called an "SMS Gateway". Most of the articles on the internet discuss how to create one using Linux.
I did find this article though, which teaches you how to do it using C#: http://www.ozekisms.com/high-performance-sms-gateway/product-manual/index.php?owpn=315
It looks like you need the Nokia PC Connectivity API (note: Forum Nokia registration required for download):
Developers can use the Content Access API to build PC applications
that create, modify, and delete SMS and MMS messages. The API can be
used to send and receive SMS and MMS messages.

Categories