SMS History Faker is a code example for adding SMS Messages to the android SMS history. It takes advantage of the undocumented, unsupported content://sms content provider that is provided by the stock Android SMS application, the definition of which can be found at GrepCode.
SMS History Faker is distributed under the Creative Commons Attribution-ShareAlike 3.0 Unported License.