Get last SMS on android phone to string

Lordinaryus

Registered Member
Joined
Nov 28, 2018
Messages
61
Reaction score
6
hi guys.

in my project, i can turn mobile data on and off with adb commands. no problem here.

but i want something different.

how to get last sms on the phone to a string?

is it possible with adb commands?

if not how do i do it?

thx!
 
You have to use sqlite.
This document must help you.
https://android.stackexchange.com/questions/11619/android-read-recent-sms-messages-from-command-line
 
Back
Top