wmn-safety
wmn-safety copied to clipboard
whenever the user is in an emergency situation. It can be triggered …
…just by shaking the android device in which the app is installed
Thanks for contributing @Soulpancake000 but I think the Listener should be integerated in a service so that it can receive alert even if the app is closed.
Hey @kartikohri1712, I don't know the approach But I would be glad if You Help me in that.
@Soulpancake000 Here is a link with sample implementation to get you started, https://androidammy.blogspot.in/2015/05/accelerometer-shake-events-example-with.html . You may also want to look at the documentation https://developer.android.com/reference/android/app/Service & https://developer.android.com/reference/android/hardware/SensorManager .
@Soulpancake000 Please mention your slack id also.
Slack id - vivek.verma ThankYou! For the resources,Definitely I will come with the solution now.
Slack id - vivek.verma
On Sat, May 12, 2018 at 11:24 AM, Kartik Ohri [email protected] wrote:
@Soulpancake000 https://github.com/Soulpancake000 Please mention your slack id also.
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/UdacityAndroidBasicsScholarship/wmn-safety/pull/80#issuecomment-388532407, or mute the thread https://github.com/notifications/unsubscribe-auth/AjNN46JEoz-kXTz-6Hy61DinHow0fLDZks5txnkogaJpZM4T718y .
It was closed automatically due to a branch deletion. We apologize for any inconvenience.
Reopened #80