ylliX - Online Advertising Network

A better way to handle links in TextView

There are two ways of “linkifying” URLs in a TextView. First, as an XML attribute: <TextView … android:autoLink=”phone|web” /> and second, programmatically: TextView textView = (TextView) findViewById(R.id.text1); Linkify.addLinks(textView, Linkify.PHONE_NUMBERS | LINKIFY.WEB_URLS); In both the cases, the framework internally registers a LinkMovementMethod on the TextView that handles dispatching a ACTION_VIEW Intent when any link is clicked. This is why phone-numbers open in a dialer when clicked, […]

My other blog

I try to keep this blog on topic, sticking to technical posts of interest to iOS and macOS developers. So when I wanted to write about something else I set up a different blog unrelated to my business. As some of you are aware, when I’m not working on apps I’m also a radio DJ, […]

Does an anti-aging skin cleanser really exist? Episode 148

Author: Randy Schueller Published: August 30, 2016 Our plane just landed and I’m posting this from my phone while waiting for Perry who’s stuck in customs. Apparently they think his juggling balls are contraband. We’ll be home soon! In the meanwhile listen to this blast from the past about skin cleansers and active ingredients. Click […]