How do I create url preview in android? -
this question has answer here:
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.
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
Post a Comment