HOW TO INSTALL AND PROGRAM ANDROID THINGS ON YOUR RASPBERRY PI | Tutorial | English

HOW TO INSTALL AND PROGRAM ANDROID THINGS ON YOUR RASPBERRY PI | Tutorial | English
    Watch the video

    click to begin

    Youtube

    Android Things is a new Android distribution, developed by Google, which is intended to
    be used on IoT devices and not on smartphones or tablets.
    How you can simply install Android Things on your Raspberry Pi and how you can create
    a few simple projects, I am going to explain in today's video.
    At first, navigate to the Android Things homepage.
    Click on "Tools" and then on "Download" to install a little tool for installing Android
    Things.
    Now, start the program and type in a 1 to install Android.
    Then, choose the Raspberry Pi and the default image.
    While this image is being downloaded, simply plug an empty Micro SD card.
    Later on, this card will be partitioned and provided with Android Things.
    After the procedure has finished, put the SD back into your Raspberry Pi and boot it
    up.
    For setting up a wireless connection, you can configure the Wi-Fi via the installer
    or directly on your Android Things device.
    And that's it.
    If you want to create a little program, you will need the software Android Studio that
    you can download on the Android Developer website.
    Arrived here, click on "Configure" and choose the "SDK Manager".
    If you haven't already done, install Android API 27, Android 8.0 and the latest versions
    of the SDK Tools and the Build Tools.
    For installing them, simply press "Apply".
    At next, click on "Import an Android code example" and type in "Things".
    In this case, I am going to test a program that you can control an LED through a button
    with.
    Now, I'll be asked to update the build tools again and to install the latest Android Studio
    version.
    And then I can finally see the code.
    In this case I'll just leave everything as it is, and click on "Generate Signed
    APK".
    If you never signed an APK before, you'll be asked to deposit a key.
    You can just create one with the tool "Keystore Explorer" easily.
    Finally, start the Pi and note down it's IP address, Furthermore, you should make sure
    that ADB is installed system widely on your PC.
    Conveniently, there're many useful installer, which can install ADB in a few seconds.
    Now, open the command prompt and type in "adb connect" and the IP address.
    After the connection has been established, type in "adb install" and the path to
    your APK file.
    And that's it.
    After another restart of the Pi, you'll be able to use the program.
    So I can simply control my LED through this button.
    Of course this is a very easy project and the effort is too big for something like this,
    but you can also realize some more complex projects like the integration of the Google
    Assistant API or whatever.
    Alright, that's all for this video, don't forget to hit the subscribe button below,
    have fun testing this at you own and see you in the next video!
    ANDROID THINGS AUF DEM RASPBERRY PI INSTALLIEREN & PROGRAMMIEREN | Tutorial | Deutsch Set Up an Ethical Hacking Kali Linux Kit on the Raspberry Pi 3 B+ 42 HOLY GRAIL HACKS THAT WILL SAVE YOU A FORTUNE Raspberry Pi as Webcam Server From Clumsy To Graceful! These DIY Life Hacks Will Save You From Any Embarrassing Situations 10 Things You Should Know about Raspberry Pi [ENGLISH] DIY | BUILDING MY OWN AMAZON ECHO (RASPBERRY PI) This is what happens when a Scammer calls a Software Engineer [DEUTSCH] DIY | AMAZON ECHO SELBER BAUEN (RASPBERRY PI) [ENGLISH] Arduino Experimenting Shield | Unboxing & Test