As far as I know, there is no need to modify your phone's firmware or 
framework. It is sufficient to build your application as part of 
adnroid's build. neeloor2004, if you enlist into android's open source 
projects using repo (Mark provided you the link), add your project 
sources to the build, then from your sources you should be able to 
access telephony internals public classes. Be aware though, that 
whenever Google changes/refactors these internal classes, your app would 
have to be recompiled again. In my personal opinion, that could cause 
huge maintenance problems, which is why Google advises avoid taking 
dependencies on internals.

Sergey

 
Mark Murphy wrote:
> neeloor2004 wrote:
>   
>> Hi
>> I am developing an app with needs to listen to telephony call events.
>> But android SDK is only giving limited functionalities
>> CALL_STATE_IDLE
>> CALL_STATE_RINGING
>> CALL_STATE_OFFHOOK
>>
>> I know how to get above events. What I am interested is to get the
>> following events like
>> CALL hold/ swap , CALL Connected, Disconnected (by called party or
>> caller), answering etc..
>>
>> Could anybody give me an example code or is it a limitation on Android
>> SDK. If it is SDK limitation how can I get access to telephony
>> internals
>>     
>
> "CALL Connected" is when the device goes into CALL_STATE_OFFHOOK.
>
> "CALL Disconnected" is when the device goes into CALL_STATE_IDLE.
>
> "CALL hold/ swap" may or may not exist. It is not a supported concept in
> the SDK.
>
> To "get access to telephony internals", you will need to modify the
> firmware for your own phone. You can access the source code and firmware
> build instructions at http://source.android.com. Questions on that
> process should go to the [android-porting] Google Group.
>
>   

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to