A android library project , which turn the android phone into SMS gateway!
-
Android phone with atleast one registered Google account
-
php-mysql stack on server
-
Login and create new project by filling simple form
-
Click overview tab and copy project number
-
Goto Init class in main package of library project
-
Assign project number to appid global variable
-
Include this library project in your main project and build main project
-
Create database and import the gateway.sql file into database from this repository
-
In php goto to lib->config.php and configure your database parameters
-
Goto Google API console, click on API access option, copy the API key
-
Goto to lib->SmsManager.php, in SmsManager class assign the API key copied from in constructor function of class
Exp: $this->key = 'AIzaSyBtvXEVlpJO8pVyERs2_RXXXXXXXXXXX';
-
Initiate this SmsManager class and call sendSMS() method.
Done!
Your rock solid SMSgateway is ready now.
Please be open for any Suggestion and contribution.