开发者

how to create Intent.ACTION_CALL_PRIVILEGED from code in android?

I was following this开发者_JAVA百科 post to create a call. I know I can use ACTION_CALL/ACTION_DIAL but they will not meet my need. It suggested that I need to use @hide annotation. I was wondering how to do that.

(sdk 2.2) When I put the following code in eclipse shows red mark under Intent.ACTION_CALL_PRIVILEGED.

Intent intent = new Intent(Intent.ACTION_CALL_PRIVILEGED,
Uri.fromParts("tel", number, null)); startActivity(intent);
0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜