I am looking for a phone that I can write a simple app to send an SMS message and receive the reply. The app needs to have access to IR port and rceive the SMS address and message conetnt from another device (a POS device) and send the messge. Once the reply comes back, it needs to send it down to the device. Basically, the phone acts like a slave and the POS device is the master controls the phone.
What phone can I use for this? I prefer to use a Java enabled phone but if that's not possible I can live with any available solution.