Theres this lucid dreaming app on android that measures the noise in the room and motion your bed moves. And with that it shows a graph of when your in rem sleep.
I dont know how legit it is but ive been using it just to get times for my WBTB alarms.

https://market.android.com/details?i...=search_result