capt-jk / sipdroid

Automatically exported from code.google.com/p/sipdroid
GNU General Public License v3.0
0 stars 0 forks source link

"Sipdroid has stopped" message - Kindle Fire HD #1075

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago

What steps will reproduce the problem?
1. Try to place any call

What is the expected output? What do you see instead?
after placing the call the message is shown. The status bar keeps showing the 
call in progress but sipdroid has stopped.

What version of the product are you using? On what device/operating system?
Kindle Fire HD v 7.2.2 Android 4.0.2

Which SIP server are you using? What happens with PBXes?
sip3.gnrs.com.br

Which type of network are you using?
WI-FI

Setup the default configuration. 
It works perfectly in my Motorola Motoblur (android 2.1) and Coby Kyros 
(Android 4.1).

---- Dec 8, 2012 9:58:00 PM ---- 12-08 21:58:01.834 280 280 D 
Favorites.FavoritesService: Got intent:Intent { 
act=com.lab126.notifications.QUICK_SETTINGS_VISIBLE flg=0x10 
cmp=com.lab126.softkeybar/com.lab126.favorites.service.FavoritesService } 12-08 
21:58:01.896 292 292 D AmazonToggle: setText toggle_on 12-08 21:58:01.896 292 
292 D AmazonToggle: setText toggle_off 12-08 21:58:01.896 292 292 D 
QuickSettings-Wifi: handleSelection Begin 12-08 21:58:01.959 292 292 V 
PhoneStatusBar: setLightsOn(true) 12-08 21:58:01.959 292 292 D 
AmazonInternalDialog: onWindowFocusChanged. hasFocus=true 12-08 21:58:02.177 
201 204 D dalvikvm: GC_CONCURRENT freed 955K, 17% free 15076K/17991K, paused 
2ms+4ms 12-08 21:58:02.271 280 280 D Favorites.FavoritesService: Got 
intent:Intent { act=com.lab126.notifications.QUICK_SETTINGS_VISIBLE flg=0x10 
cmp=com.lab126.softkeybar/com.lab126.favorites.service.FavoritesService } 12-08 
21:58:02.748 201 214 V Sensors : accel data: 0.661025 0.261057 10.643467 12-08 
21:58:02.998 292 296 D dalvikvm: GC_CONCURRENT freed 521K, 60% free 
12915K/31687K, paused 2ms+3ms 12-08 21:58:03.834 201 836 W 
KeyguardViewMediator: verifyUnlock called when not externally disabled 12-08 
21:58:03.834 201 412 I ActivityStack: START {flg=0x10000000 
cmp=org.sipdroid.sipua/.ui.Sipdroid bnds=[48,273] [800,391]} from pid -1 12-08 
21:58:03.834 201 412 V ActivityStack: Prepare open transition: starting 
ActivityRecord{415cae40 org.sipdroid.sipua/.ui.Sipdroid} 12-08 21:58:03.881 201 
230 D dalvikvm: GC_FOR_ALLOC freed 287K, 17% free 15067K/17991K, paused 39ms 
12-08 21:58:03.896 201 212 V ActivityStack: Prepare open transition: 
prev=ActivityRecord{41961df8 scd.lcex/.LogcatExtreme} 12-08 21:58:03.927 201 
204 D dalvikvm: GC_CONCURRENT freed 11K, 11% free 16086K/17991K, paused 2ms+4ms 
12-08 21:58:03.998 3030 3030 D dalvikvm: GC_FOR_ALLOC freed 99K, 6% free 
11249K/11847K, paused 19ms 12-08 21:58:04.006 3030 3030 I dalvikvm-heap: Grow 
heap (frag case) to 12.037MB for 1048592-byte allocation 12-08 21:58:04.052 
3030 3031 D dalvikvm: GC_CONCURRENT freed 24K, 6% free 12248K/12935K, paused 
1ms+12ms 12-08 21:58:04.201 2581 2581 D OpenGLRenderer: Flushing caches (mode 
1) 12-08 21:58:04.224 2581 2581 D OpenGLRenderer: Flushing caches (mode 0) 
12-08 21:58:04.240 201 230 I ActivityManager: Displayed 
org.sipdroid.sipua/.ui.Sipdroid: +345ms (total +1m21s316ms) 12-08 21:58:04.263 
292 292 D OpenGLRenderer: Flushing caches (mode 0) 12-08 21:58:04.396 292 292 V 
PhoneStatusBar: setLightsOn(true) 12-08 21:58:04.396 292 292 D 
AmazonInternalDialog: onWindowFocusChanged. hasFocus=false 12-08 21:58:04.412 
2581 2581 W IInputConnectionWrapper: showStatusIcon on inactive InputConnection 
12-08 21:58:04.412 201 366 W InputManagerService: Starting input on non-focused 
client com.android.internal.view.IInputMethodClient$Stub$Proxy@41969048 
(uid=10023 pid=2581) 12-08 21:58:04.459 3030 3031 D dalvikvm: GC_CONCURRENT 
freed 268K, 5% free 12365K/12935K, paused 1ms+1ms 12-08 21:58:04.498 354 354 D 
dalvikvm: GC_FOR_ALLOC freed 1261K, 15% free 12256K/14407K, paused 14ms 12-08 
21:58:04.498 354 354 I dalvikvm-heap: Grow heap (frag case) to 13.208MB for 
1248016-byte allocation 12-08 21:58:04.521 354 356 D dalvikvm: GC_CONCURRENT 
freed <1K, 7% free 13474K/14407K, paused 1ms+1ms 12-08 21:58:04.607 2581 2584 I 
dalvikvm: Jit: resizing JitTable from 4096 to 8192 12-08 21:58:05.490 3030 3030 
D PhoneWindow: superDispatchKeyEvent. key event has been consumed by the views. 
keyCode: 8 12-08 21:58:05.779 3030 3030 D PhoneWindow: superDispatchKeyEvent. 
key event has been consumed by the views. keyCode: 8 12-08 21:58:06.263 201 214 
I Sensors : **** Motion **** 12-08 21:58:06.326 3030 3030 D PhoneWindow: 
superDispatchKeyEvent. key event has been consumed by the views. keyCode: 7 
12-08 21:58:06.685 3030 3030 D PhoneWindow: superDispatchKeyEvent. key event 
has been consumed by the views. keyCode: 14 12-08 21:58:07.013 3030 3030 D 
PhoneWindow: superDispatchKeyEvent. key event has been consumed by the views. 
keyCode: 15 12-08 21:58:07.576 201 836 I ActivityStack: START {flg=0x10000000 
cmp=org.sipdroid.sipua/.ui.Activity2} from pid 3030 12-08 21:58:07.576 201 836 
V ActivityStack: Prepare open transition: starting ActivityRecord{419b5550 
org.sipdroid.sipua/.ui.Activity2} 12-08 21:58:07.654 3030 3031 D dalvikvm: 
GC_CONCURRENT freed 358K, 4% free 12518K/12935K, paused 2ms+2ms 12-08 
21:58:07.670 201 214 V Sensors : accel data: 0.708926 0.165256 9.462722 12-08 
21:58:07.787 3030 3030 D PhoneWindow: superDispatchKeyEvent. key event has been 
consumed by the views. keyCode: 66 12-08 21:58:07.795 201 419 V ActivityStack: 
Prepare open transition: prev=ActivityRecord{415cae40 
org.sipdroid.sipua/.ui.Sipdroid} 12-08 21:58:07.826 201 833 I ActivityStack: 
START {flg=0x10000000 cmp=org.sipdroid.sipua/.ui.InCallScreen} from pid 3030 
12-08 21:58:07.826 201 833 V ActivityStack: Prepare open transition: starting 
ActivityRecord{419b6d68 org.sipdroid.sipua/.ui.InCallScreen} 12-08 21:58:07.896 
201 366 V ActivityStack: Prepare close transition: prev=ActivityRecord{419b5550 
org.sipdroid.sipua/.ui.Activity2} 12-08 21:58:07.974 3030 3031 D dalvikvm: 
GC_CONCURRENT freed 294K, 3% free 12779K/13127K, paused 1ms+5ms 12-08 
21:58:08.006 201 201 I ActivityStack: START {flg=0x10000000 
cmp=org.sipdroid.sipua/.ui.InCallScreen} from pid 3030 12-08 21:58:08.037 3030 
3043 D dalvikvm: Trying to load lib 
/data/data/org.sipdroid.sipua/lib/libOSNetworkSystem.so 0x415482c8 12-08 
21:58:08.037 3030 3043 D dalvikvm: Added shared lib 
/data/data/org.sipdroid.sipua/lib/libOSNetworkSystem.so 0x415482c8 12-08 
21:58:08.037 3030 3043 D dalvikvm: No JNI_OnLoad found in 
/data/data/org.sipdroid.sipua/lib/libOSNetworkSystem.so 0x415482c8, skipping 
init 12-08 21:58:08.060 105 2629 I AudioPolicyManagerBase: getInput() 
inputSource 1, samplingRate 8000, format 1, channels 10, acoustics 0 12-08 
21:58:08.060 105 2629 D AudioFlinger: RecordThread::readInputParameters: 
mSampleRate=8000 mInputBytes=348 12-08 21:58:08.060 105 2629 D AudioFlinger: 
RecordThread::readInputParameters: hwSampleRate=44100 hwBufferBytes=1920 
hwChannelMask=16 hwChannels=1 12-08 21:58:08.060 105 2629 D AudioFlinger: 
RecordThread::readInputParameters: mChannelMask=16 mChannelCount=1 mFrameSize=2 
12-08 21:58:08.060 105 2629 I AudioFlinger: openInput dev=0xa35cb8, 
stream=0xa55d38 samplingRate=44100, channels=1, bufferBytes=1920 12-08 
21:58:08.060 105 2629 V EchoCanceller: openTx input:1-44100-16 (buffer = 1920), 
output:1-8000-16 (buffer = 348) 12-08 21:58:08.060 105 2629 D AudioFlinger: 
RecordThread::audioConfigChanged_l: mSampleRate=8000 mFrameCount=174 12-08 
21:58:08.068 105 883 I AudioPolicyManagerBase: startInput() input 18 12-08 
21:58:08.076 105 3082 E audio_hw_primary: Mute ADC for DMIC recording 12-08 
21:58:08.076 105 3082 E audio_hw_primary: Mute ADC for DMIC recording 12-08 
21:58:08.099 3030 3031 D dalvikvm: GC_CONCURRENT freed 209K, 3% free 
13123K/13447K, paused 2ms+3ms 12-08 21:58:08.123 3030 3030 D AndroidRuntime: 
Shutting down VM 12-08 21:58:08.123 3030 3030 W dalvikvm: threadid=1: thread 
exiting with uncaught exception (group=0x40a871f8) 12-08 21:58:08.123 105 213 I 
AudioPolicyManagerBase: startOutput() output 1, stream 0, session 19 12-08 
21:58:08.123 105 213 I AudioPolicyManagerBase: setDolbySystemProperty device 
0x1 12-08 21:58:08.131 3030 3030 E AndroidRuntime: FATAL EXCEPTION: main 12-08 
21:58:08.131 3030 3030 E AndroidRuntime: java.lang.RuntimeException: Unable to 
start activity 
ComponentInfo{org.sipdroid.sipua/org.sipdroid.sipua.ui.InCallScreen}: 
java.lang.SecurityException: Requires DISABLE_KEYGUARD permission 12-08 
21:58:08.131 3030 3030 E AndroidRuntime: at 
android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2006) 
12-08 21:58:08.131 3030 3030 E AndroidRuntime: at 
android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2031) 12-08 
21:58:08.131 3030 3030 E AndroidRuntime: at 
android.app.ActivityThread.access$600(ActivityThread.java:126) 12-08 
21:58:08.131 3030 3030 E AndroidRuntime: at 
android.app.ActivityThread$H.handleMessage(ActivityThread.java:1166) 12-08 
21:58:08.131 3030 3030 E AndroidRuntime: at 
android.os.Handler.dispatchMessage(Handler.java:99) 12-08 21:58:08.131 3030 
3030 E AndroidRuntime: at android.os.Looper.loop(Looper.java:137) 12-08 
21:58:08.131 3030 3030 E AndroidRuntime: at 
android.app.ActivityThread.main(ActivityThread.java:4486) 12-08 21:58:08.131 
3030 3030 E AndroidRuntime: at java.lang.reflect.Method.invokeNative(Native 
Method) 12-08 21:58:08.131 3030 3030 E AndroidRuntime: at 
java.lang.reflect.Method.invoke(Method.java:511) 12-08 21:58:08.131 3030 3030 E 
AndroidRuntime: at 
com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:784) 
12-08 21:58:08.131 3030 3030 E AndroidRuntime: at 
com.android.internal.os.ZygoteInit.main(ZygoteInit.java:551) 12-08 21:58:08.131 
3030 3030 E AndroidRuntime: at dalvik.system.NativeStart.main(Native Method) 
12-08 21:58:08.131 3030 3030 E AndroidRuntime: Caused by: 
java.lang.SecurityException: Requires DISABLE_KEYGUARD permission 12-08 
21:58:08.131 3030 3030 E AndroidRuntime: at 
android.os.Parcel.readException(Parcel.java:1327) 12-08 21:58:08.131 3030 3030 
E AndroidRuntime: at android.os.Parcel.readException(Parcel.java:1281) 12-08 
21:58:08.131 3030 3030 E AndroidRuntime: at 
android.view.IWindowManager$Stub$Proxy.disableKeyguard(IWindowManager.java:1780)
 12-08 21:58:08.131 3030 3030 E AndroidRuntime: at 
android.app.KeyguardManager$KeyguardLock.disableKeyguard(KeyguardManager.java:69
) 12-08 21:58:08.131 3030 3030 E AndroidRuntime: at 
org.sipdroid.sipua.ui.CallScreen.disableKeyguard(:195) 12-08 21:58:08.131 3030 
3030 E AndroidRuntime: at org.sipdroid.sipua.ui.CallScreen.onStart(:296) 12-08 
21:58:08.131 3030 3030 E AndroidRuntime: at 
org.sipdroid.sipua.ui.InCallScreen.onStart(:112) 12-08 21:58:08.131 3030 3030 E 
AndroidRuntime: at 
android.app.Instrumentation.callActivityOnStart(Instrumentation.java:1133) 
12-08 21:58:08.131 3030 3030 E AndroidRuntime: at 
android.app.Activity.performStart(Activity.java:4646) 12-08 21:58:08.131 3030 
3030 E AndroidRuntime: at 
android.app.ActivityThread.performLaunchActivity(ActivityThread.java:1979) 
12-08 21:58:08.131 3030 3030 E AndroidRuntime: ... 11 more 12-08 21:58:08.138 
201 504 W ActivityManager: Force finishing activity 
org.sipdroid.sipua/.ui.InCallScreen 12-08 21:58:08.138 201 504 V ActivityStack: 
Prepare close transition: finishing ActivityRecord{419b6d68 
org.sipdroid.sipua/.ui.InCallScreen} 12-08 21:58:08.154 3030 3080 D dalvikvm: 
GC_EXPLICIT freed 102K, 3% free 13109K/13447K, paused 2ms+2ms 12-08 
21:58:08.177 3030 3080 I WifiManager: WiFi lock 0 acquired for 
Sipdroid.Receiver. 12-08 21:58:08.177 292 292 V PhoneStatusBar: 
setLightsOn(true) 12-08 21:58:08.248 105 3082 E audio_hw_primary: had_read= 
false, first time read 12-08 21:58:08.248 201 216 I WindowManager: DIM BEHIND: 
Window{41b02c38 paused=false} 12-08 21:58:08.263 201 230 I WindowManager: DIM 
BEHIND: Window{41b02c38 paused=false} 12-08 21:58:08.279 201 230 I 
WindowManager: DIM BEHIND: Window{41b02c38 paused=false} 12-08 21:58:08.295 201 
230 I WindowManager: DIM BEHIND: Window{41b02c38 paused=false} 12-08 
21:58:08.318 201 230 I WindowManager: DIM BEHIND: Window{41b02c38 paused=false} 
12-08 21:58:08.334 201 230 I WindowManager: DIM BEHIND: Window{41b02c38 
paused=false} 12-08 21:58:08.349 201 230 I WindowManager: DIM BEHIND: 
Window{41b02c38 paused=false} 12-08 21:58:08.365 201 230 I WindowManager: DIM 
BEHIND: Window{41b02c38 paused=false} 12-08 21:58:08.381 201 230 I 
WindowManager: DIM BEHIND: Window{41b02c38 paused=false} 12-08 21:58:08.404 201 
230 I WindowManager: DIM BEHIND: Window{41b02c38 paused=false} 12-08 
21:58:08.420 201 230 I WindowManager: DIM BEHIND: Window{41b02c38 paused=false} 
12-08 21:58:08.435 201 230 I WindowManager: DIM BEHIND: Window{41b02c38 
paused=false} 12-08 21:58:08.451 201 230 I WindowManager: DIM BEHIND: 
Window{41b02c38 paused=false} 12-08 21:58:08.467 201 230 I WindowManager: DIM 
BEHIND: Window{41b02c38 paused=false} 12-08 21:58:08.482 201 230 I 
WindowManager: DIM BEHIND: Window{41b02c38 paused=false} 12-08 21:58:08.506 201 
204 D dalvikvm: GC_CONCURRENT freed 1028K, 10% free 16315K/17991K, paused 
2ms+5ms 12-08 21:58:08.545 201 3085 D dalvikvm: GC_FOR_ALLOC freed 444K, 9% 
free 16399K/17991K, paused 38ms 12-08 21:58:08.638 201 215 W ActivityStack: 
Activity pause timeout for ActivityRecord{419b6d68 
org.sipdroid.sipua/.ui.InCallScreen} 12-08 21:58:08.638 201 215 V 
ActivityStack: Prepare close transition: prev=ActivityRecord{419b6d68 
org.sipdroid.sipua/.ui.InCallScreen} 12-08 21:58:08.646 201 215 I 
WindowManager: DIM BEHIND: Window{41b02c38 paused=false} 12-08 21:58:08.670 
3030 3084 W AudioTrack: obtainBuffer() track 0x1ad9238 disabled, restarting 
12-08 21:58:08.748 105 3082 E audio_hw_primary: unmute ADC here 12-08 
21:58:08.756 105 2629 I AudioPolicyManagerBase: stopOutput() output 1, stream 
0, session 19 12-08 21:58:08.756 105 2629 I AudioPolicyManagerBase: 
setDolbySystemProperty device 0x2 12-08 21:58:08.756 105 3083 I 
AudioPolicyManagerBase: startOutput() output 1, stream 0, session 19 12-08 
21:58:08.756 105 3083 I AudioPolicyManagerBase: setDolbySystemProperty device 
0x1 12-08 21:58:08.795 105 213 I AudioPolicyManagerBase: setForceUse() usage 0, 
config 0, mPhoneState 0 12-08 21:58:08.795 105 213 I AudioPolicyManagerBase: 
setStreamVolume() for output 1 stream 0, device 1, volume -8.000000, delay 0 
12-08 21:58:08.795 105 213 I AudioPolicyManagerBase: setStreamVolume() for 
output 1 stream 1, device 1, volume -17.000000, delay 0 12-08 21:58:08.795 105 
213 I AudioPolicyManagerBase: setStreamVolume() for output 1 stream 2, device 
1, volume -53.000000, delay 0 12-08 21:58:08.795 105 213 I 
AudioPolicyManagerBase: setStreamVolume() for output 1 stream 3, device 1, 
volume -53.000000, delay 0 12-08 21:58:08.795 105 213 I AudioPolicyManagerBase: 
setStreamVolume() for output 1 stream 4, device 1, volume 1.000000, delay 0 
12-08 21:58:08.795 105 213 I AudioPolicyManagerBase: setStreamVolume() for 
output 1 stream 5, device 1, volume -53.000000, delay 0 12-08 21:58:08.795 105 
213 I AudioPolicyManagerBase: setStreamVolume() for output 1 stream 7, device 
1, volume -17.000000, delay 0 12-08 21:58:08.795 105 213 I 
AudioPolicyManagerBase: setStreamVolume() for output 1 stream 8, device 1, 
volume -8.000000, delay 0 12-08 21:58:08.795 105 213 I AudioPolicyManagerBase: 
setStreamVolume() for output 1 stream 9, device 1, volume -53.000000, delay 0 
12-08 21:58:08.795 105 105 I AudioPolicyManagerBase: setStreamVolumeIndex() 
stream 2, index 3 12-08 21:58:08.795 105 105 I AudioPolicyManagerBase: 
setStreamVolume() for output 1 stream 2, device 1, volume -42.000000, delay 0 
12-08 21:58:08.795 105 883 I AudioPolicyManagerBase: setStreamVolumeIndex() 
stream 5, index 3 12-08 21:58:08.795 105 883 I AudioPolicyManagerBase: 
setStreamVolume() for output 1 stream 5, device 1, volume -42.000000, delay 0 
12-08 21:58:09.779 3030 3030 I Process : Sending signal. PID: 3030 SIG: 9 12-08 
21:58:09.779 3030 3030 E AndroidRuntime: Handle UnCaght exceptions. KILLING 
PID: 3030 12-08 21:58:09.787 201 245 W InputDispatcher: channel '41b15a08 
org.sipdroid.sipua/org.sipdroid.sipua.ui.Sipdroid (server)' ~ Consumer closed 
input channel or an error occurred. events=0x8 12-08 21:58:09.787 201 245 E 
InputDispatcher: channel '41b15a08 
org.sipdroid.sipua/org.sipdroid.sipua.ui.Sipdroid (server)' ~ Channel is 
unrecoverably broken and will be disposed! 12-08 21:58:09.787 201 412 I 
ActivityManager: Process org.sipdroid.sipua (pid 3030) has died. 12-08 
21:58:09.787 201 412 W ActivityManager: Scheduling restart of crashed service 
org.sipdroid.sipua/.ui.RegisterService in 5000ms 12-08 21:58:09.795 201 245 W 
InputDispatcher: Attempted to unregister already unregistered input channel 
'41b15a08 org.sipdroid.sipua/org.sipdroid.sipua.ui.Sipdroid (server)' 12-08 
21:58:09.795 201 216 I WindowManager: DIM BEHIND: Window{41b02c38 paused=false} 
12-08 21:58:09.795 201 245 I WindowManager: WINDOW DIED Window{41b15a08 
paused=false} 12-08 21:58:09.795 201 245 I WindowManager: DIM BEHIND: 
Window{41b02c38 paused=false} 12-08 21:58:09.795 201 412 W ActivityManager: 
Force removing ActivityRecord{415cae40 org.sipdroid.sipua/.ui.Sipdroid}: app 
died, no saved state 12-08 21:58:09.795 201 412 V ActivityStack: Prepare open 
transition: no previous 12-08 21:58:09.802 201 410 W WindowManager: Failed 
looking up window 12-08 21:58:09.802 201 410 W WindowManager: 
java.lang.IllegalArgumentException: Requested window 
android.os.BinderProxy@41952df0 does not exist 12-08 21:58:09.802 201 410 W 
WindowManager: at 
com.android.server.wm.WindowManagerService.windowForClientLocked(WindowManagerSe
rvice.java:7260) 12-08 21:58:09.802 201 410 W WindowManager: at 
com.android.server.wm.WindowManagerService.windowForClientLocked(WindowManagerSe
rvice.java:7251) 12-08 21:58:09.802 201 410 W WindowManager: at 
com.android.server.wm.WindowState$DeathRecipient.binderDied(WindowState.java:156
8) 12-08 21:58:09.802 201 410 W WindowManager: at 
android.os.BinderProxy.sendDeathNotice(Binder.java:417) 12-08 21:58:09.802 201 
410 W WindowManager: at dalvik.system.NativeStart.run(Native Method) 12-08 
21:58:09.802 201 410 I WindowManager: WIN DEATH: null 12-08 21:58:09.802 201 
419 I WindowManager: DIM BEHIND: Window{41b02c38 paused=false} 12-08 
21:58:09.802 201 230 I WindowManager: DIM BEHIND: Window{41b02c38 paused=false} 
12-08 21:58:09.802 201 230 I WindowManager: DIM BEHIND: Window{41b02c38 
paused=false} 12-08 21:58:09.810 105 3082 E audio_hw_primary: Mute ADC for DMIC 
recording 12-08 21:58:09.810 105 3082 E audio_hw_primary: Mute ADC for DMIC 
recording 12-08 21:58:09.810 105 3082 V EchoCanceller: notifyStreamInClosed() 
12-08 21:58:09.810 105 2629 I AudioPolicyManagerBase: stopInput() input 18 
12-08 21:58:09.810 105 2629 I AudioPolicyManagerBase: releaseInput() 18 12-08 
21:58:09.810 201 230 I WindowManager: DIM BEHIND: Window{41b02c38 paused=false} 
12-08 21:58:09.818 105 2629 I AudioFlinger: closeInput dev=0xa35cb8, 
stream=0xa55d38 12-08 21:58:09.818 105 2629 V EchoCanceller: 
notifyStreamInClosed() 12-08 21:58:09.818 105 2629 I AudioPolicyManagerBase: 
stopOutput() output 1, stream 0, session 19 12-08 21:58:09.818 105 2629 I 
AudioPolicyManagerBase: setDolbySystemProperty device 0x2 12-08 21:58:09.818 
201 412 I WindowManager: DIM BEHIND: Window{41b02c38 paused=false} 12-08 
21:58:09.818 201 230 I WindowManager: DIM BEHIND: Window{41b02c38 paused=false} 
12-08 21:58:09.826 201 230 I WindowManager: DIM BEHIND: Window{41b02c38 
paused=false} 12-08 21:58:09.849 201 211 I WindowManager: DIM BEHIND: 
Window{41b02c38 paused=false} 12-08 21:58:09.849 201 230 I WindowManager: DIM 
BEHIND: Window{41b02c38 paused=false} 12-08 21:58:09.865 201 230 I 
WindowManager: DIM BEHIND: Window{41b02c38 paused=false} 12-08 21:58:09.881 201 
230 I WindowManager: DIM BEHIND: Window{41b02c38 paused=false} 12-08 
21:58:09.904 201 230 I WindowManager: DIM BEHIND: Window{41b02c38 paused=false} 
12-08 21:58:09.920 201 230 I WindowManager: DIM BEHIND: Window{41b02c38 
paused=false} 12-08 21:58:09.927 201 410 W InputManagerService: Got 
RemoteException sending setActive(false) notification to pid 3030 uid 10026 
12-08 21:58:09.927 201 836 I WindowManager: DIM BEHIND: Window{41b02c38 
paused=false} 12-08 21:58:09.943 201 230 I WindowManager: DIM BEHIND: 
Window{41b02c38 paused=false} 12-08 21:58:09.959 201 230 I WindowManager: DIM 
BEHIND: Window{41b02c38 paused=false} 12-08 21:58:09.967 201 211 I 
WindowManager: DIM BEHIND: Window{41b02c38 paused=false} 12-08 21:58:09.974 201 
230 I WindowManager: DIM BEHIND: Window{41b02c38 paused=false} 12-08 
21:58:09.990 201 230 I WindowManager: DIM BEHIND: Window{41b02c38 paused=false} 
12-08 21:58:10.006 201 230 I WindowManager: DIM BEHIND: Window{41b02c38 
paused=false} 12-08 21:58:10.490 354 354 D dalvikvm: GC_FOR_ALLOC freed 1290K, 
15% free 12256K/14407K, paused 18ms 12-08 21:58:10.490 354 354 I dalvikvm-heap: 
Grow heap (frag case) to 13.207MB for 1248016-byte allocation 12-08 
21:58:10.521 354 356 D dalvikvm: GC_CONCURRENT freed <1K, 7% free 
13474K/14407K, paused 2ms+2ms ---- Dec 8, 2012 9:58:11 PM ----

Original issue reported on code.google.com by mranso...@gmail.com on 9 Dec 2012 at 12:19

GoogleCodeExporter commented 9 years ago
I'm not a app developer but based on the error log I'm guessing this problem 
has to do with Kindle not supporting DISABLE_KEYGUARD permission.

http://stackoverflow.com/questions/9826334/kindle-fire-and-disable-keyguard-perm
ission

Original comment by ampru...@gmail.com on 19 Jan 2013 at 2:10

GoogleCodeExporter commented 9 years ago
This issue can probably be closed, as a code commit was done in January 2013 
that likely addressed it.

Original comment by stephen....@gmail.com on 12 Jun 2013 at 3:42

GoogleCodeExporter commented 9 years ago
I'm sorry but I don't have Kindle anymore so I can't test it. Thank you anyway.

Original comment by mranso...@gmail.com on 12 Jun 2013 at 4:35

GoogleCodeExporter commented 9 years ago
I have a Kindle and will test it later tonight.

Original comment by bpru...@gmail.com on 12 Jun 2013 at 4:51

GoogleCodeExporter commented 9 years ago
just downloaded 3.1 beta and tested on my Kindle Fire HD 8.9 with my Fritzbox 
as registrar. Does not receive incoming calls. Application crashes on outgoing 
calls, displaying an active call that is not active at all.
Can I turn on some logs to provide more details? I am really interested in 
getting Sipdroid to work with my Kindle.
Thanks & Best regards, Joachim

Original comment by j....@live.com on 23 Jun 2013 at 11:18

GoogleCodeExporter commented 9 years ago
The problem is with the mKeyguardLock.disableKeyguard() line. I wrapped it in a 
try catch block. Also with my phone provider, I had to reinitialize the audio 
device when receiving calls to properly establish two way audio because my 
phone provider would first answer with a hold request and then send a 
re-invite/modify request. SipDroid wasn't handling this properly. Can I attach 
files to this issue board? If so I can attach an APK with the changes so you 
can test and also the patch file of the code changes.

Original comment by bpru...@gmail.com on 29 Jun 2013 at 12:05

GoogleCodeExporter commented 9 years ago
Since I can't seem to attach anything (Issue attachment storage quota 
exceeded), I've included the patches below.

The patch to CallScreen.java resolved the issue of SipDroid crashing on the 
Kindle. 

The patch to UserAgent.java resolved an issue I had where my phone provider 
would initially send a hold request for incoming calls (c=0.0.0.0) and then 
send a re-invite with the correct ip address. I think this issue could help in 
resolving some of the long outstanding issues reported in Issue ID 2 
(http://code.google.com/p/sipdroid/issues/detail?id=2)

Index: org/sipdroid/sipua/ui/CallScreen.java
===================================================================
--- org/sipdroid/sipua/ui/CallScreen.java   (revision 639)
+++ org/sipdroid/sipua/ui/CallScreen.java   (working copy)
@@ -193,14 +193,21 @@
            enabled = true;
        }
        if (enabled) {
-           mKeyguardLock.disableKeyguard();
-           if (Integer.parseInt(Build.VERSION.SDK) >= 16)
-               mKeyguardManager.exitKeyguardSecurely(new OnKeyguardExitResult() {
-                   public void onKeyguardExitResult(boolean success) {
-                   }
-               });
-           enabled = false;
-           enabletime = SystemClock.elapsedRealtime();
+           try
+           {
+               mKeyguardLock.disableKeyguard();
+               if (Integer.parseInt(Build.VERSION.SDK) >= 16)
+                   mKeyguardManager.exitKeyguardSecurely(new OnKeyguardExitResult() {
+                       public void onKeyguardExitResult(boolean success) {
+                       }
+                   });
+               enabled = false;
+               enabletime = SystemClock.elapsedRealtime();
+           }
+           catch(Exception e)
+           {
+               //Keyguard not enabled
+           }
        }
    }

Index: org/sipdroid/sipua/UserAgent.java
===================================================================
--- org/sipdroid/sipua/UserAgent.java   (revision 639)
+++ org/sipdroid/sipua/UserAgent.java   (working copy)
@@ -590,6 +590,9 @@
            return;
        }
        printLog("RE-INVITE/MODIFY", LogLevel.HIGH);
+       
+       closeMediaApplication();
+       launchMediaApplication();

        // to be implemented.
        // currently it simply accepts the session changes (see method

Original comment by bpru...@gmail.com on 8 Jul 2013 at 3:52

GoogleCodeExporter commented 9 years ago
How can I apply these two patches to my version of Sipdroid (using a kindle 
fire hd)?

Should I save them as .java files and then use a file manager to place them 
into the appropriate folder?

Original comment by ari.nach...@gmail.com on 11 Aug 2013 at 5:26

GoogleCodeExporter commented 9 years ago
SipDroid can file a request with the developer relations team at Amazon Digital 
Services to get "whitelisted" if they want to use the DISABLE_KEYGUARD 
permission.

@Ari.Nach... you'd need to download and install the latest SipDroid version to 
get the fix. I'm sorry, but replacing .java files won't work.

Original comment by murt...@gmail.com on 5 Feb 2014 at 9:30