开发者

replay to message in android

if you please I just want to know how can I replay to sms automatic to a message received on the mobile in my application I could received the开发者_JAVA百科 sms only but i could not auto replay the sms.in android


Well, you create a class that extends the BroadCastReciever class. In this class, override the onReceive method to intercept received messages. It will be in this method that you will have to send your automatic reply.

This you can do by using intents and starting the activity to send your sms. You can refer to the following links for details on the same:
Send SMS in android
http://mobiforge.com/developing/story/sms-messaging-android
The second link explains in detail what ive tried to explain above.

Hope this helps.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜