I don't know the answer to that question, but there is an app called "What Key" ($1.99, USD) that says it is a "key detection app that determines the musical key of a song in real time." It's relatively new (since February 2013).
Maybe it'll help?
Marilyn