Now that there are satellites running Android in space, we thought it would be a good educational and awareness tool to have the satellite tweet directly from space.
TweetSat is a program that runs periodically on the Android device during a 90 minute orbit. Every five minutes during the orbit, a background service will notice something interesting about its surroundings whether it's an image of the earth, an image of the stars, the temperature outside, it's orientation or it's attitude. Then the satellite would tweet that information to anyone following its Twitter feed. If an Internet connection is not available, then everything is logged locally to a SQLite database so that it can be played back later or tweeted when the satellite returns to Earth.
STILL A WORK IN PROGRESS We were unable to find any detailed information about how to program/interface with the PhoneSat sensors directly, so for now our code is only accessing external data from the native Android OS like pictures from the front camera, back camera, and orientation. Hopefully, we can learn more information over time about how the PhoneSat sensors work, the data format sent by them, and then we can incorporate that into the current working version.