You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session. You switched accounts on another tab or window. Reload to refresh your session. Dismiss alert
概要 Gsonは、GoogleのJSONライブラリー。 JavaのオブジェクトをJSON形式で保存・復元(シリアライズ・デシリアライズと同様)するのに便利。 必要なライブラリーはGsonのjarファイルのみ(バージョン2.2.2の場合はgson-2.2.2.jar)で、他に依存するjarファイルが無いのも利点。 例 ExampleBeanクラスを保存・復元する例。 ExampleBean.java: public class ExampleBean { private String text; private int value; public ExampleBean(String s, int n) { this.text = s; this.value = n; } @Override public String toString() { return String.format("E
jsoup: Java HTML Parser jsoup is a Java library that simplifies working with real-world HTML and XML. It offers an easy-to-use API for URL fetching, data parsing, extraction, and manipulation using DOM API methods, CSS, and xpath selectors. jsoup implements the WHATWG HTML5 specification, and parses HTML to the same DOM as modern browsers. Scrape and parse HTML from a URL, file, or string. Find an
Google I/O 2013 - Android : Volley: Easy, Fast Networking for Android Volley: Easy, Fast Networking for Android (リクエストで埋め込み無効になってるのでリンクで) Volley というライブラリについて Android のネットワーク通信処理をより簡単に、速くする Volley と名付けたイメージ : a burst or emission of many things or a large amount at once ネットワーク処理で必要なこと JSON, image, raw text の処理 メモリキャッシュとディスクキャッシュ カスタマイズ能力(ネットワークの優先順位の処理、リトライ時のバックオフアルゴリズムなど) デバッグとトレーシングのツール But why?(A
9424680 Merge "Add some missing @Deprecated annotations." by Jeff Davidson · 8 years ago main master n-iot-preview-4 nougat-iot-release sdk-release android-n-iot-preview-4 android-n-iot-release-ihome-igv1 android-n-iot-release-lg-thinq-wk7 android-n-iot-release-polk-at1 android-n-iot-release-smart-display android-n-iot-release-smart-display-r2 android-n-mr2-preview-1 android-n-mr2-preview-288fb6bf
###画像を表示しようとしたら遅いよ! 外部データを取ってきて表示するときにまずはまるのが画像の処理だと思います。非同期で必ず処理しましょう。 画像の非同期ロードはライブラリを使った方が早いと思います。 ###ヘッダーやフッタをつけたいよ! tableView.tableHeaderView tableView.tableFooterView に突っ込む方法を書いてあるのが多いんですが、今回はもっと簡単な方法としてStoryboardなどでこれらのビューを直接突っ込んで管理できるのでおすすめ。 テーブルビューの上や下にUIViewをドラッグすると UIViewをIB上で直接追加できます。 後はIBでレイアウトをくめばok ##使用するクラス、フレームワーク、ライブラリ ###ビュー UITableViewController https://developer.apple.com/libr
Deleted articles cannot be recovered. Draft of this article would be also deleted. Are you sure you want to delete this article? #スタンダード Android Support Library v4 android-support-v7-appcompat JakeWharton/ActionBarSherlock · GitHub https://github.com/JakeWharton/ActionBarSherlock JakeWharton/Android-ViewPagerIndicator · GitHub https://github.com/JakeWharton/Android-ViewPagerIndicator #UI ##Menu Cr
Android Tips #51 ネットワーク通信・キャッシュ処理をより速く、簡単に実装できるライブラリ “Volley” を使ってみた Volley とは 先日開催された Google I/O 2013 で Volley というネットワーク処理を高速化するライブラリが発表・公開されました。Volley を使うとよくあるネットワーク通信処理やキャッシュ処理を今までより簡単に実装することができます。物凄く魅力的ですね!以下のような機能があるようです。 JSON や画像ファイルなどのダウンロード非同期処理の簡素化 リクエストのスケジューリング リクエストの優先順位付け メモリキャッシュ・ディスクキャッシュ 強力で簡単なリクエストキャンセル Activity が存在しないときの自動キャンセル ということで Volley をアプリに入れて使うまで試してみたいとおもいます。またセッションの内容は以下
開発中のアプリに「ネット上からの画像の取得とキャッシュをする」処理があったので、不安定なオレオレ実装からGoogle謹製のVolleyに乗り換えてみました。 Volleyの導入やスタートアップはこちらなんかを参考にするといいと思います。 今回はVolleyを使う上での実用的なメモを備忘録代わりに書いておきます(@mhidakaさんに助けてもらいました) 1. 一度にRequestを投げすぎるな! Volleyがレスポンスを返すおおまかな流れは Requestを生成 RequestQueueに投げる ディスクキャッシュを探して見つかれば返す インターネットから拾ってきて返す という感じです。RequestQueueに投げてからレスポンスを返すまでは別スレッドで動いてくれるので、UIスレッドを停止させることはありません。 ところで、このDispatcherがVolleyでは1つしかなくて並列化
Androidネットワークプログラミング用ライブラリ「Volley」を解説します。 モバイルアプリを開発するにあたってネットワーク通信の知識は欠かせないものとなっている一方、ネットワークプログラミングの世界にはキャッシュや高速化、データ取得やキャンセル処理などプログラミングテクニックが多数存在してます。これらの課題を効率的に解決する方法がVolleyライブラリです。 Volley公式ページ https://android.googlesource.com/platform/frameworks/volley/ Volleyの機能紹介とともにキャッシングやキャンセル処理などネットワークプログラミングに欠かせない処理をVolleyの実装をつかって順番に解説していきます。 非常に長い記事ですので始めに理解を深めるための内部処理を紹介します。APIなど詳細は記事の途中で随時解説します。 ネットワー
本記事では、Volley の基礎部分 (RequestQueue と Request) について述べる。 Volley について こないだの Google IO で発表された Google 製の Android アプリ用のネットワークライブラリ。 Activity に表示する情報を取得するための HTTP リクエスト *1 を処理するのに向いているようである。 公式リポジトリ : platform/frameworks/volley - Git at Google この記事を最初に公開した時点ではあんまりちゃんとしたドキュメントはなかったが、現在では Android Developers にドキュメントがある。 Transmitting Network Data Using Volley | Android Developers この記事は、上のドキュメントがなかった時代にソースコードを読
The Vega webpage has moved to http://vega.github.io/vega/.
Realtime Queries: From results of queries to single document fields, with RxDB you can observe everything which makes building realtime applications effortless.Realtime Replication: Run a two-way realtime replication with one of the many replication plugins. Also making your custom backend compatible is pretty simple.Offline Support: Store data locally on your clients device to build applications
リリース、障害情報などのサービスのお知らせ
最新の人気エントリーの配信
処理を実行中です
j次のブックマーク
k前のブックマーク
lあとで読む
eコメント一覧を開く
oページを開く