[英]How can i integrate to get and send messages of skype and icq in my android app
I want to integrate skype and icq messages in my android app.我想在我的 android 应用程序中集成 Skype 和 icq 消息。 Means if any one send message that msg has to come my android app and sending reply to that app only.
意味着如果有人发送消息,msg 必须来到我的 android 应用程序,并且只向该应用程序发送回复。 In the same way icq also.
以同样的方式 icq 也。
I google for 2days but i didn't find any solution on this.我谷歌了 2 天,但我没有找到任何解决方案。 Is there any way of this.
有没有这种办法。
Thanks&Regards感谢和问候
shankar香卡
If they have api for android you can do it easily.如果他们有 android 的 api,你可以很容易地做到。 Most likely you cant do something like that easily because as I know they dont have available api for android.
很可能你不能轻松地做这样的事情,因为据我所知,他们没有适用于 android 的 api。 I dont think ink you can achive this with any other way neither
我不认为墨水你可以用任何其他方式实现这一点
You can use this php script and make a server or you can do this by using nodejs icq bot.Icq don't provide any api for direct messenging.您可以使用此 php 脚本并制作服务器,也可以使用 nodejs icq bot.Icq 不提供任何用于直接消息传递的 api。
<?php
require_once('WebIcqPro.class.php');
$uin = '******';
$pass = '******';
$to_uin = '******';
$icq = new WebIcqPro();
$icq->debug = true;
$this->setTimeout(60, 60000);
$icq->setOption('UserAgent', 'miranda');
if ($icq->connect($uin, $pass)) {
$icq->sendMessage($to_uin, 'Hello! This is a test message');
} else {
die('ICQ connection error: ' . $icq->error);
}
You have 2 options:您有 2 个选择:
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.