How could I figure out if the user has the device in portrait or landscape mode with accelerometer data?
I tried like this:
var accListener = acceleromet