As has been said before, it is not possible as TrackID cannot be modified and Java cannot access the Radio and recording functions
JP-6 and above can record via Java...
But i think you need JP-8 to access the radio, but i guess if it was a streaming application working with 3G/Edge to stream radio stations then it could be done in that way :)