Android打开手机QQ与指定用户聊天界面


Android #手机qq2014-11-25 13:09

打开QQ并弹出聊天界面,一般作为客服QQ使用。而在移动端腾讯貌似没有公布提供类似API,但是却可以使用schema模式来启动手机QQ。

String url="mqqwpa://im/chat?chat_type=wpa&uin=82454875"; 
startActivity(new Intent(Intent.ACTION_VIEW, Uri.parse(url)));


相关文章

粤ICP备11097351号-1