Raspberry Pi Android Projects

Book description

Create exciting projects by connecting the Raspberry Pi to your Android phone

About This Book

  • Manage most of the fundamental functions of Raspberry Pi from your Android phone
  • Use the projects created in this book to develop even more exciting projects in the future
  • A project-based learning experience to help you discover amazing ways to combine the power of Android and Raspberry Pi

Who This Book Is For

The target audience for this book includes Raspberry Pi enthusiasts, hobbyists, and anyone who wants to create engaging projects with Android OS. Some knowledge of Android programming would be helpful.

What You Will Learn

  • Install the tools required on your Pi and Android to manage and administer the Pi from Android
  • Share your files between different Android devices using the Pi as a server
  • Set up the Pi to live-stream the camera in surveillance mode and customize Android to receive this content
  • Turn your Pi into a media center and control it from your Android
  • See your Android display on a large screen using Raspberry Pi
  • Connect your car's dashboard to your Android device using Raspberry Pi

In Detail

Raspberry Pi is the credit card-sized, general purpose computer which has revolutionized portable technology. Android is an operating system that widely used in mobile phones today both on the high and low ends of the mobile phone market. However, there is little information about how to connect the two in spite of how popular both of them are.

Raspberry Pi Android Projects starts with simple projects that help you access the command prompt and the desktop environment of Raspberry Pi from the comfort of your Android phone or tablet. Then, you will be introduced to more complex projects that combine the strengths of the Pi and Android in amazing ways. These projects will teach you how to manage services on the Pi from Android, share files between Android devices using the Pi as a server, administer and view the Pi's camera from Android in surveillance mode, and connect your car to the Pi and make data more accessible using Android.

The introductory projects covered will be useful each time you need to access or administer your Pi for other purposes, and the more advanced projects will continue to be valuable even after you become an expert on Pi.

By the end of this book, you will be able to create engaging and useful projects that will help you combine the powers of both Android and Raspberry Pi.

Style and approach

A quick and easy-to-follow guide that will show how you can add up the power of Pi and Android by combining them.

Table of contents

  1. Raspberry Pi Android Projects
    1. Table of Contents
    2. Raspberry Pi Android Projects
    3. Credits
    4. About the Author
    5. About the Reviewers
    6. www.PacktPub.com
      1. Support files, eBooks, discount offers, and more
        1. Why subscribe?
        2. Free access for Packt account holders
    7. Preface
      1. What this book covers
      2. What you need for this book
      3. Who this book is for
      4. Conventions
      5. Reader feedback
      6. Customer support
        1. Downloading the example code
        2. Downloading the color images of this book
        3. Errata
        4. Piracy
        5. Questions
    8. 1. Make a Remote Desktop Connection to Your Pi from Anywhere
      1. Prerequisites
      2. Installing Linux on your Pi
        1. Installing using NOOBS
        2. Installing using a Raspbian image
        3. Extracting the OS image to an SD card
      3. Making necessary changes in settings
      4. Installing necessary components in the Pi and Android
      5. Connecting the Pi and Android
        1. What if I want to use Wi-Fi on the Pi?
        2. Connecting from anywhere
      6. Problems with dynamic LAN IP addresses and external IP addresses
      7. Summary
    9. 2. Server Management with Pi
      1. Remote console to the Pi from Android
      2. Exchanging files between the Pi and Android
      3. A simple database and web server implementation
        1. Connecting the sensor
        2. Installing the database
        3. Installing the web server
      4. Simple management of servers
      5. Summary
    10. 3. Live Streaming of a Surveillance Camera from the Pi
      1. Hardware and software configurations
      2. Streaming video to an Android device
        1. Manual VLC configurations
      3. The surveillance mode
        1. Accessing surveillance images on the Web
      4. Summary
    11. 4. Turn Your Pi into a Media Center
      1. Installing and setting up a media center on Pi
        1. Starting Kodi on boot
      2. Connecting to the media center via remote control from Android
      3. Getting more from your media center
        1. Watching videos using Kodi on an Android device
        2. Streaming the Android display to Kodi
      4. Installing the media center using NOOBS
      5. Summary
    12. 5. Missed Calls with Pi
      1. Installing the necessary components
      2. Adding a sensor service to Bluetooth Low Energy
      3. Connecting from an Android app
      4. Sending the reboot command from your Android phone to the Pi
      5. Sending more commands from your Android phone to the Pi
        1. Lighting the LEDs
        2. Playing sounds on your Pi
        3. Combining the commands and being informed on incoming calls
      6. Summary
    13. 6. The Vehicle Pi
      1. Finding out the car location
      2. Collecting the car data
        1. Getting the car data to the Pi
      3. Using your Android device as an access point
        1. An alternative to rooting
        2. Rooting Samsung Galaxy S2
        3. Enabling tethering on being connected to a power source
          1. Automatic restart on power connect
          2. Auto tethering
      4. Sending data to the cloud
      5. Putting it all together
        1. Sending measurements
        2. Retrieving measurements
      6. Summary
    14. Index

Product information

  • Title: Raspberry Pi Android Projects
  • Author(s): Gökhan Kurt
  • Release date: September 2015
  • Publisher(s): Packt Publishing
  • ISBN: 9781785887024