相关疑难解决方法(0)

如何从Android上的String获取URL

我想从中提取URL hi there this is a URL String http://mytest.com.

我尝试使用EditText.getURLs,但它对我不起作用.

EditText.setText("hi there this is a URL String http://stackoverflow.com");
EditText.getURLs.toString();
Run Code Online (Sandbox Code Playgroud)

如何从EditText获取URL?

java string url android android-edittext

0
推荐指数
1
解决办法
5304
查看次数

标签 统计

android ×1

android-edittext ×1

java ×1

string ×1

url ×1