Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/hivesolutions/cameo-android
The Android version of the Cameo framework
https://github.com/hivesolutions/cameo-android
anroid cameo client http java library
Last synced: about 21 hours ago
JSON representation
The Android version of the Cameo framework
- Host: GitHub
- URL: https://github.com/hivesolutions/cameo-android
- Owner: hivesolutions
- Created: 2013-12-12T21:14:01.000Z (almost 11 years ago)
- Default Branch: master
- Last Pushed: 2024-03-10T11:07:07.000Z (8 months ago)
- Last Synced: 2024-04-16T18:09:43.497Z (7 months ago)
- Topics: anroid, cameo, client, http, java, library
- Language: Java
- Homepage: http://cameo-android.hive.pt
- Size: 1.12 MB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
Awesome Lists containing this project
README
# [Cameo Android](http://cameo-android.hive.pt/)
The Android version of the Cameo Framework.
## Usage
```gradle
allprojects {
repositories {
maven { url "https://jitpack.io" }
}
}dependencies {
implementation "com.github.hivesolutions:cameo-android:0.4.2"
}
``````java
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](https://jitpack.io), 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](https://jitpack.io/#hivesolutions/cameo-android).
## References
* [How to upload library to jCenter](https://inthecheesefactory.com/blog/how-to-upload-library-to-jcenter-maven-central-as-dependency/en)
* [How to Publish Your Android Studio Library to JCenter](https://medium.com/@daniellevass/how-to-publish-your-android-studio-library-to-jcenter-5384172c4739)## License
Cameo Android is currently licensed under the [Apache License, Version 2.0](http://www.apache.org/licenses/).
## Build Automation
[![Build Status](https://github.com/hivesolutions/cameo-android/workflows/Main%20Workflow/badge.svg)](https://github.com/hivesolutions/cameo-android/actions)
[![License](https://img.shields.io/badge/license-Apache%202.0-blue.svg)](https://www.apache.org/licenses/)