Joke Collection Website - Public benefit messages - How does android read the latest SMS of the system

How does android read the latest SMS of the system

Just add a sort condition.

content resolver resolver = getContentResolver();

uri uri = uri . parse(" content://SMS/");

cursor cursor = resolver . query(uri,null,null,null," date ");

Or cursor cursor = resolver.query (uri, null, null, null, "datedesc");