All Projects → smarek → Httpclient Android

smarek / Httpclient Android

Licence: apache-2.0
HttpClient repackaged for Android

Programming Languages

java
68154 projects - #9 most used programming language

Projects that are alternatives of or similar to Httpclient Android

Book118 Downloader
基于java的book118文档下载器
Stars: ✭ 187 (-11.37%)
Mutual labels:  httpclient
Mxisd
Federated Matrix Identity Server
Stars: ✭ 194 (-8.06%)
Mutual labels:  gradle
Techreborn
Tech Reborn is a completely standalone tech mod including tools and machines to gather resources, process materials, and progress through the mod. https://www.curseforge.com/minecraft/mc-mods/techreborn
Stars: ✭ 205 (-2.84%)
Mutual labels:  gradle
Richeditor
基于原生EditText+span实现的Android富文本编辑器
Stars: ✭ 191 (-9.48%)
Mutual labels:  gradle
Gradledoc
Gradle 中文文档
Stars: ✭ 192 (-9%)
Mutual labels:  gradle
Yurunhttp
YurunHttp 是开源的 PHP HTTP 客户端,支持链式操作,简单易用。完美支持Curl、Swoole 协程。QQ群:17916227
Stars: ✭ 197 (-6.64%)
Mutual labels:  httpclient
Mvvmtemplate
An Android Template with MVVM and Clean Architecture
Stars: ✭ 182 (-13.74%)
Mutual labels:  gradle
Sample Project Gradle
Sample web3j project using Gradle
Stars: ✭ 211 (+0%)
Mutual labels:  gradle
Acgn Community
A community app for news,animation,music and novels developed material design style.
Stars: ✭ 193 (-8.53%)
Mutual labels:  gradle
Vasdolly
Android V1 and V2 Signature Channel Package Plugin
Stars: ✭ 2,441 (+1056.87%)
Mutual labels:  gradle
Ddd Java
Spring Boot + Java [ DDD Sample ]
Stars: ✭ 191 (-9.48%)
Mutual labels:  gradle
Appaddupdate
Android app 增量更新
Stars: ✭ 192 (-9%)
Mutual labels:  gradle
Autoplay
Gradle plugin for publishing Android artifacts to Google Play.
Stars: ✭ 201 (-4.74%)
Mutual labels:  gradle
Httplug
HTTPlug, the HTTP client abstraction for PHP
Stars: ✭ 2,295 (+987.68%)
Mutual labels:  httpclient
Argusapm
Powerful, comprehensive (Android) application performance management platform. 360线上移动性能检测平台
Stars: ✭ 2,452 (+1062.09%)
Mutual labels:  gradle
Kotlin Multiplatform Template
Kotlin Multiplatform Template
Stars: ✭ 185 (-12.32%)
Mutual labels:  gradle
Xian
reactive风格的微服务框架
Stars: ✭ 196 (-7.11%)
Mutual labels:  gradle
Twitch4j
Modular Async/Sync/Reactive Twitch API Client / IRC Client
Stars: ✭ 209 (-0.95%)
Mutual labels:  gradle
Drawingview Android
DrawingView is a simple view that lets you draw on screen using your fingers and lets you save the drawings as images.
Stars: ✭ 206 (-2.37%)
Mutual labels:  gradle
Worldwindandroid
The NASA WorldWind Java SDK for Android (WWA) includes the library, examples and tutorials for building 3D virtual globe applications for phones and tablets.
Stars: ✭ 204 (-3.32%)
Mutual labels:  gradle

httpclient-android Build Status

Build script and dependencies to create repackaged upstream version of HttpClient and depdendencies (HttpMime, HttpCore, HttpClient-Cache) and get it working on Android API version from 3 to 23

Current version: 4.5.8 (originating from upstream HttpClient 4.5.8 version)

Usage

Download the repository and simply hit ./build.sh script

Dependencies

Required dependencies are:

  • JDK 6 or newer
  • Gradle 2.4 or newer
  • find, grep, svn, patch and sed (or gsed for OS X)
  • for Kerberos support you need Android NDK, git and swig

## Configuration

Build params (ENV variables) you can use:

  • USE_GRADLE_WRAPPER, set to 0 if you want to use current Gradle from PATH
  • UPDATE_UPSTREAM, whether the build script should download SVN/GIT/... sources again (useful for recurring builds)
  • SED_CMD used variant of SED utility (default is sed -i on linux and gsed -i on Mac OS X)
  • INCLUDE_JGSS_API, experimental, whether to include Kerberos API and Negotiate, SPNego, GGS, Kerberos Auth schemes implementation
  • VERBOSE, set to 1 to get more verbose output

Maven Central

This repository version will publish the library under namespace cz.msebera.android:httpclient:4.5.8

## Maven Local

Using gradle installArchives will install the library to local Maven repository

Gradle

Gradle dependency string, once you have it installed

dependencies {
  compile "cz.msebera.android:httpclient:4.5.8"
}

Or you can simply depend on the project, like this (httpclient-android is resulting Gradle project dir)

dependencies {
  compile project("/path/to/generated/project/httpclient-android")
}

Testing the library on the device

To test the library, you can use provided android app template, in the /testing-android-app folder

This template currently just shows the response from https://httpbin.org/headers if successfull, and the error message otherwise

cd testing-android-app
./gradlew clean instalDebug
adb shell am start -n cz.msebera.android.httpclient.test/.MainActivity

If everything goes well, you should see, within seconds after running the last command, json with http headers of just finished HttpGet

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].