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",