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);
精彩评论