IceNet alternatives and similar packages
Based on the "Network" category.
Alternatively, view IceNet alternatives based on common mentions on social networks and blogs.
-
android-async-http
An asynchronous, callback-based Http client for Android built on top of Apache's HttpClient libraries. -
AndroidAsync
Asynchronous socket, http(s) (client+server) and websocket library for android. Based on nio, not threads. -
robospice
DISCONTINUED. Repo of the Open Source Android library : RoboSpice. RoboSpice is a modular android library that makes writing asynchronous long running tasks easy. It is specialized in network requests, supports caching and offers REST requests out-of-the box using extension modules. -
android-lite-http
LiteHttp is a simple, intelligent and flexible HTTP framework for Android. With LiteHttp you can make HTTP request with only one line of code! It could convert a java model to the parameter and rander the response JSON as a java model intelligently. -
Minimized API Service Library
Minimized API library which is used call the server request in andorid.
CodeRabbit: AI Code Reviews for Developers
* Code Quality Rankings and insights are calculated and provided by Lumnify.
They vary from L1 to L5 with "L5" being the highest.
Do you think we are missing an alternative of IceNet or a related project?
README
IceNet
FAST, SIMPLE, EASY
This library is an Android networking wrapper consisting of a combination of Volley, OkHttp and Gson. For more information see the website.
Usage
Gradle
compile 'com.anton46:IceNet:1.0.2'
Maven
<dependency>
<groupId>com.anton46</groupId>
<artifactId>IceNet</artifactId>
<version>1.0.2</version>
</dependency>
Initialization
public class YourApplications extends Application {
...
@Override
public void onCreate() {
super.onCreate();
initIceNet();
}
public void initIceNet() {
IceNetConfig config = new IceNetConfig.Builder()
.setBaseUrl(BuildConfig.SERVER_URL)
.setContext(getApplicationContext())
.build();
IceNet.init(config);
}
...
}
GET REQUEST
IceNet.connect()
.createRequest()
.get()
.pathUrl("/v1/feeds")
.fromJsonArray()
.mappingInto(Feeds.class)
.execute(REQUEST_TAG, callback);
POST REQUEST
IceNet.connect()
.createRequest()
.post(bodyRequest)
.pathUrl("/v1/feed")
.fromJsonObject()
.mappingInto(PostResponse.class)
.execute(REQUEST_TAG, callback);
STRING REQUEST (NEW)
IceNet.connect()
.createRequest()
.get()
.pathUrl("/string")
.fromString()
.execute("REQUEST_TAG", callback);
Put this script for Android 4.4.4 (Kitkat) and older uses-sdk
<uses-sdk tools:node="replace"/>
License
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
*Note that all licence references and agreements mentioned in the IceNet README section above
are relevant to that project's source code only.