Joke Collection Website - Public benefit messages - How does Android phone receive SMS?
How does Android phone receive SMS?
Java core code:
Public string getSmsInPhone ()
{
The final string SMS _ uri _ all = "content://SMS/";
The final string SMS _ URI _ inbox = "content: //SMS/ inbox";
The final string SMS _ uri _ send = "content://SMS/sent";
The final string SMS _ uri _ draft = "content://SMS/draft";
StringBuilder SMS builder = new StringBuilder();
Try {
content resolver Cr = getContentResolver();
String [] projection = new string [] {"_ id", "address", "person",
- Previous article:What you bought was crushed by the courier. Who is in charge?
- Next article:How to cancel Netease God SMS verification code?
- Related articles
- Call someone, but remind them that the call has been notified by SMS. What's going on,
- Ask for a sketch of self-study class, the content is that students are tired of their study career and want to confess to their teachers.
- Introduction of Chinese Embassy in Afghanistan
- Received a text message about mortgage loan.
- Have you ever been harassed by these messages?
- Where is the receipt code of Guangfa Bank?
- The size of the poster in the official WeChat account-what should be the picture size of the WeChat public platform?
- Somehow I received a short message to pick up the express delivery. How to go or not?
- How to completely block short messages? I can't see the implied kind at all.
- Dragon boat festival poetry