[Android Software Development] adolfotregosa:
moneytoo, have a look at the logs i have attached.

I have force stop openwatch on galaxy S and tab and log are different.

Galaxy S:

I/Process ( 2472): Sending signal. PID: 6719 SIG: 9

I/ActivityManager( 2472): Force stopping package com.smartmadsoft.openwatch uid=10082

W/ActivityManager( 2472): Scheduling restart of crashed service com.smartmadsoft.openwatch/.WatchService in 5000ms

I/ActivityManager( 2472): Force finishing activity HistoryRecord{482899d0 com.smartmadsoft.openwatch/.OpenWatch}

I/ActivityManager( 2472): Force stopping service ServiceRecord{486726b0 com.smartmadsoft.openwatch/.WatchService}

I/BTL-IFS-WRAPPER( 2782): rx_data: socket disconnected.

I/BTL-IFS ( 2782): detach_client: ######## Detached client subsystem (BTS) fd -1 ########

I/BTL-IFS ( 2782): detach_client: @*@*@*@*@*@*@*@*@*@*@*@*@* (BTS) - close(-1)

I/BTL-IFS ( 2782): btl_if_notify_local_event: Notify local event BTLIF_SUBSYSTEM_DETACHED

D/ ( 2782): btlif_bts_api_ctrl_cb: btlif_bts_api_ctrl_cb : id BTLIF_SUBSYSTEM_DETACHED (4113) on hdl 16

I/ ( 2782): btlif_rfc_ctrl_chan_detached: client detached ctrl handle -1

I/ ( 2782): bts_chan_free_all: free bts chan resources (bta hdl 1, dhdl -1)

I/ ( 2782): jv_rfc_close: jv_rfc_close hdl 1, status 1, remotely initiated 0, result 2, port status 4

I/BTL-IFS ( 2782): send_ctrl_msg: [BTL_IFS CTRL] send BTLIF_BTS_RFC_CLOSE_CFM (BTS) 5 pbytes (hdl 16)

E/BTL-IFS-WRAPPER( 2782): tx_data: failed : Bad file number (-1)

I/ ( 2782): jv_rfc_close: jv_rfc_close hdl 0, status 0, remotely initiated 0, result 0, port status 49

D/ ( 2782): jv_rfc_close: channel already disconnected

I/BTL-IFS ( 2782): BTL_IF_DisconnectDatapath: Disconnect datapath on handle -1

E/BTL-IFS-WRAPPER( 2782): wrp_find_wsock: wrp_find_wsock invalid hdl -1

D/BTL-IFS ( 2782): BTL_IF_DisconnectDatapath: wsock not found, already disconnected ?

D/ ( 2782): bts_chan_free: p = 0x20eb70

D/BTL-IFS-WRAPPER( 2782): wrp_free_dynamicport: free dyn port 9049 (s:41), sub 0

D/ ( 2782): bts_chan_free: bts_chan_free success, bta hdl 1 (tot 0)

D/ ( 2782): bts_chan_dump_all: ### channel list ###

D/BluetoothService( 2472): Tracked app 6719 died

D/BluetoothService( 2472): Removing service record 0 for pid 6719

I/DTUN_CLNT( 2816):	Client calling DTUN_METHOD_DM_DEL_SDP_REC (id 19)

I/ ( 2782): DTUN_ReceiveCtrlMsg: [DTUN] Received message [BTLIF_DTUN_METHOD_CALL] 4354

I/ ( 2782): handle_method_call: handle_method_call :: received DTUN_METHOD_DM_DEL_SDP_REC (id 19), len 4

I/WindowManager( 2472): WIN DEATH: Window{4833cb68 com.smartmadsoft.openwatch/com.smartmadsoft.openwatch.OpenWatch paused=true}

V/PackageIntentReceiver( 3742): onReceive() intent:Intent { act=android.intent.action.PACKAGE_RESTARTED dat=package:com.smartmadsoft.openwatch cmp=com.sec.android.app.controlpanel/.PackageIntentReceiver (has extras) } pkg:com.smartmadsoft.openwatch action:android.intent.action.PACKAGE_RESTARTED

V/PackageIntentReceiver( 3742): onReceive() Restart PackageName: com.smartmadsoft.openwatch Action:null

W/PowerManagerService( 2472): Timer 0x3->0x3|0x1

I/AudioHardwareALSA( 2363): Output standby called!!. Turn off PCM device.

TAB:

I/Process ( 2493): Sending signal. PID: 4439 SIG: 9

I/ActivityManager( 2493): Force stopping service ServiceRecord{48a14218 com.smartmadsoft.openwatch/.WatchService}

I/BTL-IFS-WRAPPER( 2832): rx_data: socket disconnected.

I/BTL-IFS ( 2832): detach_client: ######## Detached client subsystem (BTS) fd -1 ########

I/BTL-IFS ( 2832): detach_client: @*@*@*@*@*@*@*@*@*@*@*@*@* (BTS) - close(-1)

I/BTL-IFS ( 2832): btl_if_notify_local_event: Notify local event BTLIF_SUBSYSTEM_DETACHED

D/ ( 2832): btlif_bts_api_ctrl_cb: btlif_bts_api_ctrl_cb : id BTLIF_SUBSYSTEM_DETACHED (4113) on hdl 22

I/ ( 2832): btlif_rfc_ctrl_chan_detached: client detached ctrl handle -1

I/ ( 2832): bts_chan_free_all: free bts chan resources (bta hdl 2, dhdl -1)

I/ ( 2832): jv_rfc_close: jv_rfc_close hdl 2, status 1, remotely initiated 0, result 2, port status 4

I/BTL-IFS ( 2832): send_ctrl_msg: [BTL_IFS CTRL] send BTLIF_BTS_RFC_CLOSE_CFM (BTS) 5 pbytes (hdl 22)

E/BTL-IFS-WRAPPER( 2832): tx_data: failed : Bad file number (-1)

I/BTL-IFS ( 2832): BTL_IF_DisconnectDatapath: Disconnect datapath on handle -1

E/BTL-IFS-WRAPPER( 2832): wrp_find_wsock: wrp_find_wsock invalid hdl -1

D/BTL-IFS ( 2832): BTL_IF_DisconnectDatapath: wsock not found, already disconnected ?

D/BluetoothService( 2493): Tracked app 4439 died

D/BluetoothService( 2493): Removing service record 1 for pid 4439

V/WindowManager( 2493): Delivering toWindow{48837ae8 com.android.settings/com.android.settings.InstalledAppDetails paused=false}

I/DTUN_CLNT( 2883):	Client calling DTUN_METHOD_DM_DEL_SDP_REC (id 19)

V/WindowManager( 2493): Delivering toWindow{48837ae8 com.android.settings/com.android.settings.InstalledAppDetails paused=false}

V/WindowManager( 2493): Delivering toWindow{48837ae8 com.android.settings/com.android.settings.InstalledAppDetails paused=false}

I/ActivityManager( 2493): Force stopping package com.smartmadsoft.openwatch uid=10151

I/ ( 2832): jv_rfc_close: jv_rfc_close hdl 1, status 0, remotely initiated 0, result 0, port status 50

I/BTL-IFS ( 2832): send_ctrl_msg: [BTL_IFS CTRL] send BTLIF_BTS_RFC_CLOSE_CFM (BTS) 5 pbytes (hdl 19)

E/IMGSRV ( 2493): PVRSRVEventObjectWait Timeout!

V/WindowManager( 2493): Delivering toWindow{48837ae8 com.android.settings/com.android.settings.InstalledAppDetails paused=false}

E/IMGSRV ( 2493): PVRSRVEventObjectWait Timeout!

I/BTL_IFC ( 3296): btl_ifc_ctrl_rx: [BTL_IFC CTRL] recv BTLIF_BTS_RFC_CLOSE_CFM (BTS) 7 pbytes (hdl 30)

I/BLZ20_WRAPPER( 3296): btlif_ctrl_callback: btlif_ctrl_callback : msg id BTLIF_BTS_RFC_CLOSE_CFM

E/ShutdownThread( 2493): IsShutDownStarted()

I/KeyInputQueue( 2493): Input event

D/KeyInputQueue( 2493): screenCaptureKeyFlag setting 1

E/ShutdownThread( 2493): IsShutDownStarted()

I/KeyInputQueue( 2493): Input event

D/KeyInputQueue( 2493): screenCaptureKeyFlag setting 0

V/WindowManager( 2493): Dsptch to Window{48837ae8 com.android.settings/com.android.settings.InstalledAppDetails paused=false}

W/KeyCharacterMap( 3940): No keyboard for id 0

W/KeyCharacterMap( 3940): Using default keymap: /system/usr/keychars/qwerty.kcm.bin

V/WindowManager( 2493): Dsptch to Window{48837ae8 com.android.settings/com.android.settings.InstalledAppDetails paused=false}

E/IMGSRV ( 2493): PVRSRVEventObjectWait Timeout!

I/ActivityManager( 2493): Displayed activity com.android.settings/.ManageApplications: 32660 ms (total 32660 ms)

E/IMGSRV ( 2493): PVRSRVEventObjectWait Timeout!

E/ShutdownThread( 2493): IsShutDownStarted()

I/KeyInputQueue( 2493): Input event

D/KeyInputQueue( 2493): screenCaptureKeyFlag setting 1

V/WindowManager( 2493): Dsptch to Window{488c8180 com.android.settings/com.android.settings.ManageApplications paused=false}

E/ShutdownThread( 2493): IsShutDownStarted()

I/KeyInputQueue( 2493): Input event

D/KeyInputQueue( 2493): screenCaptureKeyFlag setting 0

E/IMGSRV ( 2493): PVRSRVEventObjectWait Timeout!

I/ActivityManager( 2493): Start proc com.sec.android.app.screencapture for service com.sec.android.app.screencapture/.ScreenCaptureService: pid=4454 uid=1003 gids={1015}

V/WindowManager( 2493): Dsptch to Window{488c8180 com.android.settings/com.android.settings.ManageApplications paused=false}

D/ScreenCaptureService( 4454): Initialize Camera Sound

D/ScreenCaptureService( 4454): On Create() started

V/MediaPlayer( 4454): decode(27, 2664, 11038)

D/ScreenCaptureService( 4454): Starting #1: Bundle[mParcelledData.dataSize=60]

D/ScreenCaptureService( 4454): mType = long_keydown isLongKey = true onCapture = false

E/IMGSRV ( 2493): PVRSRVEventObjectWait Timeout!

E/IMGSRV ( 2493): PVRSRVEventObjectWait Timeout!

W/PowerManagerService( 2493): Timer 0x7->0x3|0x0

I/PowerManagerService( 2493): Ulight 7->3|0

E/IMGSRV ( 2493): PVRSRVEventObjectWait Timeout!

D/dalvikvm( 2680): GC_EXPLICIT freed 151 objects / 7200 bytes in 33ms

E/ShutdownThread( 2493): IsShutDownStarted()

I/KeyInputQueue( 2493): Input event

E/WindowManager( 2493): pkgName:com.android.settings

E/WindowManager( 2493): className:com.android.settings.ApplicationSettings

D/ConnectivityService( 2493): getMobileDataEnabled returning true

D/StatusBar( 2493): manageDisableList what=0x1 pkg=android

D/StatusBar( 2493): DISABLE_EXPAND: yes

D/JuiceDefender.Service( 3096): Service check successful, no action needed

E/IMGSRV ( 2493): PVRSRVEventObjectWait Timeout!

W/SharedBufferStack( 2493): waitForCondition(ReallocateCondition) timed out (identity=100, status=0). CPU may be pegged. trying again.