본문 바로가기

Programming/Android Java145

앱 완전종료[테스트 필수] 문득 앱이 Activity.finish()나, Service.stopSelf()/Service.stopService()/Service.unbindService() 를 통해액티비티와 서비스를 포함하고 있는 앱을 깔끔하게 종료하는것에 고민을 하다가여러 페이지를 찾았지만 뭔가 명쾌하지 않았다. 직접 시간내서 테스트를 해보는 수 밖에... keywordmoveTaskToBackfinishrestartPackagekillBackgroundProcesseskillProcessSystem.exitSystem.out(0)???forceStopPackage//system permission ActivityManagergetApplicationInfogetRunningAppProcesses http://markmail.o.. 2014. 9. 18.
Bluetooth@android.com URL : https://source.android.com/devices/bluetooth.html Android provides a default Bluetooth stack, BlueDroid, that is divided into two layers: The Bluetooth Embedded System (BTE), which implements the core Bluetooth functionality and the Bluetooth Application Layer (BTA), which communicates with Android framework applications. A Bluetooth system service communicates with the Bluetooth stack thr.. 2014. 9. 14.
블루투스의 모든 것 Bluetooth와 안드로이드 URL : http://miguelkey.blogspot.kr/2013/02/etc-bluetooth.html ..... 3. Bluetooth 통신 방법 ※ Bluetooth 는 Piconet(피코넷) 기반 무선 네트워크를 제공- 상호 독립된 통신기기들이 통신망을 이루는 무선 네트워크 기술로 WLAN(Wireless LAN) 과는 달리 통신 기기간 사전에 네트워크 정의와 계획없이 컨트롤 프로토콜에 의해 Master/Slave 관계를 이루며 네트워크를 형성하는 무선 통신 방법을 의미 - Bluetooth 는 piconet 방식을 이용하여 무선 네트워크 통신을 제공 - Bluetooth 는 Master 가 되면서 Slave 가 될수도 있음. - Bluetooth 는 복수(7개 이하) 의 피코넷으로 연결된 .. 2014. 9. 14.
Android Bluetooth 구조 보호되어 있는 글 입니다. 2014. 9. 8.
bluetooth overview for android QC URL : http://www.xuebuyuan.com/1012380.html ..... BlueZ Startup Procedure (Host BlueZ (Android Bluetooth host stack) ) Call flow on enabling/disabling Bluetooth in UI settings → Wireless control Functions bt_enable, bt_disable in android/system/bluetooth/bluedroid/bluetooth.c are entry points to enable/disable Bluetooth■ Related services are declared in android/system/core/rootdir/ etc/init.qcom.. 2014. 9. 8.
센서를 얻어오기, 리스너 연결하기 보호되어 있는 글 입니다. 2014. 9. 2.