android 파일(2)
-
[안드로이드,Android]키보드 보이기, 숨기기
package com.example.ggari_keyboard; import android.app.Activity; import android.os.Bundle; import android.view.View; import android.view.View.OnClickListener; import android.view.inputmethod.InputMethodManager; import android.widget.Button; import android.widget.EditText; public class MainActivity extends Activity { InputMethodManager Imm; Button btnShow; Button btnHide; EditText et01; public vo..
2013.01.28 -
젤리빈(Jelly Bean) 4.1 이상 WebView 사진선택 openFileChooser 방법
@SuppressWarnings("unused") public void openFileChooser(ValueCallback uploadMsg) { openFileChooser(uploadMsg, ""); } // For Android 3.0+ public void openFileChooser(ValueCallback uploadMsg, String acceptType) { mUploadMessage = uploadMsg; Intent i = new Intent(Intent.ACTION_GET_CONTENT); i.addCategory(Intent.CATEGORY_OPENABLE); i.setType("image/*"); startActivityForResult(Intent.createChooser(i,..
2012.12.28