Inspiration
My inspiration for Mr button hit me when I was about to take a nap at this event. A trickle of paranoia set in and that's when it struck me.
What it does
The app takes gyroscopic data and if it's moved after it's initially been armed (assuming the movement exceed the threshold), it sets off an alarm. The app does function while the phone is locked.
How I built it
I built it with Android Studios. A few different YouTube tutorials on how to interact with the gyroscope and media player libraries, and plenty of frustration during debugging.
Challenges I ran into
Some of the challenges I ran into was when My old team decided to disband and go our own ways since our original project was too difficult. This left me with less than half the original amount of time left to come up with an idea, and build it. Another challenge I ran into was outdated documentation that ended in me having to redo significant sections of my code. Another challenge i ran into was finding out that a part of the program I made will only work under un-ideal conditions, causing me to redesign a small portion of the behavior of my app.
Accomplishments that I'm proud of
I'm proud that I was able to make something that I set my mind too. I was able to picture something in my mind, and then make it into a reality within a timely manner.
What I learned
I learned that sometimes libraries and code don't behave like you intend them to. I also learned that it's easy to bite off more than one can chew when they aren't aware of their own restrictions.
What's next for Mr Button
Mr Button will be going home with me. Mr Button may be worked on and turned into something a bit more complex than a motion detector.
Built With
- android-studio
- android.content.context;
- android.graphics.color;
- android.hardware.sensor;
- android.hardware.sensorevent;
- android.hardware.sensoreventlistener;
- android.hardware.sensormanager;
- android.media.mediaplayer;
- android.os.bundle;
- android.view.view;
- android.widget.button;
Log in or sign up for Devpost to join the conversation.