Hi, I am having some problems getting uploadTrack on Android to work. I don't really know much about coding. This is my code:
EchoNestAPI en = new EchoNestAPI(API_KEY); String path = songsList.get(song_Index).get("songPath"); File file = new File(path); if (!file.exists()) { System.err.println("Can't find " + path); } else { try { track = en.uploadTrack(file); track.waitForAnalysis(30000);
The program quits for the line track = en.uploadTrack(file); The only messages the log shows are 04-03 15:15:39.996: D/AndroidRuntime(1139): Shutting down VM 04-03 15:15:40.016: W/dalvikvm(1139): threadid=1: thread exiting with uncaught exception (group=0xb1ab5ba8) 04-03 15:15:40.156: E/AndroidRuntime(1139): FATAL EXCEPTION: main 04-03 15:15:40.156: E/AndroidRuntime(1139): Process: com.revItUp.musicPlayer, PID: 1139
Any tips?