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()
精彩评论