-
Notifications
You must be signed in to change notification settings - Fork 351
Installation Tutorial
- Apache
- PHP
- MYSQL
- Android Studio
(The easiest way is using the "Xampp" Application --> Download and Installation informations can be found here)
When you're familiar with the github environment, just clone this repo. Else you can download the Master.zip file.
You have everything you need in this repo so you'll find a Folder called "android-im_WEBAPI" in this Repo, this Folder contains every "WebAPI" related configs and scripts. So copy this to your xampp "htdocs" directory and rename it to "android-im".
The Tables will be created on the first index.php call.
open your index.php in the android-im folder and modifie the following Parameter to fit your needs:
$dbHost = "localhost"; $dbUsername = "DBUSERNAME"; $dbPassword = "DBPASSWORD"; $dbName = "DBNAME";
Simply import the github package into your Android Studio as new Project.
You'll have to configure 1 thing in the code for your Environment.
- In src/at.vcity.androidIM/communication/SocketOperator.java
24. private static final String AUTHENTICATION_SERVER_ADDRESS = "http://192.168.7.5/android-im/";
change the "192.168.7.5" to the IP-Adress of your Server (where the WebAPI is reachable)