how to send and read SMS from mobile attached to PC

后端 未结 2 782
夕颜
夕颜 2020-12-28 10:35

I am building a Windows Desktop software that will respond to SMS request and sending a SMS as reply automatically.

The software is ready and working just fine but i

2条回答
  •  长发绾君心
    2020-12-28 11:06

    "Any mobile"? That's a tall order. I'm not sure your customer knows what he's asking for. Different types of phones are different and there isn't some way to make the same program run on all of them.

    What you can do, though, is make it run on any supported mobile. You can keep most of your existing PC-side code; only the part that talks to the phone has to change. Encapsulate that into some sort of interface in a separate module, and that's your specific code for talking to Nokia phones. Your app now supports Nokia.

    Then figure out how to do the same thing for an Android, or a Blackberry or an iPhone. Build those specific parts into their own modules that all implement the same basic interface. With each new phone type you figure out how to talk to, your list of supported devices will grow.

提交回复
热议问题