i have page in which i have image of watsapp icon. What i want is when i tap on that image it go to watsapp to specific number which will be our company number, so client can text us or send any image or file through watsapp
The easiest way would be through the custom URL scheme as described here: https://faq.whatsapp.com/en/iphone/23559013
Which basically tells you to open a URI like this: whatsapp://send?text=Hello%2C%20World!. You can simply open it by calling to the Device.OpenUri method of Xamarin.Forms. This should work cross-platform for iOS and Android.
If you want to share a photo immediately this isn't possible as far as I know. It is possible to someone that is in your recent chats, by the sharing API, but to my knowledge you can't send it to a random number. At least not for iOS, it might be different for Android.
Related
I am trying to write a telegram bot.
I want that my bot sends a message like in the following template with a lot of images and text. But I can't figure out which method is responsible for this. What is the correct approach to implement it?
https://drive.google.com/open?id=1G56EdNRn8X5m7uBJ5LrYfVG-JYPyAzNg
Just write your text inside telegram the way you want it, then copy it to your ide. Almost all editors support emojis. But in case your doesn't, you can always use this website:
https://unicode.org/emoji/charts-12.0/full-emoji-list.html
The method to be used is send message.
I received the request from client service requesting to investigate about the issue from a screenshot sent by a customer. However I met difficulties in identifying what device / platform / browser the customer has used to reproduce it; and hardly can get it from the requester:
From the screenshot, I can pretty sure that this was captured after a registration failure (due to javascript error/disabled). So the cursor moved to the First Name field - the reason why the icon showed. And the icons were not of the web site, so I guess they were from the native-ness of the device/browser. Not sure if it is filled by browser's add-on.
Have you ever met such icons? Could you help me identify the device / platform / browser they might use ? Any light is appreciated :)
Thanks
I recognize this as the LastPass extension, a password manager. In particular, the icon on the First Name field can be clicked to automatically fill in the whole form, and the icons on the password fields will automatically generate a random password using the extension.
It looks like the LastPass extension is available for various browsers, and the form icons appear to be the same for all of them, so that doesn't really offer much insight for what device and browser they're using. I am positive that it's not something built into the browser.
I am currently working on a receiver app through Google Cast SDK Developer Console, and when trying to style the default receiver app created by google, through my own CSS file, in order to preview these changes it asks for a URL to my CSS, I can't figure out what exactly it's asking for in that part so I can't preview my own styles.
I know the question is old, but answering for people looking for a solution to this question.
Question posted has as lot wrong in terms of understanding the google cast receivers.
So basically the user is trying to create a style for the styled media receiver.
Google cast provides 2 ready made receivers : Default and styled. You cannot do anything to the default receiver to customize it. Its just plain default receiver.
In case you want the receiver to show your logo, splash screen as well as watermark while starting the cast then you use what is known as the styled media receiver.
Now going back to the question. It is asking for a URL is because google style media receiver when invokes, needs a css input so that it can show the logo, splash screen etc. basically the UI of the receiver which is playing the cast stream.
Why the URL? Because the URL is a direct downloadable link of the css which the style media receiver downloads and projects.
You can use your own google drive account to host the css file and provide the URL.
Refer to this link for details:
http://www.oodlestechnologies.com/blogs/Building-Styled-Media-Receiver-Application-for-Chromecast
As stated in title. MDL cards/templates etc come with fancy looking share buttons. How exactly do we make them work how we see they do on phones apps? I want a user to be able to press the share button and have the list of apps to share via to show up.
Is this possible?
This is not possible with current web technology. The only API that was in progress to allow it was Web Intents but this has since been abandoned.
The share button could open up a dialog or something that has a Reddit share, Digg button, Facebook share, Google Plus shares, etc within them. That way they are only initialized when called. But you need to specifically program what you want to share out to.
I am trying to add a link or button to the webpage so that the user can call a number directly if the skype is installed. it seems the link is like
skyp:....?call....
but cannot find any sample or documents. thanks for your help.
This is the format for the link:
Click (make a call to echo123)
It will work provided the visitor have Skype installed.
You can find all the options and an alternative javascript to redirect the user to download skype is he/she does not have Skype installed.
http://dev.skype.com/skype-uri
Skype has a description of their URIs on their developer site:
http://dev.skype.com/skype-uri
How well these work is entirely up to your browser and OS.
Click
(make a call to any PHONE NUMBER)
Please note that the Country Code is required. Without it call option will not show. If your database has numbers without country code, you can add the country code as +1 in your script. Skype will then give you the option to change country code before calling so you can change to required country if need be.
Skype is a client program. You may have two options: Write an url handler that calls Skype and use that url. Somewhat like my-skype://.
There's a plugin (at least for IE) too. You would need to make sure, your numbers are recognizable (in the correct format).
This has change, now you have to create a javascript function to create a button in order to make a call from the browser.
You can have a function like this and send the number you want to call.
You will need the js url from skype for this to work. Please visit skype sdk documentation for this url, this can change.
function CreateSkypeButton(id, number) {
Skype.ui({
name: "call",
element: "call_",
participants: ["+1" + number],
imageSize: 24,
imageColor: "blue"
});
}
If Skype and its web toolbar is installed it automatically detects phone numbers in web pages and adds a menu to near the phone number. So I dont think you should do anything do enable it in your web page.