Used http://www.mymobkit.com/, apk and functions, i just used their API.
Thanks http://www.mymobkit.com/ for such a nice and clean API and app. App is available at https://play.google.com/store/apps/details?id=com.mymobkit&hl=en
SMS Gateway using C#, and myMobkit android APIs. Using Android Phone. Bulk SMS sender, turning phone into surveillance kit.
For database and logs this code uses MS SQL Server 2013.
Later will write complete how to configure this code with your own SMS Android Phone. Mean while i can be contacted at m.muhammad.asghar@gmail.com