>>>>>Hello
>>>>>
>>>>>Is it possible to send SMS from vfp9 application to customers via my android mobile connected to PC by USB cable ?
>>>>
>>>>Theoretically, but probably not worth the candle when you could use emails to a SMS gateway.
>>>>
>>>>If you really want to try then you'll need to be able to connect to the Android phone as a modem. Don't think you can do that via USB but Bluetooth might be an option. There's some core code buried in this :
http://www.foxite.com/archives/how-can-i-send-sms-by-vfp6-0000066718.htm>>>
>>>Viv i tried above code. In bluetooth it connects to com port. But doesn't sending messages , no error is coming ?? is their any setting in mobile phone ?
>>
>>I don't know but would think not.
>>
>>When you say ' no error is coming' what do you mean. All AT commands return result codes ( error is 4)
>>Does simply dialling a number work ?
>
>Above programs ask to enter comp port , i entered my com port number which 9 for samsung mobile via usb cable. After then i click connect and it gets connected.
>Now i entered customers mobile number in send message tab with test message in message box and click to send, after that it shows me message sent window.
>
>But message is not going to given mobile number [ 10 digit ].
>
>Messages are going to same number from mobile manually.
I'd suggest initially trying the AT commands using HyperTerminal or puTTY so that you can see the direct responses.