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
Post a Comment