I have a specific scenario in mind, but I will ask this generally:
Is there a way to make my mobile phone trigger an action on my computer? I am thinking that with a smart phone it must be possible to link the phone and the personal computer with bluetooth, and have some sort of small program running on my computer that will listen for incoming phone calls on the phone. When someone calls me, I want my mobile to simply submit the callers phone number to the personal computer, and then the personal computer will do its stuff from there. Then, I want to handle the call on the mobile phone as usual.
Edit:
Updated this question! I am currently using the HTC Hero, and hopefully the Android SDK will make this more easy to accomplish.
My specific scenario was:
When my phone (Nokia N82) calls, i want to submit the callers phonenumber
to a search applet/application, that will query Microsoft Dynamics CRM and see if a contact person or a company has that phonenumber
, and if so, show the corresponding person or companys info on my screen. My preferred development platform is .NET Framework.
First, you must give the Your Phone companion app permission to see Android notifications. To do this, open the Your Phone app on your Windows 10 PC, click the “Notifications” tab, and then click “Open Settings on Phone.” Tap “Open” in the notification that appears on your Android device to sync notification settings.
Android Phone Call integrations A native Android service that provides triggers and actions built around calls placed to and from your phone. This service requires the IFTTT app for Android.
The way your sat-nav interfaces with your phone is by creating a bluetooth serial connection with your phone's Dial-Up modem. You can see which COM port that corresponds to in your Control Panel's Bluetooth options.
Once connected, regular AT commands can be sent and received with the handset -- for Nokias these are documented (along with a full guide to the process) here.
You should wait for the "RING" notification of an incoming call, then immediately issue the command "AT+CLCC" (List Current Calls). On my N78 this results in the following
+CLCC: 1,1,4,0,0,"07xxxxxxxxx",129
This should be all the information you require to trigger any desired action on the PC.
Edit: that particular link does not actually mention AT+CLCC for some reason. For a full set of commands (including those to query the phone book, and even view incoming SMSs on some handsets) try this document.
The N82 runs Symbian, so you could develop an application that used the CTelephony (C++) class to detect the phone status and do whatever you want with it. You have an example here
http://www.symbian.com/developer/techlib/v9.1docs/doc_source/guide/Telephony-subsystem-guide/N1013A/answer.html
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With