본문 바로가기

Programming/Android Java145

안드로이드(Android) ProgressBar 진행바 구현하기 보호되어 있는 글 입니다. 2014. 7. 25.
안드로이드 020. Thread 구현하기 1/2 (with ProgressBar) 보호되어 있는 글 입니다. 2014. 7. 25.
android Bluetooth LE programming(BLE) 보호되어 있는 글 입니다. 2014. 7. 25.
How to prevent screen timeout in Android URL : http://thiranjith.com/2012/02/22/android-prevent-screen-timeout/ I will be introducing two methods to stop the screen from being dimmed. The two methods provide means of accomplishing this depending on the current state of your application; i.e. whether it has an Activity on the foreground (visible on screen) or running on the background (as a Service). 1. Use of FLAG_KEEP_SCREEN_ON option.. 2014. 7. 18.
How to change screen timeout programmatically?@StackOverflow URL : http://stackoverflow.com/questions/10748861/how-to-change-screen-timeout-programmatically It is simple to do.. You should learn to solve your problem from Android source code. /** * set screen off timeout * @param screenOffTimeout int 0~6 */ private void setTimeout(int screenOffTimeout) { int time; switch (screenOffTimeout) { case 0: time = 15000; break; case 1: time = 30000; break; case 2.. 2014. 7. 18.
PowerManager 를 통해 안드로이드의 진정한 주인이 되어 봅시다. URL : http://aroundck.tistory.com/48 1. Information 먼저 Developer 의 내용을 간단히 정리해주세요 - PowerManager 는 Device 의 전원 상태 ( Power state ) 를 제어할 수 있게 도와줍니다. - 단말의 배터리 사용시간은 PowerManager 의 API 사용에 따라 현저한 차이를 나타냅니다. - 반드시 필요한 경우가 아니라면 WakeLocks 을 acquire 하지 않는 것이 좋습니다. - 가능한 낮은 레벨을 사용하고 사용 후에는 반드시 release 하는 것이 좋습니다. ..... 안드로이드 시스템은 사용자의 Interaction이 없을 때 화면이나 키보드 조명을 차단하고, Sleep 후 일정 시간이 지나면 WiFi 네트워크도 끊.. 2014. 7. 18.