프로그래밍/안드로이드13 안드로이드 공유 ACTION_SEND ACTION_SEND Intent intent = new Intent(Intent.ACTION_SEND);intent.setType("text/plain");intent.putExtra(Intent.EXTRA_SUBJECT, "제목");intent.putExtra(Intent.EXTRA_TEXT, "내용");startActivity(Intent.createChooser(intent, "공유")); 2012. 12. 26. 안드로이드 가로 세로 전환 시 ondestory 호출 막기 android:configChanges="orientation|keyboardHidden" android:screenOrientation="sensor" > 2012. 11. 1. 안드로이드 키패드 조정 보이기 사리지기 보이게 하는 방법 InputMethodManager imm = (InputMethodManager)getSystemService(Context.INPUT_METHOD_SERVICE);imm.showSoftInput(editText1, 0); 사라지게 하는 방법 InputMethodManager imm = (InputMethodManager)getSystemService(Context.INPUT_METHOD_SERVICE);imm.hideSoftInputFromWindow(editText1.getWindowToken(), 0); 2012. 10. 28. 안드로이드 타이머 TimerTask task = new TimerTask(){ public void run() { try { 실행 메소드 } catch (Exception e) { e.printStackTrace(); } } }; Timer mTimer = new Timer(); mTimer.schedule(task, 1); 2012. 10. 26. 이전 1 2 3 4 다음