viber

How to add app connections to an existing contact like WhatsApp and Viber does?

爷,独闯天下 提交于 2020-01-13 06:25:12
问题 I want my android app's connection to be added in an existing contact. I am sending my all contacts of Phonebook to server(with Name,Phone Number, and Contact ID) to check which contacts are registered for my app. I will send back to client app the contact IDs which are matched. Now I want to add connection to those contacts in my Phonebook based on those returned IDs. How can I add app connection by editing the contact based on one of returned contact ID? Thanks 回答1: Try with this code, it

Viber messenger API [closed]

a 夏天 提交于 2020-01-10 11:48:47
问题 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 4 years ago . I'm looking for a library to do requests to Viber messenger server. I need to: send messages to users; check sent messages delivery status; check that a user has Viber account. I know that Viber has no open API for developers, but maybe someone has experience with reverse engeneering of Viber protocol or some

Create a link that will open Viber and WhatsApp and will send a message to me

别说谁变了你拦得住时间么 提交于 2020-01-09 19:35:15
问题 Everyone around used to use IM. On my site I need to put a link that will open given instant messaging application (both on PC and on mobile) and open a send message to my number - and I can't find a way! I suppose to use some URL scheme to do that, but all I can find is (__number is my mobile phone number): <a href="intent://send/__number__#Intent;scheme=smsto;package=com.whatsapp;action=android.intent.action.SENDTO;end">WhatsApp</a> and <a href="viber://add?number=__number__">Viber</a> (I

Create a link that will open Viber and WhatsApp and will send a message to me

蹲街弑〆低调 提交于 2020-01-09 19:33:10
问题 Everyone around used to use IM. On my site I need to put a link that will open given instant messaging application (both on PC and on mobile) and open a send message to my number - and I can't find a way! I suppose to use some URL scheme to do that, but all I can find is (__number is my mobile phone number): <a href="intent://send/__number__#Intent;scheme=smsto;package=com.whatsapp;action=android.intent.action.SENDTO;end">WhatsApp</a> and <a href="viber://add?number=__number__">Viber</a> (I

how to share drawable image via viber and google hangout?

為{幸葍}努か 提交于 2019-12-31 07:07:31
问题 my code works fine when i share a image via whatsapp....but for viber , google hangout im getting "can't find photo" error. this is my code : int ImageResourse=imageAdapter.mThumbIds[position]; Uri path = Uri.parse("android.resource://dragonflymobile.stickers.lifestickers/" + ImageResourse); Intent shareIntent = new Intent(android.content.Intent.ACTION_SEND, path); ((Activity)getActivity()).setResult(Activity.RESULT_OK, shareIntent); //set the file/intent as result ((Activity)getActivity())

how to share drawable image via viber and google hangout?

做~自己de王妃 提交于 2019-12-31 07:06:51
问题 my code works fine when i share a image via whatsapp....but for viber , google hangout im getting "can't find photo" error. this is my code : int ImageResourse=imageAdapter.mThumbIds[position]; Uri path = Uri.parse("android.resource://dragonflymobile.stickers.lifestickers/" + ImageResourse); Intent shareIntent = new Intent(android.content.Intent.ACTION_SEND, path); ((Activity)getActivity()).setResult(Activity.RESULT_OK, shareIntent); //set the file/intent as result ((Activity)getActivity())

Sending Image over Viber

前提是你 提交于 2019-12-25 02:38:05
问题 I am trying to send a image through viber or watzapp. Whatsapp works fine but viber always keep telling "The selected file appearers to be unsupported or corrupted. Please select a different File". Any idea what's going wrong ? Here is my code Uri uri = Uri.parse("android.resource://com.example.test/drawable/image_1"); sharingIntent.setType("image/jpg"); sharingIntent.putExtra(Intent.EXTRA_STREAM, uri); startActivity(Intent.createChooser(sharingIntent, "Share image using")); 回答1: int

How to open Viber public chat from Android app

旧巷老猫 提交于 2019-12-22 08:12:39
问题 I know how to open a conversation with a number in Viber: How to start Viber call from an Android app [new version]? But how do I open a public chat? Any ideas? Thanks in advance 回答1: this Kotlin code works fine for me val viberPackageName = "com.viber.voip" val phone= "5757575757" try { activity?.startActivity(Intent(Intent.ACTION_VIEW, Uri.parse("viber://add?number=$phone"))) } catch (ex: ActivityNotFoundException) { try { activity?.startActivity(Intent(Intent.ACTION_VIEW, Uri.parse("market

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

北战南征 提交于 2019-12-17 10:32:32
问题 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

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

孤人 提交于 2019-12-17 10:32:19
问题 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