whatsapp

Mechanism behind QR code scanning of whatsapp webapp

送分小仙女□ 提交于 2019-11-28 16:42:34
问题 I could not find any answers related to the working mechanism of qr code scanning used on whatsapp web-app. How does the authentication happen when the phone (any smartphone running whatsapp) scans the qr code on the browser. I don't want about the technology stack behind them.Like whatsapp uses modified version of xmpp , uses erlang , uses web technologies like socket.io and ajax for the web version to implement such functionality. The question might be broad.But I am eager to know about the

how does whatsapp service gets restarted even if i force stop app?

半城伤御伤魂 提交于 2019-11-28 16:34:11
I am running whatsapp (we could call it appX from now on) in device A. I go to manage applications -> force close so appX gets closed and i no longer see appX as running services. Now, after 5 minutes, I send a message from another device 's appX (device B) to device A appX (the one we killed it). Here are the 2 scenarios i tested : device A with android 2.1 : it never receives the message, therefore we could say that none of appX services got restarted. It ONLY receives the message if manually the user restarts the app. device A with android 2.3.6 : for SOME magic reason, no matter how long

Web link to specific whatsapp contact

匆匆过客 提交于 2019-11-28 15:22:49
I'd like to place a link on a webpage which opens a whatsapp chat with a certain whatsapp contact. In other words: I want a "contact me by whatsapp" link to go next to the page's "Contact us my facebook/twitter/google+/etc" links. Something like: href="whatsapp:contact=015555555555@s.whatsapp.com&message="I'd like to chat with you" Rafael Araújo I've tried many approaches and I have a winner (see Test 3), here is the result of each one: (I think the Test 3 will also work for you because if the person visiting your site doesn't have you on their contact list, it's the only option that will

How can I open WhatsApp's conversation activity using contact data?

空扰寡人 提交于 2019-11-28 09:28:06
I want open what's app conversation activity cmp=com.whatsapp/.Conversation from my app. How can I do this? I have contact phone number, contact id, contact raw id and also have what's app uri for a particular contact. private void openWhatsApp(String id) { Intent i = new Intent(Intent.ACTION_VIEW, Uri.parse("content://com.android.contacts/data/"+id)); Log.v("ssssss", s); i.setType("vnd.android.cursor.item/vnd.com.whatsapp.profile"); i.setComponent(new ComponentName("com.whatsapp", ".Conversation")); startActivity(i); } 04-20 18:13:45.794: I/ActivityManager(1862): START {act=android.intent

Send messages with whatsapi.net?

浪子不回头ぞ 提交于 2019-11-28 09:04:52
I want to send messages using whatsapi and this was my try string nickname = "Test"; string sender = "xxxxxxxxxxxxxx"; //My Phone Number tryed with 049xxxxxxxxxxxx, 0049xxxxxxxxxxxxxx, 49xxxxxxxxxxxxxxx, xxxxxxxxxxxxxx string imei = "xxxxxxxxxxxxxxxxxxxxxxxxx";//My IMEI WhatsApp me = new WhatsApp(sender,imei ,nickname,true); me.Connect(); Console.WriteLine(me.ConnectionStatus);// I get a Connection! Console.ReadLine(); me.SendMessage("xxxxxxxxxx", "This is a Test!");// Send Message //No Message received :( me.Disconnect(); Console.WriteLine(me.ConnectionStatus); Console.ReadLine(); Now where

Is it legal to use WhatsAPI? [closed]

送分小仙女□ 提交于 2019-11-28 08:04:46
Is it legal to send messages through Whats App using https://github.com/venomous0x/WhatsAPI ? I want to send reminders and notificiations using an application. To answer your specific question: yes, it is legal to use WhatsAPI. Now for the story, it looks like the initial threats from Whats App to sue WhatsAPI were caused by people using the service for spam, and as such WhatsAPI got a cease and desist letter from WhatsApp lawyer. From what I could gather on their Github , the came to an arrangement with WhatsApp, and as such they will not sue WhatsApi if they respect their network. So on

How to get contacts which are used in whatsapp or other application in android

爷,独闯天下 提交于 2019-11-28 05:34:55
Hi i want to get contact which are used by other application (like whatsapp or viber ) please see in below image please help me about this issue thanks With the READ_CONTACTS permission in your manifest, you can get synced contacts given the account type. For WhatsApp it's "com.whatsapp" . So: Cursor c = getContentResolver().query( RawContacts.CONTENT_URI, new String[] { RawContacts.CONTACT_ID, RawContacts.DISPLAY_NAME_PRIMARY }, RawContacts.ACCOUNT_TYPE + "= ?", new String[] { "com.whatsapp" }, null); ArrayList<String> myWhatsappContacts = new ArrayList<String>(); int contactNameColumn = c

“This item cannot be shared. Please select a different item.” WhatsApp iOS share extension failure message

*爱你&永不变心* 提交于 2019-11-28 04:30:47
This bug is fixed by WhatsApp team on 23rd May, 2016 (build no. 2.16.4). Unable to share NSString object using UIActivityViewController to WhatsApp. I tried to share using below code. But once contact is selected from the list, it shows an alert displaying " This item cannot be shared. Please select a different item. " CODE NSString *shareText = @"Temp text to share"; NSArray *itemsToShare = @[shareText]; UIActivityViewController *activityVC = [[UIActivityViewController alloc] initWithActivityItems:itemsToShare applicationActivities:nil]; I am facing this problem after updating WhatsApp to

start whatsapp with android.content.Intent.ACTION_SENDTO

限于喜欢 提交于 2019-11-28 04:25:01
问题 I'm triying to start whatsapp with an android intent: String uri = "smsto:+123456"; Intent messageIntent = new Intent(Intent.ACTION_SENDTO, Uri.parse(uri)); messageIntent.putExtra("sms_body", "My Message"); startActivity(messageIntent); It works great if the user picks the normal messaging application. But not if the user selects whatsapp from the chooser. The "compose text field" from whatsapp remains empty. What am I doing wrong here? Do I need another putExtra() ? 回答1: Here is the answer

How to make my Android app appear in the app chooser when emailing a WhatsApp chat?

爱⌒轻易说出口 提交于 2019-11-28 04:04:56
问题 I am interested in making my app appear in the apps list shown when I use the "email conversation" feature in WhatsApp. When logging my phone while using the "email conversation" WhatsApp feature I can see a SEND_MULTIPLE intent being received by Gmail: I/ActivityManager( 859): START u0 {act=android.intent.action.SEND_MULTIPLE typ=text/* flg=0xb080001 pkg=com.google.android.gm cmp=com.google.android.gm/.ComposeActivityGmail (has clip) (has extras)} from uid 10114 on display 0 So I suppose I