whatsapp

How to Send message to a WhatsApp group without opening WhatsApp?

亡梦爱人 提交于 2019-12-08 09:01:49
问题 Is it possible to send message using the WhatsApp server to a WhatsApp group, inside my own application and without opening the WhatsApp app? Also please help me regarding the history of WhatsApp contact chat. 回答1: in short NO Reason: because (at least to my knowledge) Whatsapp does not allows the same. i.e. no external events or APIs to implement the same. So you have to at least use the intents and let the user handle the rest. Also please help me regarding the history of WhatsApp contact

When Called From UIActivityViewController WhatsApp Freezes After a Recipient Is Selected

自闭症网瘾萝莉.ら 提交于 2019-12-08 07:32:04
问题 I am using UIActivityViewController to share my iOS app. When WhatsApp is selected from the list of options, it takes me to the proper screen. I can move around, and all the buttons work. However, once I select a recipient, WhatsApp freezes. Does anyone know what's going on here? Has anyone encountered this bug before? EDIT (Code Added) Here's the code I'm using to call the UIActivityViewController : - (void) sharePressed:(UIBarButtonItem *)sender { NSString* shareText = @"Hello World!";

How to open Whatsapp from other app

回眸只為那壹抹淺笑 提交于 2019-12-08 03:55:01
问题 I am developing an android app. I want to open (just open) WhatsApp from my app. How can I open WhatsApp from my app? 回答1: Did you try this Intent launchIntent = getPackageManager().getLaunchIntentForPackage("com.whatsapp"); startActivity(launchIntent); 来源: https://stackoverflow.com/questions/29516628/how-to-open-whatsapp-from-other-app

Whatsapp Image sharing not working

六月ゝ 毕业季﹏ 提交于 2019-12-08 03:49:40
问题 My class implements the UIDocumentInteractionControllerDelegate and I have the following property: @property (nonatomic,retain) UIDocumentInteractionController * documentInteractionController; if ([[UIApplication sharedApplication] canOpenURL: [NSURL URLWithString:@"whatsapp://app"]]) { UIImage *iconImage = [UIImage imageNamed:@"bg_iPhone_5.jpg"]; NSString *savePath = [NSHomeDirectory() stringByAppendingPathComponent:@"Documents/whatsAppTmp.wai"]; [UIImageJPEGRepresentation(iconImage, 1.0)

How can I get my whatsapp number?

坚强是说给别人听的谎言 提交于 2019-12-08 03:36:55
问题 I am developing an app for Android and want to read the whatsapp telephone number configured in the client device. Tried the following code: AccountManager am = AccountManager.get(this); Account[] accounts = am.getAccounts(); for (Account ac : accounts) { String acname = ac.name; String actype = ac.type; // Take your time to look at all available accounts System.out.println("Accounts : " + acname + ", " + actype); } if(actype.equals("com.whatsapp")){ String phoneNumber = ac.name; } I also set

How to share image URL to WhatsApp in Android?

落花浮王杯 提交于 2019-12-07 13:00:11
问题 I need to share an image to WhatsApp in my app. I have the image URL. For sharing to WhatsApp, I am using the following code. String image_url = "http://images.cartradeexchange.com//img//800//vehicle//Honda_Brio_562672_5995_6_1438153637072.jpg"; URI uri = null; try { uri = new URI(image_url.toString()); } catch (URISyntaxException e) { // TODO Auto-generated catch block e.printStackTrace(); } Log.e("uri=", "" + uri); Intent shareIntent = new Intent(); shareIntent.setAction(Intent.ACTION_SEND)

How to open Whatsapp from other app

佐手、 提交于 2019-12-07 08:21:26
I am developing an android app. I want to open (just open) WhatsApp from my app. How can I open WhatsApp from my app? Did you try this Intent launchIntent = getPackageManager().getLaunchIntentForPackage("com.whatsapp"); startActivity(launchIntent); 来源: https://stackoverflow.com/questions/29516628/how-to-open-whatsapp-from-other-app

When Called From UIActivityViewController WhatsApp Freezes After a Recipient Is Selected

偶尔善良 提交于 2019-12-07 04:06:27
I am using UIActivityViewController to share my iOS app. When WhatsApp is selected from the list of options, it takes me to the proper screen. I can move around, and all the buttons work. However, once I select a recipient, WhatsApp freezes. Does anyone know what's going on here? Has anyone encountered this bug before? EDIT (Code Added) Here's the code I'm using to call the UIActivityViewController : - (void) sharePressed:(UIBarButtonItem *)sender { NSString* shareText = @"Hello World!"; UIActivityViewController *controller = [[UIActivityViewController alloc] initWithActivityItems:@[shareText]

Whatsapp Automated Bot not able to search in WhatsApp Contact List

ぃ、小莉子 提交于 2019-12-07 01:24:57
问题 I'm trying to implement a WhatsApp bot, which uses the chromedriver and opens whatsapp web, and sends messages to the contacts. These are the steps of the program: Reads the contacts from an excel file Set the time, when you want to send the message along with the message you want to send Search that name and send message Here are the problems that I'm unable to solve: If the name is not there in recent chats, it is not able to search it from the WhatsApp contact list and send Also I want to

How to Send message to a WhatsApp group without opening WhatsApp?

只愿长相守 提交于 2019-12-06 21:55:39
Is it possible to send message using the WhatsApp server to a WhatsApp group, inside my own application and without opening the WhatsApp app? Also please help me regarding the history of WhatsApp contact chat. in short NO Reason: because (at least to my knowledge) Whatsapp does not allows the same. i.e. no external events or APIs to implement the same. So you have to at least use the intents and let the user handle the rest. Also please help me regarding the history of WhatsApp contact chat. This also can't be done (using ethical approach) because all the chat history is stored in a private