下書き
JacsonはJSON(JavaScript Object Notation)と呼ばれるデータ記述言語を扱うためのJavaライブラリ。
ウェブアプリケーション開発ではJSONが必須の技術になってきている。 JavaでJSONを扱うためのAPIがJava EE 7に含まれる予定。JSR 343として仕様策定中。
| package net.vvakame.delegatefactory.sample.hide; | |
| /* @hide */ | |
| public class Bridge { | |
| public Bridge() { | |
| } | |
| /* @hide */ | |
| static Data2 combine(Data1 data) { |
| <?xml version="1.0" encoding="utf-8"?> | |
| <TabHost xmlns:android="http://schemas.android.com/apk/res/android" | |
| android:id="@android:id/tabhost" | |
| android:layout_width="fill_parent" | |
| android:layout_height="fill_parent" | |
| > | |
| <RelativeLayout | |
| android:layout_width="fill_parent" |
| /* | |
| * Copyright 2012 CodeSlap - Cristian Castiblanco | |
| * | |
| * 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 |
| package test.fragment.configchange; | |
| import android.app.Activity; | |
| import android.app.Fragment; | |
| import android.app.FragmentTransaction; | |
| import android.os.Bundle; | |
| /** | |
| * 縦横切替で ListView/GridView を切り替えるサンプル | |
| * (表示用データは毎回再生成しない) |
| private Recipe114Handler mHander; | |
| private static class Recipe114Handler extends Handler { | |
| private final WeakReference<Recipe114Activity> mActivity; | |
| public Recipe114Handler(Recipe114Activity activity) { | |
| mActivity = new WeakReference<Recipe114Activity>(activity); | |
| } | |
| @Override |
Distributor ID: Ubuntu
Description: Ubuntu 12.04.1 LTS
Release: 12.04System directories
| Method | Result |
|---|---|
| Environment.getDataDirectory() | /data |
| Environment.getDownloadCacheDirectory() | /cache |
| Environment.getRootDirectory() | /system |
External storage directories
| diff --git a/VolleySample/libs/okhttp-1.0.2.jar b/VolleySample/libs/okhttp-1.0.2.jar | |
| new file mode 100644 | |
| index 0000000..7592cdf | |
| Binary files /dev/null and b/VolleySample/libs/okhttp-1.0.2.jar differ | |
| diff --git a/VolleySample/libs/volley.jar b/VolleySample/libs/volley.jar | |
| index 31c143c..762e993 100644 | |
| Binary files a/VolleySample/libs/volley.jar and b/VolleySample/libs/volley.jar differ | |
| diff --git a/VolleySample/src/com/adamrocker/volleysample/MainActivity.java b/VolleySample/src/com/adamrocker/volleysample/MainActivity.java | |
| index b2c1dd5..c2118c5 100644 | |
| --- a/VolleySample/src/com/adamrocker/volleysample/MainActivity.java |