Why emulator cannot recieve incoming call?

by bluebol...@gmail.com » Wed, 29 Apr 2009 01:07:48 GMT


Sponsored Links
 I make android source code and try to emulate the image.
A problem occurr when I dial.

MO call works well, but MT call always can't apply to UI.
On the other hand, Android SDK MT/MO both work well.
I found the problem is caused by
D/GSM     (   84): [CallTracker] (ringing) hangup waiting or
background
Up layer always send a hangup event when it get Incoming call state.
How can I fix it?


Here is the radio log

D/RILJ    (   84): [0103]< SIGNAL_STRENGTH {7, 99}
D/RILJ    (   84): WAKE_LOCK_TIMEOUT  mReqPending=0 mRequestList=1
D/RILJ    (   84): 0: [14] SET_NETWORK_SELECTION_AUTOMATIC
D/AT      (   21): AT< RING
D/RILJ    (   84): [UNSL]< UNSOL_RESPONSE_CALL_STATE_CHANGED
D/RILJ    (   84): [0104]> GET_CURRENT_CALLS
D/RIL     (   21): onRequest: GET_CURRENT_CALLS
D/AT      (   21): AT> AT+CLCC
D/AT      (   21): AT< +CLCC: 1,1,4,0,0,"5556",129
D/AT      (   21): AT< OK
D/RILJ    (   84): [0104]< GET_CURRENT_CALLS
[id=1,mt,INCOMING,voice,norm,129,0]
D/GSM     (   84): [GSMConn] acquireWakeLock
D/GSM     (   84): [CallTracker] (ringing) hangup waiting or
background
D/RILJ    (   84): [0105]> HANGUP_WAITING_OR_BACKGROUND
D/RIL     (   21): onRequest: HANGUP_WAITING_OR_BACKGROUND
D/AT      (   21): AT> AT+CHLD=0
D/AT      (   21): AT< OK
D/RILJ    (   84): [0105]< HANGUP_WAITING_OR_BACKGROUND
D/RILJ    (   84): [0106]> GET_CURRENT_CALLS
D/RIL     (   21): onRequest: GET_CURRENT_CALLS
D/AT      (   21): AT> AT+CLCC
D/AT      (   21): AT< OK
D/RILJ    (   84): [0106]< GET_CURRENT_CALLS
D/GSM     (   84): [CallTracker] missed/rejected call,
conn.cause=LOCAL
D/GSM     (   84): [CallTracker] setting cause to INCOMING_REJECTED
D/GSM     (   84): [GSMConn] onDisconnect: cause=INCOMING_REJECTED
D/GSM     (   84): [GSMConn] releaseWakeLock
D/RILJ    (   84): [UNSL]< UNSOL_RESPONSE_CALL_STATE_CHANGED
D/RILJ    (   84): [0107]> GET_CURRENT_CALLS
D/RILJ    (   84): [0108]> SIGNAL_STRENGTH
D/RIL     (   21): onRequest: GET_CURRENT_CALLS
D/AT      (   21): AT> AT+CLCC
D/AT      (   21): AT< OK
D/RIL     (   21): onRequest: SIGNAL_STRENGTH
D/AT      (   21): AT> AT+CSQ
D/RILJ    (   84): [0107]< GET_CURRENT_CALLS
D/AT      (   21): AT< +CSQ: 7,99
D/AT      (   21): AT< OK
D/RILJ    (   84): [0108]< SIGNAL_STRENGTH {7, 99}
D/RILJ    (   84): WAKE_LOCK_TIMEOUT  mReqPending=0 mRequestList=1
D/RILJ    (   84): 0: [14] SET_NETWORK_SELECTION_AUTOMATIC

--~--~---------~--~----~------------~-------~--~----~



Other Threads

1. Toolchain for emulator ?

Hi, All:

Could you please help to tell me which toolchain is selected for compiling
the Android emulator?  in the prebuild directory there are
many toolchains as below, but which one is used to build the android when
you directlty type "make" command to build Android in Linux?

Thanks a lot for your help !!

Regards

vincent.

======================
./linux-x86/toolchain/i686-linux-gnu-3.4.6/libexec/gcc
./linux-x86/toolchain/i686-linux-gnu-3.4.6/bin/gcc
./linux-x86/toolchain/i686-linux-gnu-3.4.6/lib/gcc
./linux-x86/toolchain/arm-eabi-4.3.1/arm-eabi/bin/gcc
./linux-x86/toolchain/arm-eabi-4.3.1/libexec/gcc
./linux-x86/toolchain/arm-eabi-4.3.1/bin/arm-eabi-gcc
./linux-x86/toolchain/arm-eabi-4.3.1/lib/gcc
./linux-x86/toolchain/i686-unknown-linux-gnu-4.2.1/libexec/gcc
./linux-x86/toolchain/i686-unknown-linux-gnu-4.2.1/bin/i686-unknown-linux-gnu-gcc
./linux-x86/toolchain/i686-unknown-linux-gnu-4.2.1/bin/i686-unknown-linux-gnu-i686-unknown-linux-gnu-gcc
./linux-x86/toolchain/i686-unknown-linux-gnu-4.2.1/lib/gcc
./linux-x86/toolchain/arm-eabi-4.2.1/arm-eabi/bin/gcc
./linux-x86/toolchain/arm-eabi-4.2.1/libexec/gcc
./linux-x86/toolchain/arm-eabi-4.2.1/bin/arm-eabi-gcc
./linux-x86/toolchain/arm-eabi-4.2.1/lib/gcc
./darwin-x86/toolchain/i686-apple-darwin8-4.0.1/include/gcc
./darwin-x86/toolchain/i686-apple-darwin8-4.0.1/libexec/gcc
./darwin-x86/toolchain/i686-apple-darwin8-4.0.1/bin/gcc
./darwin-x86/toolchain/i686-apple-darwin8-4.0.1/lib/gcc
./darwin-x86/toolchain/arm-eabi-4.2.1/arm-eabi/bin/gcc
./darwin-x86/toolchain/arm-eabi-4.2.1/libexec/gcc
./darwin-x86/toolchain/arm-eabi-4.2.1/bin/arm-eabi-gcc
./darwin-x86/toolchain/arm-eabi-4.2.1/lib/gcc
=========================

--~--~---------~--~----~------------~-------~--~----~

2. Ultimate Android Calendar - AnCal available for download and testing !

tried to download on to G1 from browser, says "Cannot download.  The
content being download is not supported on the phone"

I have not had any trouble download other .apk files

Mike



--~--~---------~--~----~------------~-------~--~----~

3. Problem with ItemizedOverlay

4. WebView and POST requests problem

5. Blocked TextView - URLSpan ...

6. How can I detect if the user has started my app again?

7. Android Source Code