Code for Android SMS Gateway