100% found this document useful (1 vote)
6 views

Arduino Android Blueprints 1st Edition Schwartz download

The document provides information about the book 'Arduino Android Blueprints' by Marco Schwartz and Stefan Buttigieg, which focuses on integrating Arduino with Android to create interactive projects. It includes details on the authors' backgrounds, the book's content, and various related eBooks available for download. The book covers setting up the workspace, controlling Arduino via Bluetooth, and several project examples, emphasizing the practical applications of combining these technologies.

Uploaded by

corizaabdual
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
100% found this document useful (1 vote)
6 views

Arduino Android Blueprints 1st Edition Schwartz download

The document provides information about the book 'Arduino Android Blueprints' by Marco Schwartz and Stefan Buttigieg, which focuses on integrating Arduino with Android to create interactive projects. It includes details on the authors' backgrounds, the book's content, and various related eBooks available for download. The book covers setting up the workspace, controlling Arduino via Bluetooth, and several project examples, emphasizing the practical applications of combining these technologies.

Uploaded by

corizaabdual
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 61

Arduino Android Blueprints 1st Edition Schwartz

pdf download

https://ebookname.com/product/arduino-android-blueprints-1st-
edition-schwartz/

Get Instant Ebook Downloads – Browse at https://ebookname.com


Instant digital products (PDF, ePub, MOBI) available
Download now and explore formats that suit you...

Arduino for Secret Agents 1st Edition Schwartz

https://ebookname.com/product/arduino-for-secret-agents-1st-
edition-schwartz/

Programming Arduino with LabVIEW 1st Edition Marco


Schwartz

https://ebookname.com/product/programming-arduino-with-
labview-1st-edition-marco-schwartz/

Node js Blueprints Tsonev

https://ebookname.com/product/node-js-blueprints-tsonev/

Empires Without imperialism Anglo American decline and


the politics of deflection 1st Edition Jeanne Morefield

https://ebookname.com/product/empires-without-imperialism-anglo-
american-decline-and-the-politics-of-deflection-1st-edition-
jeanne-morefield/
The Ritual Lament in Greek Tradition 2nd Edition
Margaret Alexiou

https://ebookname.com/product/the-ritual-lament-in-greek-
tradition-2nd-edition-margaret-alexiou/

Transformation of women at work in Asia An unfinished


development agenda 1st Edition Sukti Dasgupta

https://ebookname.com/product/transformation-of-women-at-work-in-
asia-an-unfinished-development-agenda-1st-edition-sukti-dasgupta/

The Technology of Policing Crime Mapping Information


Technology and the Rationality of Crime Control New
Perspectives in Crime Deviance and Law Peter Manning

https://ebookname.com/product/the-technology-of-policing-crime-
mapping-information-technology-and-the-rationality-of-crime-
control-new-perspectives-in-crime-deviance-and-law-peter-manning/

Essentials of DAS II Assessment Essentials of


Psychological Assessment 1st Edition Ron Dumont

https://ebookname.com/product/essentials-of-das-ii-assessment-
essentials-of-psychological-assessment-1st-edition-ron-dumont/

Lung Cancer Vol 1 Molecular Pathology Methods and


Reviews Methods in Molecular Medicine 1st Edition
Barbara Driscoll

https://ebookname.com/product/lung-cancer-vol-1-molecular-
pathology-methods-and-reviews-methods-in-molecular-medicine-1st-
edition-barbara-driscoll/
Handbook of Nanophysics Volume I Principles and Methods
1st Edition Klaus D. Sattler

https://ebookname.com/product/handbook-of-nanophysics-volume-i-
principles-and-methods-1st-edition-klaus-d-sattler/
Arduino Android Blueprints

Get the best out of Arduino by interfacing it with


Android to create engaging interactive projects

Marco Schwartz
Stefan Buttigieg

BIRMINGHAM - MUMBAI
Arduino Android Blueprints

Copyright © 2014 Packt Publishing

All rights reserved. No part of this book may be reproduced, stored in a retrieval
system, or transmitted in any form or by any means, without the prior written
permission of the publisher, except in the case of brief quotations embedded in
critical articles or reviews.

Every effort has been made in the preparation of this book to ensure the accuracy
of the information presented. However, the information contained in this book is
sold without warranty, either express or implied. Neither the authors, nor Packt
Publishing, and its dealers and distributors will be held liable for any damages
caused or alleged to be caused directly or indirectly by this book.

Packt Publishing has endeavored to provide trademark information about all of the
companies and products mentioned in this book by the appropriate use of capitals.
However, Packt Publishing cannot guarantee the accuracy of this information.

First published: December 2014

Production reference: 1151214

Published by Packt Publishing Ltd.


Livery Place
35 Livery Street
Birmingham B3 2PB, UK.

ISBN 978-1-78439-038-9

www.packtpub.com
Credits

Authors Copy Editors


Marco Schwartz Janbal Dharmaraj
Stefan Buttigieg Vikrant Phadkay

Reviewers Project Coordinator


Simone Bianchi Rashi Khivansara
Kyrre Havik Eriksen
Adam Laskowitz Proofreaders
Martin Diver
Rufael Negash
Maria Gould

Commissioning Editor Samantha Lyon


Nadeem N. Bagban
Indexer
Acquisition Editor Hemangini Bari
Harsha Bharwani
Production Coordinator
Content Development Editor Nitesh Thakur
Anand Singh
Cover Work
Technical Editor Nitesh Thakur
Indrajit A. Das
About the Authors

Marco Schwartz is an electrical engineer, entrepreneur, and blogger. He has a


Master's degree in Electrical Engineering and Computer Science from Supélec in
France and a Master's degree in Micro Engineering from the EPFL in Switzerland.

He has more than 5 years of experience working in the domain of electrical


engineering. His interests gravitate around electronics, home automation, the
Arduino and Raspberry Pi platforms, open source hardware projects, and 3D printing.

He runs several websites around Arduino, including the Open Home Automation
website, which is dedicated to building home automation systems using open
source hardware.

He has written another book on home automation and Arduino, called Home
Automation with Arduino and another book on how to build the Internet of Things
projects with Arduino, called Internet of Things with the Arduino Yún, Packt Publishing.
Stefan Buttigieg is a medical doctor, mobile developer, and entrepreneur.
He graduated as a Doctor of Medicine and Surgery at the University of Malta,
and he is currently enrolled at the University of Sheffield where he is undertaking
a Master's degree in Health Informatics.

He has more than 5 years of experience working in various technical positions in


international and local student organizations, and has founded MD Geeks, an online
community that brings health professionals, developers, and entrepreneurs together
from around the world to share their passion for the intersection of healthcare and
information technology.

His main interests are in mobile development, specifically, Android and iOS,
open source healthcare projects, user interface design, mobile user experience,
and project management.

I would like to thank Angelika Biernacka-Buttigieg, my wife, for


her unconditional support and patience throughout the creation
of this book.
My parents, Joseph Buttigieg and Anne Buttigieg, for their support
for this book project.
Christopher Svanefalk for his amazing insight and patience with
code reviews and support.
Don Coleman, for his invaluable help in Chapter 8, Control an
Arduino Board via NFC. We recommend his expertise on near
field communication technologies.
About the Reviewers

Simone Bianchi lives in Italy, where after a degree in electronic engineering,


he started to work as a programmer developing web applications using technologies
such as Java, JSP, JQuery, and Oracle. When time permits, he likes to explore other
topics, contribute to the open source community developing free components for the
Talend Platform (for example, the tDBFInput and tDBFOutput components), develop
Android apps (SleepyTimer), or return to the subjects of his studies, delighting
himself building small IoT projects using microcontrollers like the ones of the
Arduino family.

I'd like to thank Pack Publishing for again giving me the opportunity
to review their book after Talend for Big Data, and I hope you can find
this book as inspiring as it has been for me reviewing it.

Kyrre Havik Eriksen is an independent and curious person, with a Master's


degree in Informatics from the University of Oslo, Norway. He works full time as
a Java developer, but in his spare time, he studies Android and game development
with Löve and Libgdx. He has also taught Processing and Arduino while he studied.
Adam Laskowitz received his Master's degree in Architecture and Master's degree
in Fine Arts from the University at Buffalo in 2012. Adam has designed and built a
number of interactive installations, notably Diep International Art Festival in 2011,
Dieppe, France; SIGGRAPH in 2012, Los Angeles, CA; and HERE Art Center in
2013, New York. Adam has worked as a designer, researcher, and prototyper at Intel
Labs and Intel New Devices Group. In October 2014, he joined Target Technology
Innovation Center as an experience design lead. He has been featured in a number of
articles and productions, including a BBC interview discussing citizen science and air
quality research.

Rufael Negash is an interaction designer and creative coder, based in Malmö,


Sweden.
www.PacktPub.com

Support files, eBooks, discount offers, and more


For support files and downloads related to your book, please visit www.PacktPub.com.

Did you know that Packt offers eBook versions of every book published, with PDF
and ePub files available? You can upgrade to the eBook version at www.PacktPub.
com and as a print book customer, you are entitled to a discount on the eBook copy.
Get in touch with us at service@packtpub.com for more details.

At www.PacktPub.com, you can also read a collection of free technical articles,


sign up for a range of free newsletters and receive exclusive discounts and offers
on Packt books and eBooks.
TM

https://www2.packtpub.com/books/subscription/packtlib

Do you need instant solutions to your IT questions? PacktLib is Packt's online digital
book library. Here, you can search, access, and read Packt's entire library of books.

Why subscribe?
• Fully searchable across every book published by Packt
• Copy and paste, print, and bookmark content
• On demand and accessible via a web browser

Free access for Packt account holders


If you have an account with Packt at www.PacktPub.com, you can use this to access
PacktLib today and view 9 entirely free books. Simply use your login credentials for
immediate access.
Table of Contents
Preface 1
Chapter 1: Setting Up Your Workspace 7
Hardware and software requirements 8
Installing Java Developer Kit 10
Checking the JDK version 10
Mac 10
Windows 10
Installing Java 11
Installing Android Studio 12
Mac 14
Windows 15
Setting up the Android Software Development Kit 15
Setting up your physical Android device for development 17
Enabling developer options 18
Enabling USB debugging 18
Entrusting the computer with the installed IDE using secure USB debugging
(devices with Android 4.4.2) 18
Hardware configuration 18
Learning to use the aREST library 20
Creating your first Android project 26
Setting up your first Hello Arduino project 27
Installing your app on your physical device 30
Summary 33
Table of Contents

Chapter 2: Controlling an Arduino Board via Bluetooth 35


Hardware and software requirements 36
Configuring the hardware 37
Writing the Arduino sketch 38
How to create a simple Android app to connect to the BLE module 42
Modifying the Android layout file 47
Connecting the modified layout to the corresponding activity 50
How to go further 54
Summary 55
Chapter 3: Bluetooth Weather Station 57
Hardware and software requirements 57
Hardware configuration 59
Testing the sensors 61
Writing the Arduino sketch 64
Wireframing our Android application and modifying the layout files 67
Implementing Android layouts in the main activity 69
Enhancing the user interface 73
Creating and adding our very own app icon 73
Centering and enlarging the data output text 77
Modifying the buttons and adding some color to our text 78
How to go further 80
Summary 81
Chapter 4: Wi-Fi Smart Power Plug 83
Hardware and software requirements 83
Configuring the hardware 85
Testing the relay 89
Writing the Arduino sketch 90
Wireframing our Android application 97
Implementing our layouts into the code 98
Polishing the user interface and experience 105
Adding a new app icon 106
Centering and enlarging the data output text 109
Aligning and styling the buttons 109
Changing the application name within the action bar 111
How to go further 112
Summary 112

[ ii ]
Table of Contents

Chapter 5: Wi-Fi Remote Security Camera 113


Hardware and software requirements 113
Hardware configuration 116
Setting up video streaming 117
Implementing a fullscreen stream player on Android 119
How to go further 126
Summary 126
Chapter 6: Android Phone Sensor 127
Hardware and software requirements 127
Configuring the hardware 129
Testing the servo 130
Writing the Arduino sketch 132
Setting up the Android app project 136
Laying out the Android user interface and permissions 137
Setting up the app's internals 139
How to go further 146
Summary 146
Chapter 7: Voice-activated Arduino 147
Hardware and software requirements 147
Configuring the hardware 149
Writing the Arduino sketch 151
Setting up the Android app 154
Laying out the Android user interface and permissions 155
Coding the app's internals 156
How to go further 166
Summary 167
Chapter 8: Control an Arduino Board via NFC 169
Hardware and software requirements 169
Configuring the hardware 170
Testing the NFC shield 171
Writing the Arduino sketch 173
Setting up the Android app 175
Laying out the Android user interface and permissions 176
Coding the app's internals 178
How to go further 182
Summary 182

[ iii ]
Table of Contents

Chapter 9: Bluetooth Low Energy Mobile Robot 183


Hardware and software requirements 184
Configuring the hardware 185
Testing the robot 188
Writing the Arduino sketch 191
Setting up the Android app 192
Laying out the Android user interface and setting permissions 193
Coding the app's internals 196
Enhancing the user interface further 204
Adding a new app icon 205
Styling the user interface buttons 205
How to go further 207
Summary 208
Chapter 10: Pulse Rate Sensor 209
Hardware and software requirements 209
Configuring our hardware 211
Testing the sensor 212
Writing the Arduino sketch 214
Setting up the Android app 216
Laying out the Android user interface and setting permissions 216
Coding the app's internals 219
How to go further 227
Summary 228
Index 229

[ iv ]
Preface
When directly comparing Arduino and Android, one can see that they are two
incredibly different platforms with different targets. Arduino is mostly focused on
connecting physical everyday objects to embedded microcontrollers. On the other
hand, Android intends to provide the necessary operating system and framework
to operate countless smartphones around the world.

This reality also reflects the contrasting realities of the authors, who come from very
different backgrounds and cultures; Stefan hails from the Island of Malta, and he
brings with him a medical background and passion for the intersection of technology
and medicine, whereas Marco originates from France and has an electrical
engineering background.

The power of combining the efforts of Arduino and Android platforms bring about
incredibly implemented practical projects that enhance daily life. Keeping this
motivation in mind is what brought two authors from contrasting backgrounds
together to work on this book. We believe in the intersection of technology and real
life and visualize a future where technology will keep on forming an integral part of
our day-to-day life.

What this book covers


Chapter 1, Setting Up Your Workspace, covers the necessary steps that you will have
to take in order to build all the projects of the book. You will learn how to set up the
Android development environment. We will also build our first Arduino project.

Chapter 2, Controlling an Arduino Board via Bluetooth, teaches us how to link Arduino
and Android for the first time. We will build an Arduino system with a Bluetooth
Low Energy module, and control a simple LED from an Android application.
Preface

Chapter 3, Bluetooth Weather Station, teaches us how to build our first useful
application using Arduino and Android. We will build a weather measurement
station, and visualize the measurements via an Android application, which we
will build from scratch.

Chapter 4, Wi-Fi Smart Power Plug, teaches us how to build a DIY version of a popular
device: a wireless power switch. We will use an Android application to communicate
with the switch via Wi-Fi, control it, and measure the energy consumption of the
connected device.

Chapter 5, Wi-Fi Remote Security Camera, introduces a powerful Arduino board,


the Arduino Yún, to build a DIY wireless security camera. We will also build an
Android application to monitor this camera remotely from an Android phone.

Chapter 6, Android Phone Sensor, explains how to turn things around, and use the
sensors from our phone to control the Arduino board. Applying this, we will
use the gyroscope of the phone to control the angle of a servomotor.

Chapter 7, Voice-activated Arduino, teaches us how to use the powerful Android


speech API to control an Arduino board via Bluetooth.

Chapter 8, Control an Arduino Board via NFC, shows how to use the NFC chip present
in many Android phones to activate a relay connected to an Arduino board.

Chapter 9, Bluetooth Low Energy Mobile Robot, uses everything we learned so far in the
book to build a mobile robot based on the Arduino. The robot will be controlled via
Wi-Fi from an Android application.

Chapter 10, Pulse Rate Sensor, is dedicated to a medical application that measures
the heart rate. We will connect a heart rate sensor to Arduino and monitor the
measurements via Bluetooth Low Energy.

What you need for this book


You will need two kind of software for this book: the software you will need for
Arduino, and the software you will need for Android. For Arduino, here is what
you will need in all chapters:

• Arduino IDE (Version 1.5.7 is recommended)

You will also need several Arduino libraries depending on the chapter, but the links
to these libraries are given in the relevant chapters.

[2]
Preface

On the Android side, you will need the following:

• Android Studio
• Android 4.3 or higher on your Android phone

Who this book is for


Arduino Android Blueprints is aimed for anyone who is knowledgeable in either the
Arduino or Android ecosystems and who would like to get started with building
exciting applications using both platforms.

For example, this book is for you if you are already using the Arduino platform
and you want to build mobile applications to control your projects remotely.

Conventions
In this book, you will find a number of styles of text that distinguish between
different kinds of information. Here are some examples of these styles, and an
explanation of their meaning.

Code words in text, database table names, folder names, filenames, file extensions,
pathnames, dummy URLs, user input, and Twitter handles are shown as follows:
"Your Arduino folder is where all the sketches are stored, and you can define this
folder in the preferences of the Arduino IDE."

A block of code is set as follows:


android:textSize="200dp"
android:gravity="center"

Any command-line input or output is written as follows:


/distance

New terms and important words are shown in bold. Words that you see on
the screen, in menus or dialog boxes for example, appear in the text like this:
"Depending on your device, this option might vary slightly, but as from
Android 4.2 and higher, the Developer options screen is hidden by default."

[3]
Preface

Warnings or important notes appear in a box like this.

Tips and tricks appear like this.

Reader feedback
Feedback from our readers is always welcome. Let us know what you think about
this book—what you liked or may have disliked. Reader feedback is important for
us to develop titles that you really get the most out of.

To send us general feedback, simply send an e-mail to feedback@packtpub.com,


and mention the book title via the subject of your message.

If there is a topic that you have expertise in and you are interested in either writing
or contributing to a book, see our author guide on www.packtpub.com/authors.

Customer support
Now that you are the proud owner of a Packt book, we have a number of things to
help you to get the most from your purchase.

Downloading the example code


You can download the example code files for all Packt books you have purchased
from your account at http://www.packtpub.com. If you purchased this book
elsewhere, you can visit http://www.packtpub.com/support and register to have
the files e-mailed directly to you.

Downloading the color images of this book


We also provide you a PDF file that has color images of the screenshots/diagrams
used in this book. The color images will help you better understand the changes in
the output. You can download this file from: http://www.packtpub.com/sites/
default/files/downloads/0389OS_ColorImages.pdf.

[4]
Preface

Errata
Although we have taken every care to ensure the accuracy of our content, mistakes
do happen. If you find a mistake in one of our books—maybe a mistake in the text or
the code—we would be grateful if you could report this to us. By doing so, you can
save other readers from frustration and help us improve subsequent versions of this
book. If you find any errata, please report them by visiting http://www.packtpub.
com/submit-errata, selecting your book, clicking on the Errata Submission Form
link, and entering the details of your errata. Once your errata are verified, your
submission will be accepted and the errata will be uploaded to our website or added
to any list of existing errata under the Errata section of that title.

To view the previously submitted errata, go to https://www.packtpub.com/books/


content/support and enter the name of the book in the search field. The required
information will appear under the Errata section.

Piracy
Piracy of copyright material on the Internet is an ongoing problem across all media.
At Packt, we take the protection of our copyright and licenses very seriously. If you
come across any illegal copies of our works, in any form, on the Internet, please
provide us with the location address or website name immediately so that we can
pursue a remedy.

Please contact us at copyright@packtpub.com with a link to the suspected


pirated material.

We appreciate your help in protecting our authors, and our ability to bring
you valuable content.

Questions
If you have a problem with any aspect of this book, you can contact us at
questions@packtpub.com, and we will do our best to address the problem.

[5]
Setting Up Your Workspace
The first chapter of this book will teach you the basics of the Arduino and Android
development so that you can be sure you have the basics required for the more
advanced tutorials you will find in the rest of this book.

On the Arduino side, we will build a very simple project with a relay module
(which is basically a switch that can be controlled with Arduino) and a temperature
and humidity sensor. We will also see the basics of the Arduino IDE and the basic
commands of the aREST library, which is a framework to easily control Arduino
boards. We will use this library in several chapters of this book to make it really easy
to control the Arduino board from an Android device. In this first chapter, we will
simply try out the commands of the aREST library by having the Arduino board
connected to your computer via a USB.

From the Android development point of view, we will work together to set up a
development environment and ensure that your computer and the Android device
are ready for development purposes. We will start off with a simple Android app
that displays the legendary text, Hello World.

Android Studio is an IntelliJ-based Integrated Development Environment (IDE)


fully supported by the Android development team, which will provide you with
the necessary tools and resources to make sure that you develop a functional and
aesthetic Android app.

Android Studio is in beta but the software is updated on a frequent and regular
basis by a dedicated team at Google, which makes it the natural choice to develop
our Android projects.
Setting Up Your Workspace

Hardware and software requirements


The first thing you will need is an Arduino Uno board. We will use this board
throughout this book to connect sensors, actuators, and wireless modules and make
them interact with Android. Then, we will need a relay module. A relay is basically
an electrical switch that we can command from Arduino, which can allow us to
control devices such as lamps. This project uses a 5V relay module from Polulu,
which properly integrates a relay on a board, along with all the required components
to control the relay from Arduino. The following is the image of the relay module
that was used in this chapter:

You will also need a DHT11 (or DHT22) sensor, along with a 4.7K resistor, for
temperature and humidity measurements. A resistor is basically a device to limit
the current flowing into an electrical device. Here, it is necessary to ensure the
correct functioning of the DHT sensor.

Finally, you will need a small breadboard and jumper wires to make the different
hardware connections.

[8]
Chapter 1

The following is the list of all hardware parts you will need for this project,
along with links to find these parts on the Web:

• The Arduino Uno board (http://www.adafruit.com/product/50)


• The 5V relay module (http://www.pololu.com/product/2480)
• The DHT11 sensor and 4.7K Ohm resistor (https://www.adafruit.com/
product/386)
• The breadboard (https://www.adafruit.com/product/64)
• Jumper wires (https://www.adafruit.com/product/758)

On the software side, you will need the Arduino IDE that we will also use in the
rest of this book. You can get it at http://arduino.cc/en/Main/Software.

The installation process of the IDE is very simple; you simply have to open the
file and follow the onscreen instructions.

You will need the library for the DHT11 sensor, which can be found at
https://github.com/adafruit/DHT-sensor-library.

You will also need the aREST library found at https://github.com/


marcoschwartz/aREST.

To install a given library, simply extract the folder in your Arduino/libraries


folder (or create this folder if it doesn't exist yet). Your Arduino folder is where
all the sketches are stored, and you can define this folder in the preferences of
the Arduino IDE.

Preparing for Android development requires that we get ready to design and
develop the app, and the following checklist will guide you with having the
basics ready for any project:

• Java Developer Kit Version 6 (or higher)


• Android Studio
• Android Software Development Kit
• Android Device with Bluetooth SMART technology

We will also work together to make sure that you have everything properly set up.

[9]
Setting Up Your Workspace

Installing Java Developer Kit


Android Studio will not work without Java Developer Kit (JDK); therefore,
it's necessary to know what Java version you have installed (in this particular
case, the Java Runtime Environment will not be enough).

Checking the JDK version


It is mandatory that you check the version of your JDK for compatibility purposes.

Mac
Open Terminal and type the following command:
java –version

This is what will be shown on the screen:

Windows
Open Command Prompt and type the following command:
java -version

[ 10 ]
Chapter 1

This is what will be shown on the screen:

Installing Java
If you do not have Java installed, or if your version is below 6.0, install the Java JDK
by clicking on the following customized and shortened link and choosing the version
that applies for you:

http://j.mp/javadevkit-download

The following window will open:

[ 11 ]
Setting Up Your Workspace

The main recommendation for these projects is that you install a version of
JDK 6.0 or higher.

Select the JDK for your operating system. On an Intel-based Mac, you can follow
this useful table to see whether your Mac is 32-bit or 64-bit:

Processor Name 32- or 64-bit processor


Intel Core Solo 32 bit
Intel Core Duo 32 bit
Intel Core 2 Duo 64 bit
Intel Quad-Core Xeon 64 bit
Dual-Core Intel Xeon 64 bit
Quad-Core Intel Xeon 64 bit
Core i3 64 bit
Core i5 64 bit
Core i7 64 bit

You can check for Processor Name by clicking on the Apple logo in the top-left
corner of your screen followed by About my Mac.

In the case of Windows, to see whether your computer is running a 32-bit or 64-bit
version of Windows, you need to do the following:

1. Click on the Start button.


2. Right-click on My Computer, and then click on Properties.
If x64 edition is listed under system, your processor is capable
of running 64-bit-enabled applications.

Installing Android Studio


Let's see how we install Android Studio on Mac and Windows:

1. Go to the Android Developers site at http://developer.android.com.


The following screen will appear:

[ 12 ]
Another Random Document on
Scribd Without Any Related Topics
Poor Miss Finch.
Miss or Mrs.?
New Magdalen.
The Frozen Deep.
The Law and the Lady.
The Two Destinies.
Haunted Hotel.
The Fallen Leaves.
Jezebel's Daughter.
The Black Robe.
Heart and Science.
"I Say No."
Little Novels.
The Evil Genius.
BY DUTTON COOK.
Paul Foster's Daughter.
BY WILLIAM CYPLES.
Hearts of Gold.
BY ALPHONSE DAUDET.
The Evangelist; or, Port Salvation.
BY JAMES DE MILLE.
A Castle in Spain.
BY J. LEITH DERWENT.
Our Lady of Tears.
Circe's Lovers.
BY M. BETHAM-EDWARDS.
Felicia.
BY MRS. ANNIE EDWARDES.
Archie Lovell.
BY PERCY FITZGERALD.
Fatal Zero.
BY R. E. FRANCILLON.
Queen Cophetua.
One by One.
A Real Queen.
Prefaced by Sir BARTLE FRERE.
Pandurang Hari.
BY EDWARD GARRETT.
The Capel Girls.
BY CHARLES GIBBON.
Robin Gray.
What will the World Say?
In Honour Bound.
Queen of the Meadow.
The Flower of the Forest
A Heart's Problem.
The Braes of Yarrow.
The Golden Shaft.
Of High Degree.
Loving a Dream.
BY THOMAS HARDY.
Under the Greenwood Tree.
BY JULIAN HAWTHORNE.
Garth.
Ellice Quentin.
Sebastian Strome.
Prince Saroni's Wife
Dust.
Fortune's Fool.
Beatrix Randolph.
BY SIR A. HELPS.
Ivan de Biron.
BY MRS. ALFRED HUNT.
Thornicroft's Model.
The Leaden Casket.
Self-Condemned.
That other Person.
BY JEAN INGELOW.
Fated to be Free.
BY R. ASHE KING.
A Drawn Game.
"The Wearing of the Green."
BY HENRY KINGSLEY.
Number Seventeen.
BY E. LYNN LINTON.
Patricia Kemball.
Atonement of Learn Dundas.
The World Well Lost.
Under which Lord?
The Rebel of the Family.
"My Love!"
Ione.
Paston Carew.
BY HENRY W. LUCY.
Gideon Fleyce.
BY JUSTIN McCARTHY.
The Waterdale Neighbours.
A Fair Saxon.
Dear Lady Disdain.
Miss Misanthrope.
Donna Quixote.
The Comet of a Season.
Maid of Athens.
Camiola.
BY MRS. MACDONELL.
Quaker Cousins.
BY FLORENCE MARRYAT.
Open! Sesame!
Written in Fire.
BY D. CHRISTIE MURRAY.
Life's Atonement.
Joseph's Coat.
A Model Father.
By the Gate of the Sea.
The Way of the World.
A Bit of Human Nature.
First Person Singular.
Cynic Fortune.
Coals of Fire.
Val Strange.
Hearts.
BY MRS. OLIPHANT.
Whiteladies.
BY MARGARET A. PAUL.
Gentle and Simple.
BY JAMES PAYN.
Lost Sir Massingberd.
Walter's Word.
Less Black than We're Painted.
By Proxy.
High Spirits.
Under One Roof.
A Confidential Agent.
From Exile.
A Grape from a Thorn.
For Cash Only.
Some Private Views.
The Canon's Ward.
Talk of the Town.
Glow-worm Tales.
BY E. C. PRICE.
Valentina.
Mrs. Lancaster's Rival.
The Foreigners.
BY CHARLES READE.
It Is Never Too Late to Mend.
Hard Cash.
Peg Woffington.
Christie Johnstone.
Griffith Gaunt.
The Double Marriage.
Love Me Little, Love Me Long.
The Cloister and the Hearth.
The Course of True Love.
The Autobiography of a Thief.
Put Yourself in His Place.
A Terrible Temptation.
The Wandering Heir.
A Woman-Hater.
Singleheart and Doubleface.
The Jilt.
Good Stories of Men and other Animals.
Foul Play.
A Simpleton.
Readiana.
BY MRS. J. H. RIDDELL.
Her Mother's Darling.
Prince of Wales's Garden-Party.
Weird Stories.
BY F. W. ROBINSON.
Women are Strange.
The Hands of Justice.
BY JOHN SAUNDERS.
Bound to the Wheel.
Guy Waterman.
Two Dreamers.
The Lion in the Path.
BY KATHARINE SAUNDERS.
Margaret and Elizabeth.
Gideon's Rock.
The High Mills.
Heart Salvage.
Sebastian.
BY T. W. SPEIGHT.
The Mysteries of Heron Dyke.
BY R. A. STERNDALE.
The Afghan Knife.
BY BERTHA THOMAS.
Proud Maisie.
The Violin-Player.
Cressida.
BY ANTHONY TROLLOPE.
The Way we Live Now.
Frau Frohmann.
Kept in the Dark.
Mr. Scarborough's Family.
The Land-Leaguers.
Marion Fay.
BY FRANCES E. TROLLOPE.
Like Ships upon the Sea.
Anne Furness.
Mabel's Progress.
BY IVAN TURGENIEFF, &c.
Stories from Foreign Novelists.
BY SARAH TYTLER.
What She Came Through.
The Bride's Pass.
Saint Mungo's City.
Beauty and the Beast.
Noblesse Oblige.
Citoyenne Jacqueline.
The Huguenot Family.
Lady Bell.
Buried Diamonds.
BY C. C. FRASER-TYTLER.
Mistress Judith.
CHEAP EDITIONS OF POPULAR NOVELS.
Post 8vo, illustrated boards, 2s. each.
BY EDMOND ABOUT.
The Fellah.
BY HAMILTON AÏDÉ.
Carr of Carrlyon.
Confidences.
BY MRS. ALEXANDER.
Maid, Wife, or Widow?
Valerie's Fate.
BY GRANT ALLEN.
Strange Stories.
Philistia.
Babylon.
In all Shades.
The Beckoning Hand.
BY SHELSLEY BEAUCHAMP.
Grantley Grange.
BY W. BESANT & JAMES RICE.
Ready-Money Mortiboy.
With Harp and Crown.
This Son of Vulcan.
The Case of Mr. Lucraft.
The Golden Butterfly.
By Celia's Arbour.
The Monks of Thelema.
'Twas In Trafalgar's Bay.
The Seamy Side.
The Ten Years' Tenant.
The Chaplain of the Fleet
My Little Girl.
BY WALTER BESANT.
All Sorts and Conditions of Men.
The Captains' Room.
All In a Garden Fair.
Dorothy Forster.
Uncle Jack.
Children of Gibeon.
BY FREDERICK BOYLE.
Camp Notes.
Chronicles of No-man's Land.
Savage Life.
BY BRET HARTE.
An Heiress of Red Dog.
The Luck of Roaring Camp.
Californian Stories.
Gabriel Conroy.
Maruja.
Flip.
A Phyllis of the Sierras.
BY ROBERT BUCHANAN.
The Shadow of the Sword.
A Child of Nature.
God and the Man.
Love Me for Ever.
Foxglove Manor.
The Master of the Mine.
The Martyrdom of Madeline.
Annan Water.
The New Abelard.
Matt.
BY MRS. BURNETT.
Surly Tim.
BY HALL CAINE.
The Shadow of a Crime.
A Son of Hagar.
BY COMMANDER CAMERON.
The Cruise of the "Black Prince."
BY MRS. LOVETT CAMERON.
Deceivers Ever.
Juliet's Guardian.
BY MACLAREN COBBAN.
The Cure of Souls.
BY C. ALLSTON COLLINS.
The Bar Sinister.
BY WILKIE COLLINS.
Antonina.
Basil.
Hide and Seek.
The Dead Secret.
Queen of Hearts.
My Miscellanies.
Woman in White.
The Moonstone.
Man and Wife.
Poor Miss Finch.
Miss or Mrs.?
New Magdalen.
The Frozen Deep.
Law and the Lady.
The Two Destinies.
Haunted Hotel.
The Fallen Leaves.
Jezebel's Daughter.
The Black Robe.
Heart and Science.
"I Say No."
The Evil Genius.
BY MORTIMER COLLINS.
Sweet Anne Page.
Transmigration.
A Fight with Fortune.
From Midnight to Midnight.
MORTIMER & FRANCES COLLINS.
Sweet and Twenty.
Blacksmith and Scholar.
The Village Comedy.
You Play me False.
Frances.
BY DUTTON COOK.
Leo.
Paul Foster's Daughter.
BY C. EGBERT CRADDOCK.
The Prophet of the Great Smoky Mountains.
BY WILLIAM CYPLES.
Hearts of Gold.
BY ALPHONSE DAUDET.
The Evangelist; or, Port Salvation.
BY JAMES DE MILLE.
A Castle In Spain.
BY J. LEITH DERWENT.
Our Lady of Tears.
Circe's Lovers.
BY CHARLES DICKENS.
Sketches by Boz.
Pickwick Papers.
Oliver Twist.
Nicholas Nickleby.
BY MRS. ANNIE EDWARDES.
A Point of Honour.
Archie Lovell.
BY M. BETHAM-EDWARDS.
Felicia.
Kitty.
BY EDWARD EGGLESTON.
Roxy.
BY PERCY FITZGERALD.
Bella Donna.
The Second Mrs. Tillotson.
Polly.
Seventy-five Brooke Street.
The Lady of Brantome.
Fatal Zero.
Never Forgotten.
ALBANY DE FONBLANQUE.
Filthy Lucre.
BY R. E. FRANCILLON.
Olympia.
One by One.
Queen Cophetua.
A Real Queen.
Prefaced by Sir H. BARTLE FRERE.
Pandurang Hari.
BY HAIN FRISWELL.
One of Two.
BY EDWARD GARRETT.
The Capel Girls.
BY CHARLES GIBBON.
Robin Gray.
For Lack of Gold.
What will the World Say?
In Honour Bound.
In Love and War.
For the King.
In Pastures Green.
Queen of the Meadow.
A Heart's Problem
The Flower of the Forest.
Braes of Yarrow.
The Golden Shaft.
Of High Degree.
Fancy Free.
Mead and Stream.
Loving a Dream.
A Hard Knot.
Heart's Delight.
BY WILLIAM GILBERT.
Dr. Austin's Guests.
The Wizard of the Mountain.
James Duke.
BY JAMES GREENWOOD.
Dick Temple.
BY JOHN HABBERTON.
Brueton's Bayou.
Country Luck.
BY ANDREW HALLWAY
Every-Day Papers.
BY LADY DUFFUS HARDY.
Paul Wynter's Sacrifice.
BY THOMAS HARDY.
Under the Greenwood Tree.
BY J. BERWICK HARWOOD.
The Tenth Earl.
BY JULIAN HAWTHORNE.
Garth.
Ellice Quentin.
Prince Saroni's Wife.
Fortune's Fool.
Miss Cadogna.
Sebastian Strome.
Dust.
Beatrix Randolph.
Love—or a Name.
BY SIR ARTHUR HELPS.
Ivan de Biron.
BY MRS. CASHEL HOEY.
The Lover's Creed.
BY TOM HOOD.
A Golden Heart.
BY MRS. GEORGE HOOPER.
The House of Raby.
BY TIGHE HOPKINS.
'Twixt Love and Duty.
BY MRS. ALFRED HUNT.
Thornicroft's Model.
The Leaden Casket.
Self-Condemned.
That other Person.
BY JEAN INGELOW.
Fated to be Free.
BY HARRIETT JAY.
The Dark Colleen.
The Queen of Connaught.
BY MARK KERSHAW.
Colonial Facts and Fictions.
BY R. ASHE KING.
A Drawn Game.
"The Wearing of the Green."
BY HENRY KINGSLEY.
Oakshott Castle.
BY E. LYNN LINTON.
Patricia Kemball.
The Atonement of Learn Dundas.
The World Well Lost.
Under which Lord?
With a Silken Thread.
The Rebel of the Family.
"My Love."
Ione.
BY HENRY W. LUCY.
Gideon Fleyce.
BY JUSTIN McCARTHY.
Dear Lady Disdain
The Waterdale Neighbours.
My Enemy's Daughter.
A Fair Saxon.
Linley Rochford.
Miss Misanthrope.
Donna Quixote.
The Comet of a Season.
Maid of Athens.
Camiola.
BY MRS. MACDONELL.
Quaker Cousins.
BY KATHARINE S. MACQUOID.
The Evil Eye.
Lost Rose.
BY W. H. MALLOCK.
The New Republic.
BY FLORENCE MARRYAT.
Open! Sesame.
A Harvest of Wild Oats.
Fighting the Air.
Written in Fire.
BY J. MASTERMAN.
Half-a-dozen Daughters.
BY BRANDER MATTHEWS.
A Secret of the Sea.
BY JEAN MIDDLEMASS.
Touch and Go.
Mr. Dorilllon.
BY MRS. MOLESWORTH.
Hathercourt Rectory.
BY D. CHRISTIE MURRAY.
A Life's Atonement.
A Model Father.
Joseph's Coat.
Coals of Fire.
By the Gate of the Sea.
Val Strange.
Hearts.
Way of the World.
A Bit of Human Nature.
First Person Singular.
Cynic Fortune.
BY ALICE O'HANLON.
The Unforeseen.
BY MRS. OLIPHANT.
Whiteladies.
The Primrose Path.
The Greatest Heiress in England.
BY MRS. ROBERT O'REILLY.
Phœbe's Fortunes.
BY OUIDA.
Held in Bondage.
Strathmore.
Chandos.
Under Two Flags.
Idalia.
Cecil Castlemaine's Gage.
Tricotrin.
Puck.
Folle Farine.
A Dog of Flanders.
Pascarel.
Signa.
Princess Napraxine.
Two Little Wooden Shoes.
In a Winter City.
Ariadne.
Friendship.
Moths.
Pipistrello.
A Village Commune.
Bimbi.
Wanda.
Frescoes.
In Maremma.
Othmar.
BY MARGARET AGNES PAUL.
Gentle and Simple.
BY JAMES PAYN.
Lost Sir Massingberd.
A Perfect Treasure.
Bentinck's Tutor.
Murphy's Master.
A County Family.
At Her Mercy.
A Woman's Vengeance.
Cecil's Tryst.
Clyffards of Clyffe.
The Family Scapegrace.
Foster Brothers.
Found Dead.
Best of Husbands.
Walter's Word.
Halves.
Fallen Fortunes.
What He Cost Her.
Humorous Stories.
Gwendoline's Harvest.
£200 Reward.
Like Father, Like Son.
Marine Residence.
Married Beneath Him.
Mirk Abbey.
Not Wooed, but Won.
Less Black than We're Painted.
By Proxy.
Under One Roof.
High Spirits.
Carlyon's Year.
A Confidential Agent.
Some Private Views.
From Exile.
A Grape from a Thorn.
For Cash Only.
Kit: A Memory.
The Canon's Ward.
Talk of the Town.
Holiday Tasks.
BY C. L. PIRKIS.
Lady Lovelace.
BY EDGAR A. POE.
The Mystery of Marie Roget.
BY E. C. PRICE.
Valentina.
Mrs. Lancaster's Rival.
Gerald.
The Foreigners.
BY CHARLES READE.
It is Never Too Late to Mend.
Hard Cash.
Christie Johnstone.
Griffith Gaunt.
Put Yourself in His Place.
The Double Marriage.
Love Me Little, Love Me Long.
Foul Play.
The Cloister and the Hearth.
The Course of True Love.
Autobiography of a Thief.
A Terrible Temptation.
The Wandering Heir.
A Simpleton.
Readiana.
Singleheart and Doubleface.
Good Stories of Men and other Animals.
Peg Woffington.
A Woman-Hater.
The Jilt.
BY MRS. J. H. RIDDELL.
Her Mother's Darling.
Prince of Wales's Garden Party.
Weird Stories.
The Uninhabited House.
The Mystery in Palace Gardens.
Fairy Water.
BY F. W. ROBINSON.
Women are Strange.
The Hands of Justice.
BY JAMES RUNCIMAN.
Skippers and Shellbacks.
Grace Balmaign's Sweetheart.
Schools and Scholars.
BY W. CLARK RUSSELL.
Round the Galley Fire.
On the Fo'k'sle Head.
In the Middle Watch.
A Voyage to the Cape.
BY BAYLE ST. JOHN.
A Levantine Family.
BY GEORGE AUGUSTUS SALA.
Gaslight and Daylight.
BY JOHN SAUNDERS.
Bound to the Wheel.
One Against the World.
Guy Waterman.
The Lion In the Path.
Two Dreamers.
BY KATHARINE SAUNDERS.
Joan Merryweather.
Margaret and Elizabeth.
The High Mills.
Heart Salvage.
Sebastian.
BY GEORGE R. SIMS.
Rogues and Vagabonds.
The Ring o' Bells.
Mary Jane's Memoirs.
Mary Jane Married.
BY ARTHUR SKETCHLEY.
A Match in the Dark.
BY T. W. SPEIGHT.
The Mysteries of Heron Dyke.
The Golden Hoop.
BY R. A. STERNDALE.
The Afghan Knife.
BY R. LOUIS STEVENSON.
New Arabian Nights.
Prince Otto.
BY BERTHA THOMAS.
Cressida.
The Violin-Player.
Proud Maisle.
BY W. MOY THOMAS.
A Fight for Life.
BY WALTER THORNBURY.
Tales for the Marines.
BY T. ADOLPHUS TROLLOPE.
Diamond Cut Diamond.
BY ANTHONY TROLLOPE.
The Way We Live Now.
The American Senator.
Frau Frohmann.
Marlon Fay.
Kept in the Dark.
Mr. Scarborough's Family.
The Land-Leaguers.
The Golden Lion of Granpere.
John Caldigate.
By F. ELEANOR TROLLOPE.
Like Ships upon the Sea.
Anne Furness.
Mabel's Progress.
BY J. T. TROWBRIDGE.
Farnell's Folly.
BY IVAN TURGENIEFF, &c.
Stories from Foreign Novelists.
BY MARK TWAIN.
Tom Sawyer.
A Pleasure Trip on the Continent of Europe.
The Stolen White Elephant.
Huckleberry Finn.
Life on the Mississippi.
The Prince and the Pauper.
A Tramp Abroad.
BY C. C. FRASER-TYTLER.
Mistress Judith.
BY SARAH TYTLER.
What She Came Through.
The Bride's Pass.
Saint Mungo's City.
Beauty and the Beast.
Lady Bell.
Citoyenne Jacquiline.
Disappeared.
Noblesse Oblige.
BY J. S. WINTER.
Cavalry Life.
Regimental Legends.
BY LADY WOOD.
Sabina.
BY EDMUND YATES.
Castaway.
Land at Last.
The Forlorn Hope.
ANONYMOUS.
Paul Ferroll.
Why Paul Ferroll Killed his Wife.

POPULAR SHILLING BOOKS.


Jeff Briggs's Love Story. By Bret Harte.
The Twins of Table Mountain. By Bret Harte.
A Day's Tour. By Percy Fitzgerald.
Mrs. Gainsborough's Diamonds. By Julian Hawthorne.
A Romance of the Queen's Hounds. By Charles James.
Kathleen Mavourneen. By the Author of "That Lass o' Lowrie's."
Lindsay's Luck. By the Author of "That Lass o' Lowrie's."
Pretty Polly Pemberton. By the Author of "That Lass o'
Lowrie's."
Trooping with Crows. By C. L. Pirkis.
The Professor's Wife. By Leonard Graham.
A Double Bond. By Linda Villari.
Esther's Glove. By R. E. Francillon.
The Garden that Paid the Rent. By Tom Jerrold.
Curly. By John Coleman. Illustrated by J. C. Dollman.
Beyond the Gates. By E. S. Phelps.
Old Maid's Paradise. By E. S. Phelps.
Burglars In Paradise. By E. S. Phelps.
Jack the Fisherman. By E. S. Phelps.
Doom: An Atlantic Episode. By Justin H. McCarthy, M.P.
Our Sensation Novel. Edited by Justin H. McCarthy, M.P.
A Barren Title. By T. W. Speight.
Wife or No Wife? By T. W. Speight.
The Silverado Squatters. By R. Louis Stevenson.

J. OGDEN AND CO. LIMITED, PRINTERS, GREAT SAFFRON HILL,


E.C.

Transcriber's Notes:
Obvious errors of punctuation and diacritics
repaired.
Hyphen removed: "free[-]thinkers" (p. 275),
"MERRY[-]MAKING" (p. 135), "merry[-]making" (p.
271), "sugar[-]loaf" (p. 169).
Hyphen added: "Mir[-]át" (pp. 53, 54).
The following words appear both with and without
hyphens and have not been changed:
"alms[-]giving", "needle[-]work", "sugar[-]loaf",
"Table[-]talk", "water[-]spout", "white[-]wash".
P. 23: "flower" changed to "flour" (composed of flour
and butter).
P. 85: added "to" (the region next to the earth).
P. 99: "en" changed to "el" (Jennet el-Khuld).
P. 123: "Mir-át er-Zemán" changed to "Mir-át ez-
Zemán".
P. 137: "do" added (if he did not do so).
P. 255: "similiar" changed to "similar" (Many similar
anecdotes).
P. 268: "sacrified" changed to "sacrificed" (Buffalo
sacrificed at funerals).
P. 271: "Gillyflower" changed to "Gilliflower".
P. 276: "i.g." changed to "i.q." (Nákir (i.q. Munkir)).
Index: Page numbers added or corrected:
Barmekees (Barmecides), 115; Divine magic, 81, 82.
Entry for Weleeyeh moved to correct alphabetical
order.
P. 283: The erratum on page 44 has been corrected
in the text.
Annex, P. 21: "Originall" changed to "Original" (true
Original Copies).
Annex, P. 32: added "the" (By the Author of "That
Lass o' Lowrie's.").
*** END OF THE PROJECT GUTENBERG EBOOK ARABIAN SOCIETY
IN THE MIDDLE AGES: STUDIES FROM THE THOUSAND AND ONE
NIGHTS ***

Updated editions will replace the previous one—the old editions


will be renamed.

Creating the works from print editions not protected by U.S.


copyright law means that no one owns a United States
copyright in these works, so the Foundation (and you!) can copy
and distribute it in the United States without permission and
without paying copyright royalties. Special rules, set forth in the
General Terms of Use part of this license, apply to copying and
distributing Project Gutenberg™ electronic works to protect the
PROJECT GUTENBERG™ concept and trademark. Project
Gutenberg is a registered trademark, and may not be used if
you charge for an eBook, except by following the terms of the
trademark license, including paying royalties for use of the
Project Gutenberg trademark. If you do not charge anything for
copies of this eBook, complying with the trademark license is
very easy. You may use this eBook for nearly any purpose such
as creation of derivative works, reports, performances and
research. Project Gutenberg eBooks may be modified and
printed and given away—you may do practically ANYTHING in
the United States with eBooks not protected by U.S. copyright
law. Redistribution is subject to the trademark license, especially
commercial redistribution.

START: FULL LICENSE


THE FULL PROJECT GUTENBERG LICENSE
Welcome to our website – the ideal destination for book lovers and
knowledge seekers. With a mission to inspire endlessly, we offer a
vast collection of books, ranging from classic literary works to
specialized publications, self-development books, and children's
literature. Each book is a new journey of discovery, expanding
knowledge and enriching the soul of the reade

Our website is not just a platform for buying books, but a bridge
connecting readers to the timeless values of culture and wisdom. With
an elegant, user-friendly interface and an intelligent search system,
we are committed to providing a quick and convenient shopping
experience. Additionally, our special promotions and home delivery
services ensure that you save time and fully enjoy the joy of reading.

Let us accompany you on the journey of exploring knowledge and


personal growth!

ebookname.com

You might also like