SBHelper for Android
To also get magnetic North, when you hold your Smartphone on a face up or down position, it tries to find the magnetic North direction and sounds an alarm when found. This alarm continues as long as your Smartphone is heading to North within plus or minus 30 degrees. If it cannot find any magnetic direction, you will get a different alarm regardless of the Smartphone's direction. Because the brightness comparison is turned off in this mode, do not move around when you hold your Smartphone face up or down. The magnetic North can get a large error when there is a magnetic device around you.
This app does not record anything. It uses the back camera as merely a brightness sensor. This app claims no responsibility for user's safety and suitability of alarms that it generates for your use. You, as a user, is fully responsible to determine whether or not this app works for your situation. The author of this app shall not be held liable for the decision you made. Because of the brightness assumption, this app does not work for a bright railroad or on a train station above the ground with lots of ambient light. Be sure to try this app with someone you trust first on your subway stations to learn its behavior and limitations. Because each camera has a different light sensitivity, you must test this app with your own Smartphone to determine its suitability. Tablets don't have vibration.