Skip to content

hivesolutions/cameo-android

Repository files navigation

The Android version of the Cameo Framework.

Usage

allprojects {
    repositories {
        maven { url "https://jitpack.io" }
    }
}

dependencies {
    implementation "com.github.hivesolutions:cameo-android:0.4.2"
}
ProxyRequest.setBaseUrl(this, "http://api.service.com/")
ProxyRequest.setLoginPath("api/login.json");
ProxyRequest.setLoginLogo(R.drawable.logo);
ProxyRequest.request(this, "api/ping.json", new ProxyRequestDelegate() {
    @Override
    public void didReceiveJson(JSONObject data) {
    }

    @Override
    public void didReceiveError(Object error) {
    }
});

Deploy

The current deployment strategy uses JitPack, making use of GitHub releases.

This is an easy to go solution as it only requires tagging a certain Git commit and a version is automatically made available at https://jitpack.io/#hivesolutions/cameo-android.

References

License

Cameo Android is currently licensed under the Apache License, Version 2.0.

Build Automation

Build Status License