A lot of the telephony classes you'll see in the framework will only work in
the phone process, because they do not have any IPC abstraction behind
them.  There is also significant work taking place on them, such as to
support CDMA, that we have been fairly conservative about what is exposed to
avoid having to break APIs.  The official APIs you can use are
TelephonyManager, for for location stuff you generally should be using
LocationManager.

On Tue, Apr 14, 2009 at 7:51 PM, alexdonnini <[email protected]> wrote:

>
> Hello,
>
> As I understand it, the Phone.java interface is not available to
> application developers. This being the case (please confirm), how can
> application developers access detailed phone related data such as
> neighboring CID (refer to the Phone.java code for additional
> information)?
>
> Retrieving this kind of information depends on the instantiation of
> Phone (e.g. via makeDefaultPhone, or getDefaultPhones.
> makeDefaultPhone cannot be used without special permission.
>
> It looks to me like somehow, for reasons I do not quite understand, it
> is particularly difficult to access and manage phone location
> information (e.g. have direct access to the Phone.java interface).
>
> Why is that? It cannot be a matter of security as testing of a
> function and development of an application does not automatically
> translate into publishing and approval of that application.
>
> I would appreciate anyone's feedback and help on this.
>
> Thanks.
>
> Alex Donnini
>
> >
>


-- 
Dianne Hackborn
Android framework engineer
[email protected]

Note: please don't send private questions to me, as I don't have time to
provide private support, and so won't reply to such e-mails.  All such
questions should be posted on public forums, where I and others can see and
answer them.

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"android-framework" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/android-framework?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to