[TOC]
There are very good five stdlib operates we can use.
| package com.thejakeofink.chromecustomtabs | |
| import android.content.ComponentName | |
| import android.graphics.Color | |
| import android.net.Uri | |
| import android.os.Bundle | |
| import android.support.customtabs.CustomTabsClient | |
| import android.support.customtabs.CustomTabsIntent | |
| import android.support.customtabs.CustomTabsServiceConnection | |
| import android.support.customtabs.CustomTabsSession |
| /** | |
| * データをPOSTする | |
| * @param String アクション | |
| * @param Object POSTデータ連想配列 | |
| * 記述元Webページ http://fujiiyuuki.blogspot.jp/2010/09/formjspost.html | |
| * サンプルコード | |
| * <a onclick="execPost('/hoge', {'fuga':'fuga_val', 'piyo':'piyo_val'});return false;" href="#">POST送信</a> | |
| */ | |
| function execPost(action, data) { | |
| // フォームの生成 |