简体   繁体   English

我如何集成以在我的 android 应用程序中获取和发送 Skype 和 icq 的消息

[英]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 个选择:

  1. Check with the Skype and ICQ app if they have an API检查 Skype 和 ICQ 应用程序是否有 API
  2. Use the SHARE intent and hope both apps react to it.使用 SHARE Intent 并希望两个应用程序都对它做出反应。 Negative points is that the resulting app is launched when sharing.缺点是共享时会启动生成的应用程序。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 我如何从我的Android应用程序发送Skype消息? - how can i send a skype message from My android app? 我可以将Skype与我的Android应用程序链接吗? - Can I link Skype with my Android App? 我可以向我的Android应用程序用户发送定期消息吗? - Can I send periodic messages to my Android app users? 我可以在Android应用程序中使用Skype或Facebook表情符号吗? - can i use skype or facebook emoticons in my android app? 如何在我的 android 应用程序中使用 firebase 集成 otp 验证 - How can I integrate otp verification in my android app with firebase 如何在我的Android应用程序中集成PayPal订阅按钮? - How can I integrate PayPal subscribe button in my android app? 如何在不使用互联网连接的情况下将android物理应用中的http消息发送到本地服务器? - How can I send http messages from android app( physical device) to my local server without using internet connection? 如何使用移动热点从Android应用(物理设备)向本地服务器发送HTTP消息 - How can I send http messages from android app( physical device) to my local server using mobile hotspot 我可以将Peoples应用程序集成到我的android应用程序中吗 - Can I integrate Peoples app in my android app 如何将我的 fitbit 数据集成到我自己的 Android 应用程序中? - How can I integrate my fitbit data in my own Android app?
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM