http://osdir.com/ml/AndroidDevelopers/2009-07/msg01738.html
PhoneFactory methods are only for PhoneApp. For any other apps to
access services provided by Phone App or RIL, they need to post
intents to TelephonyManager. Any functionality not exposed by
TelephonyManager through intents are private to the Phone App.
On Jul 4, 4:54 am, Thomas Baumgartner <baum...@xxxxxxxxx> wrote:
> Hi,
>
> did you find a solution how PhoneFactory.getDefaultPhone() can be
> invoked from a new app?
>
> Thomas
>
> On 24 Jun., 04:18,NaveenK <naveen...@xxxxxxxxx> wrote:
>
> > Hi,
>
> > I am trying to call PhoneFactory.getDefaultPhone from a new
> > application so that I can access its invokeOemRilRaw* functions. But
> > it gives me a "java.lang.RuntimeException:
> > PhoneFactory.getDefaultPhone must be called from Looper thread" error.
>
> > Is this possible ? Or is this function dedicated for the PhoneApp
> > only ?
>
> > Thank you,
> >Naveen
>
>