http://qs1969.pair.com?node_id=1174889


in reply to using perl to get sms messages

More or less standard location for SMS under Android is /data/data/com.android.providers.telephony/databases/mmssms.db. This is SQLite database and one can read it using simple sqlite3 command.

Normally, this path is not accessible by the users. So you can access SMS messages only from inside of Android application, using Android API. Alternatively you may try to root your phone and then you'll get direct access to the file