مشخصات کتاب
-
andrew henderson
-
2015
-
انگلیسی
-
24020
-
1035
-
0
دانلود کتاب Android for the BeagleBone Black
این کتاب سیستم عامل اندروید را بر روی محیط سخت افزاری BeagleBone Black مورد بررسی دقیق قرار داده و مقدمه ای درباره ی رویکرد منحصربفرد اندروید در زمینه ی hardware interfacing ارائه می دهد. در این آموزش علاوه بر اینکه شما گام به گام در فرایند نصب و پیکربندی اندروید بر روی BeagleBone Black راهنمایی می شوید، نحوه ی آماده سازی کامپیوتر شخصی خود برای راه اندازی محیط توسعه ی اندروید جهت تولید اپلیکیشن هایی که قادرند مستقیما به دستگاه های سخت افزاری وصل شوند را نیز خواهید آموخت. تعداد زیادی نمونه پروژه در این آموزش وجود دارد که شما را با نحوه ی استفاده از رابط های سخت افزاری GPIO، SPI و I2C محیط سخت افزاری BeagleBone Black آشنا می سازد. با مطالعه ی این کتاب قادر خواهید بود نرم افزارهای اندرویدی بنویسید که مستقیما با کامپوننت های سخت افزاری همچون حسگرها، تراشه های حافظه، سویچ ها و LED ارتباط برقرار می کنند. راهنمای گام به گام در زمینه ی بخش های نرم افزاری و سخت افزاری این پروژه ها در اختیار شما قرار داده می شود. سپس تمامی پروژه های قبلی در قالب یک پروژه ی واحد گنجانده شده که همزمان از GPIO، SPI و I2C استفاده می کند. در پایان تمامی جزئیات مربوط به نوشتن یک نرم افزار اندروید که با سخت افزار ارتباط برقرار می کند را کاملا خواهید آموخت. در انتهای کتاب حاضر همچنین اطلاعاتی در رابطه با نحوه ی تبدیل کدهای نمونه به کدهای مناسب جهت نصب بر روی یک دستگاه مبتنی بر سیستم عامل اندروید آشنا خواهید شد. با ارائه ی انواع نمونه برنامه که مفاهیم کلیدی ارتباطات سخت افزاری را معرفی می کند، این راهنمای آموزشی به شما کمک می کند در کوتاه ترین زمان ممکن به یک متخصص تولید نرم افزارهای سخت افزاری اندروید تبدیل شوید.
برنامه نویسی اندروید
Android for the BeagleBone Black
Credits
About the Authors
About the Reviewers
www.PacktPub.com
Support files, eBooks, discount offers, and more
Why subscribe?
Free access for Packt account holders
Preface
What this book covers
What you need for this book
Who this book is for
Conventions
Reader feedback
Customer support
Downloading the example code
Errata
Piracy
Questions
1. Introduction to Android and the BeagleBone Black
Looking back on Android and BeagleBone Black development
Shopping for the hardware essentials
The FTDI cable
Power supply
Breadboard and the mounting plate
MicroSD cards
Learning about the hardware you’ll interface with
General-purpose components
The AdaFruit memory breakout board
The AdaFruit sensor breakout board
Preparing the breakout boards
Installing Android on the BeagleBone Black
Downloading a premade Android image
Creating your Android microSD card using Windows
Creating your Android microSD card using Linux
Summary
2. Interfacing with Android
Understanding the Android HAL
Android managers
The HAL development workflow
Working with PacktHAL
Installing PacktHAL
Preparing PacktHAL under Linux
Preparing PacktHAL under Windows
The PacktHAL directory structure
Preparing Android for PacktHAL
Pushing PacktHAL files under Linux
Pushing PacktHAL files under Windows
Setting up the Android NDK for PacktHAL
Adding the header to the NDK under Linux
Adding the header to the NDK under Windows
Multiplexing the BBB pins
The kernel Device Tree and capemgr
Defining a cape
Summary
3. Handling Inputs and Outputs with GPIOs
Understanding GPIOs
Nuts and bolts of GPIO
GPIO access methods under Android
Pros and cons of the file I/O method