whatsapp

Sharing images to Whatsapp using UIDocumentIntractionController in ios

谁说我不能喝 提交于 2019-12-06 19:47:26
Is it possible to share Image and Text from an iOS app to WhatsApp using UIDocumentIntractionController or API in iPhone application development? Please look at this once. http://www.whatsapp.com/faq/en/iphone/23559013 Hope, this will help you. All the best. Hi i have found that If your application creates photos, videos or audio notes and you’d like your users to share these media using WhatsApp, you can use the Document Interaction API to send your media to your WhatsApp contacts and groups. You can refer this link : http://www.whatsapp.com/faq/en/iphone/23559013 In Swift 3 use this code

Whatsapp Image sharing not working

吃可爱长大的小学妹 提交于 2019-12-06 15:30:35
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) writeToFile:savePath atomically:YES]; _documentInteractionController = [UIDocumentInteractionController

Send Whatsapp Message to UnSaved Number

青春壹個敷衍的年華 提交于 2019-12-06 14:15:39
问题 I am trying to send a whatsapp message to a specific number without having to save that contact. Here is my code try { Uri uri = Uri.parse("smsto: " + smsNumber); //Timber.e("smsNumber %s", uri.toString()); Intent i = new Intent(Intent.ACTION_SENDTO, uri); i.setPackage("com.whatsapp"); startActivity(Intent.createChooser(i, "")); } catch (Exception e) { Toast.makeText(this, "WhatsApp not Installed", Toast.LENGTH_SHORT).show(); } and the message I get from that This is what I get 回答1: Try this

Whatsapp contacts synchronization [closed]

强颜欢笑 提交于 2019-12-06 13:24:41
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 . How whatsapp in Android checks which contacts in your address book have installed the application? I have to create an application that requires this type of contact synchronization. I have a simple approach for this but i'm not pretty sure. Possibly, when a user registers his/her account on Whatsapp, the app would insert their number in online database and after when you register an account on whatsapp, it gets

send whatsapp messages using WhatsappAPI in c#

亡梦爱人 提交于 2019-12-06 13:02:16
I have installed WhatsappAPI from nuGet package manager and tried to implement code but could not register my mobile number through WART(WhatsApp Registration Tool) .Its giving error LIKE {Status:"Failed",Reason:"Bad_Request"} all the time. I have searched a lot.But there is no any solution to this issue. There is only tool i.e. WART for registration. Is there any new updates OR WART is still working ..?? My code is given below. public JsonResult SendMessage(string sendTo,string message) { var response = false; string from = "91XXXXXXXXXX"; //(Enter Your Mobile Number) String password; var res

android Accessibility-service suddenly stopped triggering events

会有一股神秘感。 提交于 2019-12-06 11:27:53
I have an AccessibilityService which was working fine but for some reason during development it stopped working. I can't seem to find that reason. Please have a look at my code and tell why it isn't working. public class MyServicee extends AccessibilityService { public static final String TAG = "volumeMaster"; @TargetApi(Build.VERSION_CODES.KITKAT) @RequiresApi(api = Build.VERSION_CODES.JELLY_BEAN) @Override public void onAccessibilityEvent(AccessibilityEvent event) { List<CharSequence> eventText; Log.v(TAG, "***** onAccessibilityEvent"); final int eventType = event.getEventType(); switch

(This Item Cannot Be Shared, Please Select a Different Item) Sharing A Simple Text To Whats App Is Not Working Since Updated To iOS 9.3 in Swift

允我心安 提交于 2019-12-06 11:23:40
问题 This code used to work fine till the last update of XCode 7.3 and IOS 9.3, I tried searching over the internet but got nothing, So if anyone can help me out here would be a great help. Thank You The code I am using to share the text in Swift is this:- let objectsToShare = [TextToShare] let activityVC = UIActivityViewController(activityItems: objectsToShare, applicationActivities: nil) //New Excluded Activities Code activityVC.excludedActivityTypes = [UIActivityTypeAirDrop,

How can I get my whatsapp number?

≯℡__Kan透↙ 提交于 2019-12-06 11:07:11
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 this permission: <uses-permission android:name="android.permission.GET_ACCOUNTS" /> but phoneNumber

Send VCard file/string via Whatsapp or mail programmatically

巧了我就是萌 提交于 2019-12-06 10:09:54
I am trying to send a VCard from a String or file via Intents choosing the app, for example Whatsapp. Do you have any ideas? Thanks Edit: I have tried this code. Also with set type text/plain. The vcard variable is a String with a VCard. Intent intent = new Intent(android.content.Intent.ACTION_SEND); intent.setFlags(Intent.FLAG_ACTIVITY_NEW_TASK); intent.setType("text/x-vcard"); intent.putExtra(android.content.Intent.EXTRA_STREAM, vcard); intent.setPackage(packageName); If I send this to Whatsapp I got to send the vcard like a string but not recognize like a card Try using EXTRA_TEXT instead

How to send image,audio or video through the WhatsApp API - PHP

孤人 提交于 2019-12-06 08:59:28
问题 I have Implemented an WhatsAPI - PHP on my site, but am only able to send messages but not the Media files like Images, Audio or Video. I got the WhatsApp API for PHP This is my screen. I am not getting how to send an image or any other media files through this API. I have tried all url for image sending like. http://www.sample.com/images/sample.jpg C:\Users\Public\Pictures\Sample Pictures\sample.jpg But it still not able to send any media file. Please let me know how to send an image from