wmn-safety icon indicating copy to clipboard operation
wmn-safety copied to clipboard

whenever the user is in an emergency situation. It can be triggered …

Open Soulpancake000 opened this issue 7 years ago • 7 comments

…just by shaking the android device in which the app is installed

Soulpancake000 avatar May 11 '18 18:05 Soulpancake000

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.

amCap1712 avatar May 11 '18 18:05 amCap1712

Hey @kartikohri1712, I don't know the approach But I would be glad if You Help me in that.

Soulpancake000 avatar May 12 '18 04:05 Soulpancake000

@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 .

amCap1712 avatar May 12 '18 05:05 amCap1712

@Soulpancake000 Please mention your slack id also.

amCap1712 avatar May 12 '18 05:05 amCap1712

Slack id - vivek.verma ThankYou! For the resources,Definitely I will come with the solution now.

Soulpancake000 avatar May 12 '18 06:05 Soulpancake000

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 .

Soulpancake000 avatar May 12 '18 06:05 Soulpancake000

It was closed automatically due to a branch deletion. We apologize for any inconvenience.

Reopened #80

piedcipher avatar May 14 '18 14:05 piedcipher