![]() Name the project Rock Paper Scissors, and set the language to Kotlin.A game controller with three buttons that allow users to choose ROCK, PAPER, or SCISSORS to play.This codelab shows you how to build a single Activity app that allows a user to find opponents and play Rock-Paper-Scissors. Best practices for privacy and data protection.How to communicate with connected devices.How to discover nearby devices of interest.How to advertise your interest to communicate with nearby devices.How to add the Google Play services Nearby Connections library to your app.Two or more Android devices, for running and testing the code.How to create and run apps on Android Studio.Basic knowledge of Kotlin and Android development.Users can stream videos, send and receive voice messages, send text messages, and more. There is no limit to the type or amount of data users can share – even without an internet connection. Users must be within about 100 meters of each other. This codelab teaches you how to use the Nearby Connections API, part of the Google Play services, to enable users to communicate with each other based on physical proximity. To keep things simple, we are going to build a multiplayer Rock-Paper-Scissors game that works without the internet. ![]() And in this codelab, you will learn how to do just that. Wouldn't it be nice if you could use your mobile device to collaborate on group projects or share videos, stream content, play a multiplayer game – even without access to the internet? You actually can.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |