This Android app provides a way to back up your text message content. It reads all SMS+MMS text messages and exports the messages, images, videos, group MMS addresses to a JSON file on your phone. You can then copy it to your computer and write code to do whatever you want with it.
Audience: devs mildly familiar with Android app development.
- Install Android Studio
- Android Studio seems to change project structure every year, so create a new project
- Select Empty Activity
- On the next screen select "API 16: Android 4.1 (Jelly Bean)" as the Minimum SDK. Unless of course you need something earlier and are up for some light development work.
- Fill out the rest of the fields (I assume you know how to use Android project)
- From the src folder
- Copy my code into your
MainApplication.java
file - Modify your project's
AndrioidManifest.xml
to closely match mine. Note permissions and default activity launch stuff - Modify your
strings.xml
resource file and copy in the 4 resources from mine - Copy my
activity_main.xml
layout file contents into yours
- Copy my code into your
- Hook your phone up to your computer using a USB cable
- Ensure Android Studio sees it
- Build and Run the app on your phone. Be sure to grant the app SMS and Storage privs.
- Press the Backup button on the app
- Watch the console log in Android Studio to see it making progress
- Note the location of the JSON that shows on your phone's screen
- Use the Device Explorer to navigate to the correct folder
- Right click the file and Save-As to copy to your computer