java - detect hashtag and handles in a text under Android -


i'm writing app twitter like. i'm display tweets detect url link. i'm using code below:

import android.text.html; tweet.settext(html.fromhtml(str_tweets)); 

using this, text displayed showing html tag , "allow" click on it.

i'm trying same detecting hashtag # , handles @

the goal display profile when click @ , associated post when click on #

i don't know best way make or smarter one.

any idea ? api twitter allowing ??

thanks


Comments

Popular posts from this blog

html - Difficulties with background-image property -

visual studio code - What does the isShellCommand property actually do and how should you use it? -

ios - Segue not passing data between ViewControllers -