FAQ Database Discussion Community


how to text with image share on intent in android?

android,facebook,android-intent,whatsapp
I want to share image with text via intent. not a image whole or text differtent. see this is my code: Uri imageUri = Uri.parse("android.resource://" + getPackageName() + "/drawable/app_icon"); String shareTxt = "Hey, now this is image "+ imageUri + " text."; Intent shareIntent = new Intent(); shareIntent.setAction(Intent.ACTION_SEND); shareIntent.putExtra(Intent.EXTRA_TEXT, shareTxt);...

How to create a whatsapp like recording button with slide to cancel

android,whatsapp
As in whatsapp I need a recoding button and a slide to cancel and fade animation , I have searched for similar code but didn't got one. I am new to android programming any help or link could be helpful.

Unable to identify WhatsApp contacts

android,android-contacts,whatsapp,android-cursor,rawcontactid
I'm trying to write an Android program which can identify if a given contact number is associated with WhatsApp or not. I managed to find out if a particular contact name has WhatsApp account or not. How can I find out which contact corresponding to that contact name has WhatsApp?...

Ruby: Convert
to newline URI encode

ruby-on-rails,ruby,line-breaks,whatsapp,uriencoding
I want to share sometext on whatsapp so I'm converting html to text otherwise it displays all the tags. Currently I'm using strip_tags to remove tags but that also removes breaks from the text. How do I convert html to text and convert breaks to newline characters and url encode...

Share to Whatsapp using ImageButton android

android,android-intent,android-studio,whatsapp
I wanna share text to whatsapp using ImageButton, but I don't know how to set the ImageButton to share the text. Here is my code ImageButton wasap = (ImageButton) findViewById(R.id.wasapKongsi); Intent whatsappIntent = new Intent(Intent.ACTION_SEND); whatsappIntent.setType("text/plain"); whatsappIntent.setPackage("com.whatsapp"); whatsappIntent.putExtra(Intent.EXTRA_TEXT, R.id.hadisView + "/n" + R.id.textView); try { startActivity(whatsappIntent); } catch (android.content.ActivityNotFoundException ex)...

Run Cefsharp as Chrome

c#,google-chrome,whatsapp,cefsharp
Is it possible to use CefSharp as 'Chrome'? I know, it is a kind of Chrome, but webpages doesn't see CefSharp as Chrome. The story: I want to embed WhatsApp Web with CefSharp, but Whatsapp says: Only Chrome supported. Are there any possibilities to 'fake' Chrome?

How can I share a picture from my application to Whatsapp?

android,share,whatsapp
I`ve searched a few solutions here but only for iOS. How can I share a picture from my Android application to Whatsapp?

UIActivityViewController not passing new line characters to some activities

ios,objective-c,iphone,uiactivityviewcontroller,whatsapp
I am using the following code to set up UIActivityViewController: NSArray *activityItems = [NSArray arrayWithObjects:[self textMessageToShare], nil]; UIActivityViewController *activityViewController = [[UIActivityViewController alloc] initWithActivityItems:activityItems applicationActivities:nil]; [activityViewController setCompletionHandler:^(NSString *activityType, BOOL completed) { if (completed) { [self sendFeedbackWithIndexPath:indexPath AndLikeType:100 AndCell:nil]; } }]; [self.navigationController...

Share text AND media with WhatApp Share Extension

ios,whatsapp,ios8-share-extension
I'm using a UIActivityViewController to enable the user to share photos and videos created with my app. I attached two UIActivityItemProviders to it: one for the media and one for a default text to use ("Created with..."). This works well for all share extensions I tested—except for WhatsApp. WhatsApp only...

building a whatsapp client for android

android,client,third-party,whatsapp,yowsup
Is it possible to build a whatsapp client for android? I came across the Yowsup project for building a whatsapp client for pc and I wonder if there is something like that for android too. Thanks ahead Edit: Is there any way to build the client with the Yowsup library...

PhoneGap and WhatsApp

android,html5,cordova,whatsapp
I hope you'll can help me to find an issue to my problem. I'm developping an application who should use WhatsApp. This application is using HTML5, CSS3 and Javascript. I am using this link to send an message with WhatsApp : <a href="whatsapp://send?text=Test 1"> This link work perfectly when you...

Android Messaging app - Client - Server Communication

android,client,message,server,whatsapp
I want to write a private messaging app similar to Whats App. Smartphones with Android OS shall be the clients and communicating with one server. Now my question is how could that work out? I guess the best way would be via a Restful webservice as port forwarding is absolutely...

Windows Phone Whatsap Share Text

c#,windows-phone-8,whatsapp
Is possible to share text to WhatsApp app in Windows Phone? I found only way to run app. But how to share data like on Android or iOS? await Windows.System.Launcher.LaunchUriAsync(new Uri("whatsapp:")); ...

UIDocumentInreactionController won't allow NSURL for .URL (Swift)

ios,swift,screenshot,whatsapp
I'm basically taking a screenshot of a view, saving it to my camera roll , getting the NSURL path and exporting to Whatsapp //Create the UIImage UIGraphicsBeginImageContext(view.frame.size) view.layer.renderInContext(UIGraphicsGetCurrentContext()) let image = UIGraphicsGetImageFromCurrentImageContext() UIGraphicsEndImageContext() //Save it to camera roll round 2 var library = ALAssetsLibrary() library.writeImageToSavedPhotosAlbum(image.CGImage, metadata: nil, completionBlock: { (path:NSURL!,...

Share image ant text WhatsApp api iOS

ios,xcode,api,share,whatsapp
I'm trying to share an image and a text with the api of WhatsApp but I'm unable to do it. To share an image I have this code: if([[UIApplication sharedApplication] canOpenURL: [NSURL URLWithString:@"whatsapp://app"]]) { NSURL *documentURL = [[NSFileManager defaultManager] URLForDirectory:NSDocumentDirectory inDomain:NSUserDomainMask appropriateForURL:nil create:NO error:nil]; NSURL *tempFile = [documentURL URLByAppendingPathComponent:@"whatsAppTmp.wai"]; NSData...

Whatsapp notifications on iPhone 6 plus

ios,iphone,whatsapp
Hello Community Members, I am using iOS device (iPhone) with latest iOS version. When I get message from one of my contacts and screen is locked, WhatsApp shows that I got message from name (name it uses is set by user, and not as saved in my contacts) Example: If...

Match status bar colour with most predominant colour of art Material Design Android

android,design,whatsapp,material
I was wondering if there was some kind of library/api or way to match the status bar colour with some imagery just like in the Whatsapp material design update. Example here and here. Thanks in advance!...

How do I execute a shell file?

android,linux,ubuntu,execute,whatsapp
I'm trying to download Whatsapp on my laptop. I am using Ubuntu desktop software. I've installed Android Emulator from http://dl.google.com/android/android-sdk_r16-linux.tgz I unzipped the file, opened the folder, Android-sdk-linux, opened Tools and now I'm supposed to execute the file Android, and I'm not sure how to do that. Can anyone give...

How can I integrate WhatsApp API in iOS app?, as I have to send a text to a particular WhatsApp user by pressing a button?

ios,url,whatsapp,interaction
I am new to this kind of program in iOS. Basically, I have a text in a text field which i need to send to a particular WhatsApp contact directly by pressing a button.I saw WhatsApp FAQ which tells to use custom URL or iOS Document Interaction API, I don't...

Get source code of web.whatsapp.com

php,whatsapp
Is it possible to get the source code of web.whatsapp.com? $ch = curl_init("https://web.whatsapp.com/"); $fp = fopen("example_homepage.txt", "w"); curl_setopt($ch, CURLOPT_FILE, $fp); curl_setopt($ch, CURLOPT_HEADER, 0); curl_exec($ch); curl_close($ch); fclose($fp); It doesn't work. I also tried file_get_contents()....

Check whatsapp online status

android,ios,whatsapp
I've been asked to create a mobile application that checks the online status of selected whatsapp contacts, and notifies the user when the selected contact is online. I think this is possible, because it already exists another app that uses the same information and it works at least for someone:...