cannot understand the following code in android -
ss.setspan(new urlspan("tel:1234556"), 13, 17, spanned.span_exclusive_exclusive); tv.settext(ss); tv.setmovementmethod(linkmovementmethod.getinstance());
what linkmovementmethod do? urlspan class , use of it? string tel:123456 mean? tel keyword?
need answer asap thank in advance.
linkmovementmethod controls how text view scrolls through content. manages focus transfer between links. urlspan creates dynamic link (like <a> tag in html); in case telephone number. see docs on android intents list.
Comments
Post a Comment