加強複製貼上功能
可以自動把曾經複製過的文字存下來
結合剪貼簿與鍵盤
提供輸入法功能,可快速輸入
提供漂浮按鈕,可快速切換輸入法
可對所有內容添加標籤以做分類管理
原因是因為设置IBAction和IBOutlet時有多餘或錯誤的連線this class is not key value coding-compliant for the key
private class TestTask extends AsyncTask<Integer, Integer, Long> {三種參數說明分別為
protected Long doInBackground(Integer... input) {
..
..
}
protected void onProgressUpdate(Integer... progress) {
..
}
protected void onPostExecute(Long result) {
..
}
}
若無輸入參數,可使用new TestTask().execute(0);
private class Task extends AsyncTask<Void, Void, Void> { ... }
$('#text').on('input', function() { if($(this).prop('imeStart')) return;//中文輸入法啟動中 . . . }).on('compositionstart', function(){ $(this).prop('imeStart', true); console.log('中文輸入法啟動'); }).on('compositionend', function(){ $(this).prop('imeStart', false); console.log('中文輸入法结束'); });
Error: cannot access android.app.Activity
class file for android.app.Activity not found
javah -classpath /home/shiaukai/android-sdks/platforms/android-21/android.jar:bin/classes -d jni/ com.example.recordtest.MainActivity