Hello-
I'm extremely new to java, but I'm trying my best to make an Android app.

In the app, there's a section for videos and a section for podcasts; however, I only have one RSS feed which contains both videos (mp4s) and podcasts (mp3s).

I'm trying to code it so that in the video section it only pulls the mp4s from the RSS feed, and in the podcast section in only pulls mp3s.

I think the code should be something like:

String filename = temp[0];
if (substring(filename, filename.length()-4) == "mp4") {continue;}

Could anybody help me out?

Thanks!