2 posts
I just added some sounds to my Android app.
I decided to add a section (including hyperlinks) to my about page of the app:
This is how the page looks like:
http://s1.postimage.org/3baf34qs/about.jpg
If this is OK, the following description might be helpful for others:
TextView tv_music_credits = (TextView) aboutView.findViewById(R.id.about_music_credits);
tv_music_credits.setMovementMethod(LinkMovementMethod.getInstance());
String musicCredits = "Music/sound ("
+ "<a href=\"http://www.freesound.org\">freesound.org</a>"
+"
:"
+ "<br>" + " o " + "<a href=\"http://www.freesound.org/usersViewSingle.php?id=209299\">Zin</a>"
+ "<br>" + " o " + "<a href=\"http://www.freesound.org/usersViewSingle.php?id=945474\">Grunz</a>"
+ "<br>" + " o " + "<a href=\"http://www.freesound.org/usersViewSingle.php?id=1218676\">Joedeshon</a>"
+ "<br>" + " o " + "<a href=\"http://www.freesound.org/usersViewSingle.php?id=1752241\">Kantouth</a>";
tv_music_credits.setText(Html.fromHtml(musicCredits));
thanks for using my clip
2 posts