开发者

PhoneFactory.getDefaultphone in android

开发者 https://www.devze.com 2023-01-24 17:19 出处:网络
I am trying to call PhoneFactory.getDefaultPhone from a new application so that I can access its invokeOemRilRaw* functions. But

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.

I开发者_Python百科s this possible ? Or is this function dedicated for the PhoneApp only ?

Regards,

vinila


It's an internal API and you can't access it from your process.

0

精彩评论

暂无评论...
验证码 换一张
取 消