tags:

views:

87

answers:

0

Hi,

I'm newbie in Android.

I intend to write tests related the Phone and Direct SIM write.

What are the alternatives in case the required API's does not exposed in TelephonyManager but exist as private APIs in PhoneBase.java or PhoneFactory.java or CommandInterface.java?

examples: 1. What is the "replacement" for: mPhone = PhoneFactory.getDefaultPhone(); ? 2. What is the alternative in order to access the CommandsInterface, CommandsInterface mCmdIf = ((PhoneBase)mPhone).mCM ?

Thanks In Advance, Micha