Controlling a mobile phone to send a request - c#

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.

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

Twilio - Making a call from .NET Windows application to a Phone

I am trying to write a windows application to call a phone number(Twilio verified) from my application directly.
What i was able to achieve was:
- To call a phone number and read out a voice sms as mentioned in the TWIML url.
- to call a phone number and then redirect it to another phone number ( by using in the TwiML).
But what i want to do now is:
- Call a phone number directly from the application using my Headphones attached to the pc where the app is running. Is there a way to do that?
Please let me know if my question is not clear enough and i should to try to explain it in more detailed format.
Thanks!!!
Twilio evangelist here.
Unfortunately today we don't offer a native Windows version of Twilio Client, which it what sounds like you are looking for.
The only suggestion I have is to use the .NET browser control to embed a browser into your application. I have not tried this, so I don't know what if any problems you'll have.
Devin

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.

C#. Android and NFC

I have a C# app running on my windows machine. The app can detect a specific phone (over bluetooth) and according to the phone's presence or not, it popups a message to the user. The C# app checks for the phone's presence periodically. So far so good.
I want to add a third "player" in the game i.e. an NFC smart card.
Now, I want the Android phone to act as an intermediate; it will receive the periodically sent request from the C# (windows machine) application, will check if a certain smart card is close (over NFC) and get back the answer to the C# application. So, now the C# app checks for both the phone's and (indirectly) the card's presence.
I want the application on the Android to constantly listen to the bluetooth interface and if the request from the C# (windows) application arrives, to check if the card is close. The answer ("yes" the card is here - "no" the card is not here) should be sent back to the C# application. I currently don't care about security or anything else. Only the existence of the card.
Do you think that this can be done?
Thank you!
The problem is, NFC in Android does not work that way. Its not as if the phone is "checking" if there are some cards near. Its event driven, not polling. When a card is put close enough to the phone, an aproriate intent is fired. your app can handle it.
As for your particular problem, the solution would seem to be setting up a flag each time a card is detected and feeding it to C# app via bluetooth. Remember tho, NFC isnt putting a card into a contact reader. The card may have been near the phone a second ago, but it might as well already be gone. Also, eep in mind, that NFC range is small - you have to almost touch the phone with the card.
On handling NFC intents check out http://developer.android.com/guide/topics/connectivity/nfc/nfc.html and http://developer.android.com/guide/topics/connectivity/nfc/advanced-nfc.html
I did not work with NFC-Tech or Android this far, but it should be possible.
Having the C#-Code constantly listening to the Android device is ok, like you said, you will need your android device to route the NFC-Listener.
When the Android device detects an NFC-Card, it should be easily given to the C# Code via some custom method.

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