WearHttp
This library provides a means to access the content on the Web easily from AndroidWear. Welcome pull request
Install / Use
/learn @takahirom/WearHttpREADME
WearHttp
This library provides a means to access the content on the Web easily from AndroidWear.
Example
Code in AndroidWear app
new WearGetText(MainActivity.this).get("http://example.com/text.txt",
new WearGetText.WearGetCallBack() {
@Override
public void onGet(String contents) {
mTextView.setText(contents);
}
@Override
public void onFail(final Exception e) {
mTextView.setText(e.getMessage());
}
});
new WearGetImage(MainActivity.this).get("https://example.com/image.png",
new WearGetImage.WearGetCallBack() {
@Override
public void onGet(Bitmap image) {
mImageView.setImageBitmap(image);
}
@Override
public void onFail(final Exception e) {
mTextView.setText(e.getMessage());
}
});
AndroidWear screen shot

Usage
In Mobile and Wear module build.gradle:
You must be implemented in both the Mobile and Wear
dependencies {
...
compile 'com.kogitune:wear-http:0.0.5'
}
Example Project
Directory
- mobilesample
- wearsample
Suggestion
WearHttp can use in WearSharedPreferences and simultaneous.
License
This project is released under the Apache License, Version 2.0.
Related Skills
qqbot-channel
343.1kQQ 频道管理技能。查询频道列表、子频道、成员、发帖、公告、日程等操作。使用 qqbot_channel_api 工具代理 QQ 开放平台 HTTP 接口,自动处理 Token 鉴权。当用户需要查看频道、管理子频道、查询成员、发布帖子/公告/日程时使用。
docs-writer
99.7k`docs-writer` skill instructions As an expert technical writer and editor for the Gemini CLI project, you produce accurate, clear, and consistent documentation. When asked to write, edit, or revie
model-usage
343.1kUse CodexBar CLI local cost usage to summarize per-model usage for Codex or Claude, including the current (most recent) model or a full model breakdown. Trigger when asked for model-level usage/cost data from codexbar, or when you need a scriptable per-model summary from codexbar cost JSON.
ddd
Guía de Principios DDD para el Proyecto > 📚 Documento Complementario : Este documento define los principios y reglas de DDD. Para ver templates de código, ejemplos detallados y guías paso
