Skip to content

romainpiel/meatspace-android

Repository files navigation

Meatspace-android

An android client for the great chatting space https://chat.meatspac.es.

Setting up

Check out the sources and submodules:

> git submodule init
> git submodule update

Run on your machine:

To run the server on your machine, follow the instructions described there.

In the android project, edit the variable url_api_debug in Meatspace/src/main/res/values/urls.xml:

    <string name="url_api_debug">http://192.168.1.110:3000</string> // set your computer IP here

Create a file keys.xml located at Meatspace/src/main/res/values/ and list the api keys:

<?xml version="1.0" encoding="utf-8"?>
<resources>
    <string name="key_bugsense"></string>
</resources>

Create a file ApiKeyGenerator.java located at Meatspace/src/main/java/com/romainpiel/lib/utils/:

public class ApiKeyGenerator {
    public static String getApiKey() {
        return "your_api_key";
    }
}

To start the android app in debug mode, run that from the android project folder:

> ./gradlew installDebug

Using production server:

> ./gradlew installRelease

Contribute

If you like the project the project and you have great ideas of new features/enhancements, just fork the project and post your PR.

You can also post new tickets over there, that would be very appreciated too.

Libraries used

Thanks to the creators/contributors of all of these open-source libraries: