嗨,我想发送消息从我的应用程序与viber意图,我的代码
Intent share = new Intent(android.content.Intent.ACTION_SEND);
share.setClassName("com.viber.voip","com.viber.voip");
share.setType("text/plain");
Uri uri =Uri.parse("tel:"+Uri.encode("09
我想在另一个应用程序中调用一个按钮,但我做不到。经过搜索,我发现只有一个API能做到这一点。它是SendMessage API,但我不能用它.我开发了一个windows应用程序,可以与Viber应用程序(如whatsapp这样的社交应用程序)进行交互。我想在文本框中传递号码,然后点击聊天徽标写消息,然后发送.有什么帮助吗?
这是我的示例代码
namespace ViberMess
public partial class Form1 : Form
{
// Get a handle to an application window.
[DllImport("USER3
我对ionic和cordova非常陌生。我想以某种方式得到用户的电话号码,可以吗?我正在尝试为我的应用程序创建号码注册。当用户第一次打开应用程序时,他会被要求输入一个通过文本消息获得的代码。它类似于viber。第一个视图包含一个按钮“Send me a code”,下一个视图包含一个表单“Enter code:”和一个按钮“Log me in”。