본문 바로가기

sync 상태 얻어오는 방법!! 2.1에는 다음과 같은 API를 사용하면 된다. setMasterSyncAutomatically 1.5에는 다음과 같은 API를 사용하면 된다. final Uri CONTENT_URI = Uri.parse("content://sync/settings"); ContentValues values = new ContentValues(); values.put("name", "sync_provider_contacts"); values.put("value", true); getContentResolver().insert(CONTENT_URI, values); 더보기
[넥서스원] KT의 3G인터넷과 MMS설정을 위한 정보 (리셋시 필요합니다.) Google의 Nexus one을 개인인증 하신 분들께 도움이 되는 글이 되길 바래봅니다. 기본적으로 넥서스원은 글로벌 출시를 목표로 하고 있고, 또한 통신사에 제한이 없는 unlocked폰이므로 각각의 통신사에서 제공하는 APN도 마찬가지로 수동으로 입력해 주어야 합니다. 물론 KT에서 제공해 주고 있는 OTA (Over - the - air)방식의 USIM writing도 도움이 되지만, 문제가 될 수 있는 경우도 있어서 Nexus one의 APN을 수동입력 할 필요가 있을 경우가 있습니다. 특히 설정안에 있는 "개인정보 보호 >> 기본값데이터 재설정"을 하게 되면 APN정보도 같이 삭제가 되므로 주의하여야 합니다. APN을 수동 입력 시켜야 할 사유 사용자가 임의로 폰 전체 reset을 시도한 경우.. 더보기
setFilter를 사용한 EditText 길이제한 주기 In this tutorial, I am going to explain how to create a EditText programatically, and the different properties, that we can assign to it in Android. If we want, our EditText to take only numbers. Then the code is, edit.setInputType(InputType.TYPE_CLASS_NUMBER); For password style implementation, for the editText, the code is, edit.setTransformationMethod(new android.text.method.PasswordTransform.. 더보기