whatsapp

How to open specific contact chat screen in various popular chat/social-networks apps?

本秂侑毒 提交于 2019-11-27 11:44:16
Background I've found that there is a way to open a specific contact conversation screen on WhatsApp, here . Not only that, but I've found that an app called " Drupe " does the same, and maybe even more : https://lh3.googleusercontent.com/EQrs1jplMlP8SkOTdpqT4NzmgzGa5Wz2qageG1Pkjc6rKg0HBb-rwlOVW07_G7bAWgo=h900 The problem I can't find any official API of opening it this way, so I'm not sure how safe it is. I've found SDKs, but not intents instructions. The questions I'd like to know more about what's available for various social-networks and chatting apps : WhatsApp Facebook Messenger Viber

How can I send message to specific contact through WhatsApp from my android app?

我与影子孤独终老i 提交于 2019-11-27 11:23:37
问题 I am developing an android app and I need to send a message to specific contact from WhatsApp. I tried this code: Uri mUri = Uri.parse("smsto:+999999999"); Intent mIntent = new Intent(Intent.ACTION_SENDTO, mUri); mIntent.setPackage("com.whatsapp"); mIntent.putExtra("sms_body", "The text goes here"); mIntent.putExtra("chat",true); startActivity(mIntent); The problem is that the parameter "sms_body" is not received on WhatsApp, though the contact is selected. 回答1: Try using Intent.EXTRA_TEXT

How to get whatsapp Contacts from Android?

北城以北 提交于 2019-11-27 11:03:44
I have try to get whatsapp contact from phone and i get total Count of whatsapp contact but from RawContacts how to get whatsapp Number and name that i don't know. i have tried to find solution but can't get exact solution for that. Please help me. I put my code below. ContentResolver cr = context.getContentResolver(); Cursor c = cr.query( ContactsContract.RawContacts.CONTENT_URI, new String[] { ContactsContract.RawContacts.CONTACT_ID, ContactsContract.RawContacts.DISPLAY_NAME_PRIMARY }, ContactsContract.RawContacts.ACCOUNT_TYPE + "= ?", new String[] { "com.whatsapp" }, null); ArrayList<String

Add Whatsapp function to website, like sms, tel

浪尽此生 提交于 2019-11-27 10:36:48
I have a website that a lot of people view on mobile. I have link for : Call and SMS and I want to add one for Whatsapp, so a user can click the whatsapp link I create and start a conversation with me. If this is possible can someone point me in the right direction on how? Rahul Mamtani below link will open the whatsapp. Here "0123456789" is the contact of the person you want to communicate with. href="intent://send/0123456789#Intent;scheme=smsto;package=com.whatsapp;action=android.intent.action.SENDTO;end"> Check this link out Launching Your iPhone App Via Custom URL Scheme and more on the

How does the web version of Whatsapp work on iOS devices considering the OS shuts apps in 30 seconds?

拜拜、爱过 提交于 2019-11-27 10:15:37
问题 Now for those who don't know, can go to https://web.whatsapp.com/ and sync your Whatsapp chats by exchanging a QR code and chat via the web extension of the app. I am not interested in how they have an initial handshake( might be communicating with whatsapp servers) nor how they sync data so fast for chatting (might be using Open sockets directly from device to client). I am curious as to how the app works in Background on iOS . AFAIK running a background Intent Service is pretty simple. But

WhatsApp API (java/python) [closed]

允我心安 提交于 2019-11-27 10:11:20
I am looking for WhatsApp API, preferably a Python or Java library. I've tried Yowsup , but could not get my number registered; I am based in India and I am not sure if that has got anything to do with it. I did try WhatsAPI (Python library) but it is not working either. Any suggestions about this? Any users of Yowsup here? After trying everything, Yowsup library worked for me. The bug that I was facing was recently fixed. Anyone trying to do something with Whatsapp should try it. student From my blog courtesy There is a secret pilot program which WhatsApp is working on with selected

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

回眸只為那壹抹淺笑 提交于 2019-11-27 09:47:01
问题 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

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

浪尽此生 提交于 2019-11-27 05:30:59
问题 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 回答1: 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

Android Whatsapp/Chat Examples [closed]

这一生的挚爱 提交于 2019-11-27 04:55:53
问题 Closed. This question is off-topic. It is not currently accepting answers. Want to improve this question? Update the question so it's on-topic for Stack Overflow. Closed 6 years ago . Does anybody have an example or a tutorial for a Android application like WhatsApp ? I want to understand how WhatsApp works and how it is programmed. I want to see an example that uses a message-chat-system with "online"-status and "read the message" -information. I used Google but I found nothing. Maybe

How to Send a Text message and Image through Whatsapp from Own Application with help of Intent in Android?

生来就可爱ヽ(ⅴ<●) 提交于 2019-11-27 03:47:04
问题 I am not able to send both text message and image through whatsapp . Either , I am able to start that particular contact chat thread without any message or I am only able to send message but not opening that particular contact chat thread. I have followed following link : http://www.whatsapp.com/faq/en/android/28000012 Sending message through WhatsApp Send Whatsapp message to specific contact But not getting Success :( Can anybody help me with this. How to Send a Text message and Image