whatsapp

How to share an image file to WhatsApp and Viber on Android 7.1.1?

不羁的心 提交于 2019-12-04 13:20:12
Background Similar to issues I've recently had with sharing/opening APK files ( here , here and here ) , I now have an issue of sending an image file (in assets, res/raw or even from a URL) to specific apps: WhatsApp and Viber. I need to be able to share an image file to all apps, especially popular ones such as WhatsApp and Viber. The problem Both WhatsApp and Viber have issues when I try to share the image files on Andorid 7.1.1 . On other apps, and on previous versions of Android, it worked fine. They either show a black screen (no image) or close themselves, on all of the test I've tried.

Send Image and Text With Whatsapp

荒凉一梦 提交于 2019-12-04 10:15:13
I need to send an image from my app with a text, I know how to send just an image or just a text, but I don't know how to combine both of them. Just an Image: let image = UIImage(named: "Image") // replace that with your UIImage let filename = "myimage.wai" let documentsPath = NSSearchPathForDirectoriesInDomains(.DocumentDirectory, .UserDomainMask, false)[0] as! NSString let destinationPath = documentsPath.stringByAppendingString("/" + filename).stringByExpandingTildeInPath UIImagePNGRepresentation(image).writeToFile(destinationPath, atomically: false) let fileUrl = NSURL(fileURLWithPath:

Open Whatsapp on a particular number in swift

ぃ、小莉子 提交于 2019-12-04 09:13:05
问题 I am trying to open a particular contact chat in whatsapp but not getting any solution. Please help i am totally stuck. I have tried this: let whatsAppURL: NSURL = NSURL(string: "whatsapp://send?abid=\(primary)&;text=lOL;")! if UIApplication.sharedApplication().canOpenURL(whatsAppURL){ UIApplication.sharedApplication().openURL(whatsAppURL) } 回答1: As per this whatsapp forum link, there is no way you can send message to specific user, this is not available within whatsapp URL scheme. You just

android-Animate the hiding/showing of toolbar on swiping between tabs like in whatsapp camera

 ̄綄美尐妖づ 提交于 2019-12-04 06:48:55
问题 i am successfull in showing and hiding of appbar when swiping between tabs in tablayout. but now i want to animate this hiding and appearing of tab smoothly like we do in switching for the camera tab in whatsapp. 回答1: The way to go about it is to translate the AppbarLayout using its translationY attribute in onPageScrolled() callback of the ViewPager 's OnPageChangeListener interface using the AppbarLayout 's bottom value. mViewPager.addOnPageChangeListener(new OnPageChangeListener(){

软件测试技术之可用性测试之WhatsApp Web

不羁岁月 提交于 2019-12-04 06:46:40
Tag:可行性 测试 、测试流程、结果分析、案例分析   WhatsApp是一款面向 智能手机 的网络通讯服务,它可以通过网络传送短信、图片、音频和视频。WhatsApp在全球范围内被广泛使用,是最受欢迎的即时聊天软件。   虽然,在电脑上使用WhatsApp桌面版给联系人发消息也很方便。但是,通过用户测试,也呈现出了在使用某些功能时的几个痛点。   本文介绍了Guerrilla可用性测试的细节和结果,以及一些建议。    目的   了解用户使用WhatsApp Web时的痛点。    测试参数   l 测什么:WhatsApp上最常用的两个任务;   l 测试谁:WhatsApp的3个老用户和2个新用户;   l 怎么测:通过观察法和测试法。    测试流程   可用性测试阶段    1.识别用户任务   创建用户使用WhatsApp Web的任务清单。    2.任务优先级   根据用户使用频率确定任务的优先顺序。   任务分为1-3分。   最常用的任务获3分,偶尔使用获2分,极少使用获1分。   其中,两项最常用的3分任务是:   l 发送消息给好友;   l 分享照片给好友。    3.执行测试   将所选任务和说明一起提供给用户,并遵循这两种方式来收集用户反馈。   l 观察用户的操作行为;   l 关注他们在执行某些任务时所描述的经历。  

how to achieve whats app (iOS version) notification handling after killing whatsapp by swipe up

我的未来我决定 提交于 2019-12-04 04:52:38
Till now after searching what i know is, in iOS , notifications cannot be handled, once the app is killed , and after that app is launched by tapping app icon. i want to achieve what whatsapp does, i.e. 1) i kill whatsapp from multitasking swipe up. 2) i receive whatsapp 1 new message push notification. 3) then without launching whatsapp(through app icon or through notification) i disconnect mobile data/ wifi or any internet connection. 4) after disconnecting all connections, i launch whatsapp BY LAUNCHING IT FROM APP ICON(and not from notification). 5) then i find that those notification

Loading images from URL partially, just like what is implemented in WhatsApp

半腔热情 提交于 2019-12-04 04:16:11
WhatsApp developers recently improved the image loading in which immediately loading some portion of the image (getting its dimension and some pixels of the images) and then after loading the entire image, replace the placeholder with the full image: My question is, how did they implement it? Do they read the dimension of the image by reading its header (meta-data)? How about the image content? Or do they have two versions of the image at the server-side, a smaller one with low-quality which is loaded first and a bigger one which is the full image? Note that if it's the second approach then

React Native - can we share an image and text into whatsapp?

∥☆過路亽.° 提交于 2019-12-04 03:26:28
I've spent an hours to find a way to send/share an image (and text if possible) into whatsapp app using react native, I've read this question (in android) and this question (using linking) on android, it is possible to send image and text to whatsapp, but on react native i don't see any way to archieve it, anyone have an idea? For react-native versions greater than 0.56.0 the social share functionality is already implemented in the library, so extra libraries like react-native-share are no longer needed and they could be unmantained. In fact, I was using react-native-share library some months

How whatsapp get updated contacts from addressbook faster in iOS?

回眸只為那壹抹淺笑 提交于 2019-12-04 02:08:29
My findings I am designing a logic to sync contact with my Backend. I gone through some apps that doing same thing in IOS. I will take the example of WhatsApp, I found that When I update any contact in Native Addressbook, it reflect that change into Whatsapp withing a fraction. My Concern I just want to know that how it is syncing in a very faster way. Even a new contact gets synced with its Remote server and get displayed on contact, and with the ability to initiate Whatsapp chat if that number is registered one. Summary of Queries So, in nutshell my queries are, How Whatsapp is syncing the

How to open WhatsApp from Swift app?

ぐ巨炮叔叔 提交于 2019-12-03 21:01:59
I am using webview for my Swift app and I have "Share on WhatsApp" button on my website which works fine on a browser. But on iPhone app, when I click on the button, nothing happens. How to open WhatsApp from my app? I am using Xcode 8 and iOS 10. UIApplication.shared.openURL(URL(string:"https://api.whatsapp.com/send?phone=phoneNumber")!) phoneNumber is not with (+). phoneNumber looks like 99455555555 I know this is an old question, but the following worked for me (I'm using xcode 8.3.3 and swift 3). I added whatsapp query scheme inside Info.plist. <key>LSApplicationQueriesSchemes</key> <array