How do I create url preview in android? -


i want show preview of url in android when share (like shown in facebook or whatsapp). preview must contain image webpage , small description of link. thought of picking information metadata , favicon, favicon small in size , metadata not present (for example, in quora u don't information question in metadata). sorry bad english , lack of clearity.

checkout android link preview library same seeking for.

android link preview

you can import library using gradle :

simply add repository build.gradle file:

repositories {     jcenter()     maven { url 'https://github.com/leonardocardoso/mvn-repo/raw/master/maven-deploy' } } 

and can use artifacts this:

dependencies {     compile 'org.jsoup:jsoup:1.8.3' // required     compile 'com.leocardz:link-preview:1.2.1@aar' } 

Comments

Popular posts from this blog

android - Why am I getting the message 'Youractivity.java is not an activity subclass or alias' -

python - How do I create a list index that loops through integers in another list -

c# - “System.Security.Cryptography.CryptographicException: Keyset does not exist” when reading private key from remote machine -