There is absolutely a way to do it. Simply reference the map server URL in your code as an ArcGISDynamicMapServiceLayer. We are able to do it in our application.
As a side note, we have created a small secondary application that allows us to organize all the relevant runtime content and online content into a JSON for our main mapping module to read; perhaps that would help as well?
Thanks Jeremy. It didn't occur to me that the rendering of the traffic information is done through a tiled map service. I see from the description that this map service requires authentication token. I will give it a try.
Thanks for sharing with us how you build your application. We are doing something similar, but it's based on an xml configuration file. We let the user decide what map layers to be included in their maps.
That's exactly what we let our customers do, too. Great minds think alike, huh?
And I misspoke - it is an ArcGISDynamicMapServiceLayer, not a tiled layer. It's pretty much real-time data. I have edited the original response to reflect this. My apologies for any confusion.