Based off of the AOSP MMS app.