http://developer.android.com/reference/android/provider/Settings.html
에 보면 정보가 있음
Intent intent = new Intent("Constant Value");
intent.addCategory("android.intent.category.DEFAULT");
startActivity(intent);
"Constant Value"는 위 링크에서 Summary에 Constants에 있는 항목 내에서 찾을 수 있음.
ex)
android.settings.SYNC_SETTINGS - 계정 및 동기화
그런데 더 간단한 방법도 있음(두줄인데 이것도 됨)
Intent intent= new Intent("Constants");
startActivity(intent);
"Constants"는 위 링크에서 Summary에 Constants에 있는 스트링들 자체에 앞에다 Settings.을 붙여줌.
ex)
Settings.ACTION_SYNC_SETTINGS - 계정 및 동기화
다만 이건 Settings 임포트가 필요함.
차이점을 모르겠지만 아래쪽이 더 간단하니 쓰기 편할듯.
에 보면 정보가 있음
Intent intent = new Intent("Constant Value");
intent.addCategory("android.intent.category.DEFAULT");
startActivity(intent);
"Constant Value"는 위 링크에서 Summary에 Constants에 있는 항목 내에서 찾을 수 있음.
ex)
android.settings.SYNC_SETTINGS - 계정 및 동기화
그런데 더 간단한 방법도 있음(두줄인데 이것도 됨)
Intent intent= new Intent("Constants");
startActivity(intent);
"Constants"는 위 링크에서 Summary에 Constants에 있는 스트링들 자체에 앞에다 Settings.을 붙여줌.
ex)
Settings.ACTION_SYNC_SETTINGS - 계정 및 동기화
다만 이건 Settings 임포트가 필요함.
차이점을 모르겠지만 아래쪽이 더 간단하니 쓰기 편할듯.
'안드로이드' 카테고리의 다른 글
안드로이드 동기화된 이메일주소 가져오기 (0) | 2011.05.03 |
---|---|
텍스트뷰 내에서 글자크기 색깔 등등 바꾸기 (0) | 2011.04.21 |
액티비티 화면전환 애니메이션처리 (0) | 2011.04.06 |
어플도중 폰 진동하게 하기 (0) | 2011.04.01 |
안드로이드 쓰레드 작업이 끝나면 화면 업데이트 (0) | 2011.03.29 |