Hi. I am thinking of modifying a good java download app that a friend of mine have made. It could only handle direct urls (www.xxx.com/abc.mp3) but when the url becomes something like (www.xxx.com/dl2.php&file=abc.mp3....) some sort of 'indirect' urls, it could work. What should I do to handle these 'indirect' urls ?
posted 7 years ago
That depends on how the app handles URLs with parameters. The URLConnection class can handle parameters, so it probably uses something else.
Note that "www.xxx.com/dl2.php&file=abc.mp3" looks like a broken URL - there should be a question mark instead of an ampersand.