whatsapp

How to open Whatsapp group by clicking a button?

岁酱吖の 提交于 2019-12-31 03:27:05
问题 I made a simple phone directory and was able to open the Whatsapp contacts by clicking a button. Here is the sample code: Intent intentWhatsapp = new Intent("android.intent.action.MAIN"); intentWhatsapp.setAction(Intent.ACTION_VIEW); String url = "https://api.whatsapp.com/send?phone=" + "90xxxxxxxx"; intentWhatsapp.setData(Uri.parse(url)); intentWhatsapp.setPackage("com.whatsapp"); startActivity(intentWhatsapp);} How can I open the Whatsapp group by clicking a button in android? Hope to give

Open graph protocol not working in whatsapp

筅森魡賤 提交于 2019-12-25 12:45:19
问题 I Follow the below open graph meta tags to show thumbnail on sharing. It works perfectly in facebook but not in whatsapp <meta property="og:site_name" content="Hahaa haa"> <meta property="og:title" content="Haaha haa - Music Player" /> <meta property="og:url" content="http://13.126.57.106/aiyoapp/public/" /> <meta property="og:description" content="Haaha haa Music Player is used to share"> <meta property="og:image" itemprop="image" content="http://13.126.57.106/aiyoapp/public/images/ha_thumb

Sending Image over Viber

前提是你 提交于 2019-12-25 02:38:05
问题 I am trying to send a image through viber or watzapp. Whatsapp works fine but viber always keep telling "The selected file appearers to be unsupported or corrupted. Please select a different File". Any idea what's going wrong ? Here is my code Uri uri = Uri.parse("android.resource://com.example.test/drawable/image_1"); sharingIntent.setType("image/jpg"); sharingIntent.putExtra(Intent.EXTRA_STREAM, uri); startActivity(Intent.createChooser(sharingIntent, "Share image using")); 回答1: int

How to show chooser Intent with my own android app on click of WhatsApp location?

与世无争的帅哥 提交于 2019-12-25 02:26:19
问题 If there's a WhatsApp chat which has location shared, when clicked it shows a chooser intent with some set of applications. I want to write an intent filter so that my application will also be listed there. 回答1: You can do it by supporting implicit intent to your Activity . Define intent-filter to Activity to which you want to open after clicking to your Application from options. <activity android:name=".BrowserActivitiy" android:label="@string/app_name"> <intent-filter> <action android:name=

Chrome console click() not working on Chat List in web.whatsapp

心不动则不痛 提交于 2019-12-24 15:23:18
问题 I'm try to built a chat bot for whatsapp web. I need to click on each chat present in the chat window in the left side panel. The click is not working on the chat list only. I did some research and came across below link. Chome console .click() working on one website, but not on another website. Why and how? I was able to trigger other click, like click on the title of chat when using below script. $('#main ._3V5x5').click() I have fetch the div of the first element in the chat list using

Webview Desktop website won't work in Android

狂风中的少年 提交于 2019-12-24 10:45:49
问题 Partly as an exercise for learning a little Android programming, and partly because I wish I had a WhatsApp client on Android mobile, I am trying to create an app that I can personally use as a WhatsApp client for my mobile. All it does is load up the web.whatsapp.com desktop site in a UIWebView like so: webView = findViewById(R.id.wv); String ua = "user agent string"; webView.getSettings().setUserAgentString(ua); webView.getSettings().setJavaScriptEnabled(true); webView.loadUrl(" url ");

Show whatsapp barcode webpage in webview

限于喜欢 提交于 2019-12-24 07:47:33
问题 I am trying to show this link in android app in webview but the web loads in android device is different from showing in Google Chrome. Whatsapp link is here :https://web.whatsapp.com/ I am using this code in android to load the above page but it does not load the same page. mWebView .loadUrl("https://web.whatsapp.com/");// https://tekdude.blogspot.in/"); mWebView.getSettings().setBuiltInZoomControls(true); mWebView.getSettings().setLayoutAlgorithm(LayoutAlgorithm.SINGLE_COLUMN);

WhatsApp showing alert “This item cannot be shared. Please select a different item.” for iOS app.

天涯浪子 提交于 2019-12-24 01:44:37
问题 I am developing an iOS app. In that app I have on social sharing feature and that Social sharing feature uses deep linking for sharing the url. That url sharing is working fine fine for all the apps except WhatsApp . It shows an alert popup "This item cannot be shared. Please select a different item". Below is the my code please suggest the changes I can make to it can be send on WhatsApp too. func actioncontroller(){ let actionSheetController: UIAlertController = UIAlertController(title: nil

I want To share Multiple Picture With Single Caption

元气小坏坏 提交于 2019-12-23 23:04:32
问题 I want to share multiple picture with single caption which is shown on one image not on all of them. But caption will show on every pic which is shared at one time. Here is my code private void pic_with_data() { Intent shareIntent = new Intent(); shareIntent.setAction(Intent.ACTION_SEND); shareIntent.setPackage("com.whatsapp"); shareIntent.putParcelableArrayListExtra(Intent.EXTRA_STREAM, imageUriArray); shareIntent.putExtra(Intent.EXTRA_TEXT, "Download this App"); shareIntent.setType("text

whatsapp c# Auth response error

梦想的初衷 提交于 2019-12-23 22:26:32
问题 I'm using the last nuget version for whatsapp: WhastApp API 1.2.2 and reading tutorials about configure my whatsapp in my application. I'm using my localhost to test and my code is: string from = "503XXXX"; string to = "503XXXX"; string msg = "lorem ipsum"; WhatsApp wa = new WhatsApp(from, "jd8eY3FXXXXXXXXXXXXXXXXXXX", "MrMins", true); wa.OnConnectSuccess += () => { wa.OnLoginSuccess += (phoneNumber, data) => { wa.SendMessage(to, msg); }; }; wa.OnLoginFailed += (data) => { //Fail message };