8 个仓库
Implementation of network communication protocols and asynchronous requests within Android applications.
Distinct from Android Network Monitoring: Existing Android candidates focused on monitoring, navigation, or rebuilding; none covered general network programming.
Explore 8 awesome GitHub repositories matching mobile development · Android Network Programming. Refine with filters or upvote what's useful.
This is an asynchronous HTTP client for Android that simplifies network requests by wrapping Apache HttpClient. It provides a callback-based networking library for fetching remote data and communicating with servers without blocking the user interface. The project includes a multipart HTTP uploader for sending binary files and large data payloads, as well as a JSON parser to convert raw response text into structured data objects. It features a session manager that persists cookies in local application preferences to maintain state across multiple requests. Additional capabilities include aut
Facilitates non-blocking asynchronous server communication and remote data fetching for Android apps.
AndroidAsync is a non-blocking networking library for Android that provides asynchronous sockets, HTTP clients, and servers based on Java NIO. It serves as a toolkit for managing raw TCP socket connections and bidirectional data streams using an asynchronous input and output architecture. The library includes a dedicated WebSocket framework for establishing persistent full-duplex communication channels between Android clients and servers. It also enables the hosting of a lightweight asynchronous HTTP server directly on an Android device to handle incoming network traffic. Its broader capabil
Enables sending and receiving asynchronous HTTP requests within Android applications without blocking the UI thread.
This project is a sample library and implementation guide for using RxJava to manage asynchronous data streams and concurrent tasks in Android applications. It provides a collection of reference implementations for reactive programming, focusing on functional operators to transform and combine asynchronous data flows. The library demonstrates specific Android architectural patterns, such as implementing decoupled event buses for component communication and coordinating parallel network requests. It includes concrete examples of mobile-specific patterns including search input debouncing, list
Implements advanced network optimization patterns such as list pagination and exponential backoff.
OkHttpUtils is a convenience wrapper for the OkHttp HTTP client that simplifies common networking operations on Android. It provides a straightforward interface for executing GET and POST requests, including sending form parameters and JSON payloads, as well as uploading files via multipart form data and downloading remote files to local storage. The library distinguishes itself through a set of practical utilities built on top of OkHttp's core architecture. It wraps synchronous calls into an asynchronous callback pattern, includes an interceptor-based logging layer for request and response d
Provides an Android HTTP networking wrapper for GET, POST, JSON, and multipart uploads.
Fuel is a Kotlin HTTP client library for Android and Kotlin applications that handles both synchronous and asynchronous web requests. It functions as a network wrapper that supports executing calls via suspending functions in coroutines, reactive streams, and traditional callbacks. The library features built-in integration for Android LiveData to bind network responses directly to observable state holders for user interface updates. It also includes a JSON serialization client that utilizes customizable mappers to convert raw HTTP response bodies into structured data objects. Capability area
Functions as a networking wrapper with built-in support for Android LiveData and UI thread callbacks.
该项目是 Android 应用程序参考实现和示例项目的集合。它提供了演示构建功能性移动应用程序的标准开发模式的教育性源代码。 该存储库包括 Android UI 设计、数据持久化和硬件集成的具体示例。它提供了处理长时间运行的后台进程和系统广播的参考实现,以及构建布局和自定义图形的演示。 该代码库涵盖了广泛的功能,包括用于远程数据获取的网络编程、使用共享首选项和数据库的本地数据管理,以及设备传感器、蓝牙、摄像头和麦克风的使用。它还演示了模块化 Fragment 布局、系统通知和应用程序权限管理的使用。
Provides reference implementations for network communication and asynchronous requests to remote web services.
rxhttp is a communication layer and network library for Android applications that wraps OkHttp to provide an asynchronous HTTP client. It functions as a type-safe API client that manages network requests and automates the conversion of responses into structured objects. The library features a compile-time code generation tool to produce type-safe request boilerplate and an interceptor framework for applying global encryption, decryption, and custom headers to network traffic. It supports non-blocking communication using Kotlin Coroutines and RxJava. The project covers a broad range of networ
Implements a comprehensive network communication layer for Android apps using OkHttp, Coroutines, and RxJava.
该库充当网络服务接口与异步并发原语之间的桥梁。它通过将标准同步网络请求对象转换为延迟类型来实现非阻塞数据检索,允许开发者通过结构化并发模式管理后台任务。 该项目作为网络服务定义的插件运行,利用动态代理生成在运行时拦截方法调用。通过将响应流直接映射到基于协程的 Future,它促进了远程 API 请求的执行,而不会中断主应用程序线程。 这些功能支持将网络操作集成到移动应用程序生命周期中,确保后台数据检索保持响应。该库旨在扩展现有的网络客户端接口,以支持现代异步编程流。
Executes asynchronous API calls in mobile applications while keeping the user interface responsive and avoiding main thread blocking.