If you're next to the window and all you're after is your position on a map along with altitude and ground speed, a decent GPS app with offline support should do the trick. I'm usually able to get a signal when I'm in a window seat, but only there. It'll take a minute, but works perfectly. I use
Galileo Maps on iOS, but they have an Android version too.
If the flight does have wifi, the in-flight portal will usually provide that information for free.
And if you can't get a GPS signal and can't access the internet, there's really no way you can get live data. (I suppose you
could listen to the ADS-B data from the plane, but that'll take more than downloading an app.)