How to make Linkify link to an SMS client? - android

Is it possible to Linkify a phone number so that clinking the link will offer the option of SMS as well as the various diallers on the device?
Currently when the user clicks the phone number on the screen, they're presented with the following:
This should also include the phone's messenger. Is this possible, and if so, how?

It should be possible if you customize Linkify as described in this Android devloper blog entry and use the proper protocol "sms:" like so:
sms:<phone_number>[,<phone-number>]*[?body=<message_body>]
At least according to this website. I didn't test it myself.

Related

Android custom scheme on intent-filter link

I am writing new feature to my small app, the ability to share items.
For that I want to implement custom scheme like myApp://share/PARENT/CHILD
.
I searched for it here and on the web, finding small pieces of info, but not usable stuff.
Once I am adding the intent-filter to my Manifest, the app can be opened by browser links like:
CLICK .
But, once I am sharing the link with sendIntent.setAction(Intent.ACTION_SEND); and sharing with WhatsApp or Gmail for example, the link is not clickable.
After searching here i read about Linkify but I did understand that it probably will not help me here (because the regex is already fine).
So my questions is:
Is it possible to use non-http schemes as links on Android apps?
If (1) is false, how can I achieve this with http scheme? Can I set my app as default for scheme + host specifications?
Can I tell the app store to open in case my App is missing? [I assume this is achievable only with http schemes, right?]
Thank you.

Emoticons of whatsapp and telegram

I search smilies / emoticons for my Android App.
I found that there are some open source sets available like used by pidgin.
But I was wondering about the emoticons used in Whatsapp.
They are basically very nice. Thus I thought that they are licensed by whatsapp.
Now I have installed the messanger "telegram" and I was suprised. They are using the same emoticons than in whatsapp. How can this work out?
Are the emoticons publicly available?
Both Whatsapp and Telegram (and a lot of other messenger apps, browsers and operating systems) use the Emoji sets.
The different types of Emoji are a result of different fonts for emoticons; they have a different appearance depending on the "font" used but the base is always a unicode set of characters.
Both Whatsapp and Telegram use the Apple implementation apparently, as Ivo's link specifies. Also see this github for more licensing info.
I don't think they are actual of Whatsapp put part of an actual Font.
I don't know if anyone can see it but for example on this wikipage I can see all emoticons like they are on whatsapp, and they are actual symbols in unicode and not images.
EDIT: I can only see them on my iMac (Apple)
This website says they are actual licensed by Apple if I understand correctly (note 2)
WhatsApp and Telegram both use a font that has been made by Apple. Apple doesn't license this font, so what they are doing is actually illegal, although Apple apparently doesn't care.

Start Androidapp with a link in a email

Hallo Developers,
is it possible to start a activity with a link from a Email like in Iphone SDK and start this aktivity with params.
Iphone example:
Appname:///?param1=value1&param2=value2
It appears to be possible - check these other answers on stackoverflow:
How to implement my very own URI scheme on Android
Android Respond To URL in Intent
Not to my knowledge in stock Android. However they've made a link scheme that will open up the Market application to a specific page, so this is possible. I would think however that in order to set something like that up the app you are wanting to start from link would have to be listening for clicks on that specific type of link and tell the system that it can handle them. I have no idea how you'd go about implementing that though, and it would only be able to start specific apps that were designed that way.
Try content://com.user.package.ActivityClass/. I haven't tried it so I am not sure if it will work though.
See here for more information: http://developer.android.com/reference/android/content/Intent.html

Hyperlink in Android Market description

How to publish a hyperlink in the Android Market description? I've tried to insert something like this: in the description, but it shows the exact HTML code instead of a clickable link.
I've seen it done on another Market page so it is possible, but how?
Answer: For the web site it was enough to write the HTTP address. On the device Market it seems to be impossible.
I have also not been able to insert an anchor-tag style descriptive hyperlink in the "Description" field.
That said, it looks like https://market.android.com/details?id=net.timessquareball.app achieves this by simply writing out the entire URL as text (which does work). We've used this method in our app description as well.
If you're interested, I've experimented with a bit of other markup in the "Description" field and blogged about it here.
A URL of the following form will be converted to a clickable link and will redirect to the address specified in YOUR_URL.
https://www.google.com/url?q=YOUR_URL
eg: https://www.google.com/url?q=https://play.google.com/store/apps/details?id=domain.company.appname
I think you want to provide your android market app link:
market://details?id=com.google.android.googlequicksearchbox
http://market.android.com/details?id=com.google.android.googlequicksearchbox
For more info, check this: How to link to Android Market app
At the end of the day, writing just the address http://m.url.co.uk/somepage.aspx, without any tags, makes the link clickable on the Android Market Web Page.
I also had problems linking from one app description to another app in Android Market.
Linking to a site outside Market works OK - just type the http:// link without any tags.
So my solution is to link to page on my own website, which redirects to the other app in Market - like I do here : keyboard for Maxikeys
Turns out you will have to post the link without any tags around for example - https://example.com
This should work!

Android: How to use a Android Pad as a customer information Terminal

I want to us an Android-powered Pad as an information terminal for my customers.
The only thing it has to to is to show a HTML5 Webpage.
Therefore,
1. it should not be posiible to show another website (only the local one), should be no problem
it should be only possible to leave the app with a password (how?)
and all buttons should be disabled (that´s hard).
I found out how to set the target for the home button, but maybe there is an existing solution.
Thanks
Christian
I assume you understand the easiest way to do this is to develop an Android native application to show your webpage. This is done by using a WebView, but the support of HTML5 depends on the platform, so if you use any video or audio, you may need some hooks.
Trhough a WebView, you can filter which urls can be opened or not.
And well, I don't think there are many problems on exiting only when a password is entered.
Regarding to number 2, AFAIK, you can let your Activity ("window" of the application) to handle most of keys, but obviously you can't map the power key.
But I have to confess, when you develop an application, you always find some issues... so probably is not that easy as I wrote in these lines... Good luck!

Categories

Resources