Commit 73392276 authored by charley.punshon's avatar charley.punshon

Merge remote-tracking branch 'origin/master'

parents fb486379 6024117a
......@@ -149,6 +149,18 @@ public class databaseInterface {
return attributes;
}
/*
* gets the title od a song from the database by the database song id
*/
public String getSongTitle(String id){
String url = "https://cs2s.yorkdc.net/~jade.woodward/mobile-app-development/getsongtitlebyid.php";
HashMap<String, String> params = new HashMap<>();
params.put("id", id);
return getFromDatabase(url, params);
}
/*
* one string input - should still be in 123 format though
* gets a list of song ids from the database
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment