Can I bind the backbutton mobile to a backpage of an iframe?

I’m developing an app with an iframe and i have a doubt.

When i press the back button obviously the app goes to the background even if you are navigating in the iframe (like an app does when you press that navbutton and you don’t come from a pop or a childpage or something)…

And here’s my question: There are any way to bind the hardware backbutton to the iframe backpage button to “simulate” a webpage?