Guys I am trying to add large text with a website link
like (https://stackoverflow.com/questions/ask) in my textview
Located in database
I tried adding it directly like this image :
picture of my value in databse
But it appeared in the application on the form Textview
not clickable like this image :
output app
protected void onPostExecute(String result) {
// Parse les données JSON
String id;
String solution;
try {
JSONArray jArray = new JSONArray(result);
for (int i = 0; i < jArray.length(); i++) {
JSONObject json_data = jArray.getJSONObject(i);
id= json_data.getString("alltext");
solution = json_data.getString("title");
prob.setText(solution);
sol.setText(id);
// Résultats de la requête
}
} catch (JSONException e) {
Log.e("log_tag", "Error parsing data " + e.toString());
}
}