Comment créer un "Automate" SMS
Bonjour à tous,
je suis parfaitement profane en développement mobile, donc je viens chercher quelques conseils, sur la faisabilité, et sur la complexité de la chose.
Le contexte : je suis un acharné de geocaching (sorte de chasse au trésor moderne basée sur l'utilisation de coordonnées GPS mixée bien souvent avec des randos dans des coins magnifiques, on parle de plusieurs millions de caches dans le monde, dont 234 000 et quelques en France, fin de la pub :p) . Certains de ces trésors (les mystery) ne sont "trouvables" qu'après avoir résolu des énigmes diverses et variées. Cela peut aller du rébus, en passant pas un chiffrement à base du chiffre de César, ou tout autre type d'énigmes.
Mon idée : une énigme basée sur un "automate" SMS qui à des instructions précises répondrait un message prédéfini.
En pseudo-code :
si(le message est "Reponse 1")
alors(je renvoie au numéro émetteur le sms "Indice 2")
sinon(je renvoie au numéro émetteur le sms "réponse incorrecte")
le tout un peu imbriqué et avec des variantes mais l'idée est là.
J'imagine que c'est faisable puisqu'on voit un peu partout les pubs "pour connaitre ton prénom, envoie PRENOM au 7XXXX".
Là où je sèche pour le moment, c'est que n'ayant que très peu de bases sur la programmation mobile, je ne sais pas trop sur quoi me concentrer.
Donc si vous avez des exemples ou des tutos qui présentent ce genre de choses en tête, je suis preneur.
Merci à vous!
Précison; je ne compte pas distribuer cette application, seulement la faire tourner en "tache de fond" sur un vieux téléphone. Donc pas de problématique de store ou autre.