app喚醒QQ


先通過shang.qq.com開通推廣

Android:

String 
url=”mqqwpa://im/chat?chat_type=wpa&uin=這里是QQ號&version=1&src_type=web&web_src=oicqzone.com”; 
startActivity(new Intent(Intent.ACTION_VIEW, Uri.parse(url)));
mqqwpa://im/chat?chat_type=wpa&uin=這里是QQ號&version=1&src_type=web&web_src=oicqzone.com

 

iOS:

UIWebView *webView = [[UIWebView alloc] initWithFrame:CGRectZero]; 
NSURL *url = [NSURL 
URLWithString:@”mqq://im/chat?chat_type=wpa&uin=這里是QQ號&version=1&src_type=web&web_src=oicqzone.com”]; 
NSURLRequest *request = [NSURLRequest requestWithURL:url]; 
webView.delegate = self; [webView loadRequest:request]; [self.view 
addSubview:webView];
mqq://im/chat?chat_type=wpa&uin=這里是QQ號&version=1&src_type=web&web_src=oicqzone.com


免責聲明!

本站轉載的文章為個人學習借鑒使用,本站對版權不負任何法律責任。如果侵犯了您的隱私權益,請聯系本站郵箱yoyou2525@163.com刪除。



 
粵ICP備18138465號   © 2018-2025 CODEPRJ.COM