开发者

Can I show text from recieved SMS in toast or something similar?

I have an application for one mobile operator, for activating SMS开发者_开发知识库 and Data packets, and clicking on one of the buttons SMS request for checking amount of MB left in my Data packet is sent. Then i get SMS answer with this information. now my question is next : Can I make that text of recieved SMS is shown in a Toast, or similar ???


sure just use Toast.makeText(getBaseContext(),text_of_smsMessage, length_that_you_want).show()

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜