Lanceur de dé : Android Shake Listener (Secouer) [Accéléromètre]

TUTORIEL DANS LA DESCRIPTION !

Voici ma version 1.1 du lanceur de de du TP d’Openclassrooms.

Ajouts :
*choix du nombre de faces du de
*secouer pour lancer le de (shake)
*messages d’erreur

== TUTO == Comment utiliser Android Shake Listener ? Comment detecter une secousse de son smartphone ? Comment capter les donnees de l’accelerometre du telephone ? Comment developper la fonction shake secouer pour les applications Android ?

Video que j’ai utilisee (Shake Listener) : https://www.youtube.com/watch?v=D-qfVHvNQ8M

Code de la video du SHAKE LISTENER fait par ATTRACTION : https://code.empreintesduweb.com/11678.html

Code du de + du shake listener fait par Thuy Duyen : https://code.empreintesduweb.com/11679.html

Logiciel : Android Studio
Langage : Java, XML
Niveau : Debutant

Merci a SalomonBrys pour son cours.
https://openclassrooms.com/courses/developpez-une-application-pour-android/tp-creez-une-application-avec-une-interface-evolutive

Pour voir la version 1.0 de cette application Android : https://www.youtube.com/watch?v=b65CxvmrDTY

TAG :
How to detect phone Shakes Android Programming ?
Android Sensor Accelerometor Tutoriel
Implementing a shake event
How to implement a shake event ?
How to use a shake effect with Android Studio ?
How to add a shake detector ?
Sensor listener

Ma 1ère application mobile : Lanceur de dé (TP Openclassrooms)

Voici ma premiere application mobile faite avec le TP du site Openclassrooms ! C’est un lanceur de de a 6 faces ou 20 faces.

Version 1.1 : https://www.youtube.com/watch?v=p0icM4MxbFY

Logiciel : Android Studio
Langage : Java, XML
Niveau : Debutant

TUTO – TP : Creez une application avec une interface evolutive

https://openclassrooms.com/courses/developpez-une-application-pour-android/tp-creez-une-application-avec-une-interface-evolutive

Merci a SalomonBrys pour son cours.

Channel: Thuy Duyen
Published: 2017-05-27 10:18:50
Duration: 19S
Views: 37
Likes: 4
Favorites: 0

Android DEV – Show/Hide Action Bar when scroll screen

Auto show/hide top Action Bar when ListView, WebView, ScrollView is scrolling!
For details, see this post:
http://www.devexchanges.info/2015/09/android-showhide-actionbar-when.html
Channel: Hồng Thái
Published: 2015-09-30 04:06:33
Duration: 46S
Views: 11014
Likes: 13
Favorites: 0

Decode Android application package ( Only tutorial )

Decode Android application package . Education only ( By : D@rkshadow Myanmar)
Channel: Dark Shadow
Published: 2016-04-02 10:23:45
Duration: 2M59S
Views: 248
Likes: 2
Favorites: 0

MyShake earthquake app

University of California, Berkeley, scientists released a free Android app that taps a smartphone’s ability to record ground shaking from an earthquake, with the goal of creating a worldwide seismic detection network that could eventually warn users of impending jolts from nearby quakes.

For the full MyShake story, visit: http://news.berkeley.edu/2016/02/12/new-app-turns-smartphones-into-worldwide-seismic-network/

Update on MyShake App:
http://news.berkeley.edu/2016/12/14/quake-detection-app-captured-nearly-400-temblors-worldwide/

The app, called MyShake, is available to the public from the Google Play Store and runs in the background with little power, so that a phone’s onboard accelerometers can record local shaking any time of the day or night. For now, the app only collects information from the accelerometers, analyzes it and, if it fits the vibrational profile of a quake, relays it and the phone’s GPS coordinates to the Berkeley Seismological Laboratory for analysis.

Once enough people are using it and the bugs are worked out, however, UC Berkeley seismologists plan to use the data to warn people miles from ground zero that shaking is rumbling their way. An iPhone app is also planned.

For more information and to direct questions about MyShake, please visit: http://myshake.berkeley.edu/

Video by Roxanne Makasdjian and Stephen McNally
http://www.news.berkeley.edu/
http://www.facebook.com/UCBerkeley
http://twitter.com/UCBerkeley
http://instagram.com/ucberkeleyofficial
https://plus.google.com/+berkeley

Channel: UC Berkeley
Published: 2016-02-03 21:46:11
Duration: 2M7S
Views: 77672
Likes: 163
Favorites: 0

JASPER : Allumer une LED par reconnaissance vocale (Raspberry Pi)

# -*- coding: utf-8-*-
import re
import RPi.GPIO as GPIO
import time

#Mise au point
GPIO.setmode(GPIO.BCM)
GPIO.setwarnings(False)

#Definition entrees et sorties
GPIO.setup(4,GPIO.OUT) #Pin gpio 4 en sortie

def allumer(pin):
GPIO.output(pin,GPIO.LOW) #allumer
time.sleep(1)
return

WORDS = [“OPEN”]

def handle(text, mic, profile):
mic.say(“Your door is opened.”)

allumer(4)

def isValid(text):
return bool(re.search(r’openb’, text, re.IGNORECASE))

Channel: Thuy Duyen
Published: 2015-06-04 15:50:50
Duration: 43S
Views: 887
Likes: 10
Favorites: 0

Leave a Reply

Your email address will not be published. Required fields are marked *