Click here to Skip to main content
15,881,600 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
suppose I connect a mobile phone with a windows PC via usbcable/bluetooth.
Is there a way to write a program (preferably in Matlab) which gives an alert on PC when an sms arrives in my mobile?
Posted

1 solution

Yes, though I doubt you can do it in Matlab.

If your phone is Windows Mobile, you can use the Remote API (RAPI2)[^] interface to send a DLL to your mobile device and execute code contained within that DLL.

Within that DLL, you can use the RIL API[^]to watch for received SMS messages and alert your application.

Here[^] is an example program receiving SMS messages using MAPI instead of the RIL.

If you're not used to writing code in C or C++ this will be a challenging exercise.

-PaulH
 
Share this answer
 
Comments
Andrew Brock 25-Feb-11 3:49am    
Interesting, I imagine that the DLL uploaded would need to be compiled for the Windows Mobile platform rather than the host OS platform. 5.
Paul Heil 25-Feb-11 22:55pm    
Correct.

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