Android Community
Page 1 of 2 1 2 LastLast
Results 1 to 10 of 13

Thread: Phone Listner API in Android?

  1. #1
    Join Date
    Sep 2008
    Posts
    6

    Question Phone Listner API in Android?


    Hi,

    I am new to Android. I have developed application for blackberry. I want to develop the same application for Android also.

    My applications primary feature is to disconnect all outgoing calls.

    Is there anything like phone listner in Android?

    How feasible its to implemnt an application which overrides the native phone application?


    Arun

  2. #2
    Join Date
    Aug 2008
    Location
    DFW Area
    Posts
    459

    Default Re: Phone Listner API in Android?

    Why would you want to diconnect all outgoing calls?

  3. #3
    Join Date
    Sep 2008
    Posts
    922

    Default Re: Phone Listner API in Android?

    What exactly are you trying to do? Is this to close multiple calls at once or what?

    Welcome to the forum!

  4. #4
    Join Date
    Sep 2008
    Posts
    6

    Question Re: Phone Listner API in Android?

    When my application is running if someone make a call, I want to disconnect the call and dial a modified number.

    Same way I want to get Call Initiated, call connected, call disconnected, call incoming and call answered events.

    In blackberry PhoneListner class is prividing all these. Same way Symbian and Windows mobile also provides this. So I want to develop our application in android also. But I didnt find any API for that.

    is it possible to do this in Android?

  5. #5
    Join Date
    Sep 2008
    Posts
    313

    Default Re: Phone Listner API in Android?

    Quote Originally Posted by arunk View Post
    Hi,

    I am new to Android. I have developed application for blackberry. I want to develop the same application for Android also.

    My applications primary feature is to disconnect all outgoing calls.

    Is there anything like phone listner in Android?

    How feasible its to implemnt an application which overrides the native phone application?


    Arun
    Are you looking for this?:
    http://code.google.com/android/refer...eListener.html

  6. #6
    Join Date
    Sep 2008
    Posts
    6

    Question Re: Phone Listner API in Android?

    No its not the one I am looking for.

    I want to create my own phone application and for that I need a proper telephoney API....


    In blackberry its

    http://www.blackberry.com/developers...eListener.html

    is there some listner interface like this in Android?
    Last edited by arunk; 09-30-2008 at 02:37 AM.

  7. #7
    Join Date
    Sep 2008
    Posts
    313

    Default Re: Phone Listner API in Android?

    Quote Originally Posted by arunk View Post
    No its not the one I am looking for.

    I want to create my own phone application and for that I need a proper telephoney API....


    In blackberry its

    http://www.blackberry.com/developers...eListener.html

    is there some listner interface like this in Android?
    Whatever is avaliable on the sdk on calling should in the telephony section. Looking over that section I haven't seen anything on intercepting calls, so it is not the full telephony api that you need. Most likely it is not included for security or other reasons. If so you will might have to wait until October 22 when they open the source code so you can see the internal APIs on their phone app which they have not included in the sdk.

    But probably you will get better answers by going to
    http://groups.google.com/group/android-developers
    and asking about your specific feature so they can include it in the next release; the actual people working on the sdk will post there sometimes and can answer your questions directly.

    I found this mentioning that there is no ability to intercept calls currently because of security reasons.
    http://groups.google.com/group/andro...69f0fb80e07f5e

    Edit:
    You can do feature requests on the public issue tracker and you can browse existing issues and see if they have been resolved:
    http://code.google.com/p/android/issues/list
    Last edited by stopcrazypp; 09-30-2008 at 05:37 PM.

  8. #8
    Join Date
    Sep 2008
    Posts
    6

    Default Re: Phone Listner API in Android?

    thanks stopcrazypp

  9. #9
    Join Date
    Sep 2008
    Posts
    6

    Question Re: Phone Listner API in Android?

    Is there a chance of implementing a proper telephony API in Android?

  10. #10
    Join Date
    Sep 2008
    Location
    The Boonies of Pinal County, Arizona
    Posts
    1,186

    Default Re: Phone Listner API in Android?


    Quote Originally Posted by arunk View Post
    Is there a chance of implementing a proper telephony API in Android?
    Perhaps you should begin by defining "proper telephony API".

Page 1 of 2 1 2 LastLast

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •