Hi -
I need to be able to place outgoing calls and interact with IPhone.
This apparently, ~was~ the way to get it:
private static IPhone getPhoneInterface() throws DeadObjectException {
IServiceManager sm = ServiceManagerNative.getDefault();
IPhone phoneService =
IPhone.Stub.asInterface(sm.getService("phone"));
return phoneService;
}
However, my eclipse project does not accept:
import android.os.ServiceManagerNative;
and there is no longer a ServiceManagerNative class in the android
javadoc.
The API must have changed. Does anyone know the new way to do this?
Much obliged.
Paul
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "Android Beginners" 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-beginners?hl=en
-~----------~----~----~----~------~----~------~--~---