Search icon CANCEL
Subscription
0
Cart icon
Your Cart (0 item)
Close icon
You have no products in your basket yet
Save more on your purchases! discount-offer-chevron-icon
Savings automatically calculated. No voucher code required.
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Newsletter Hub
Free Learning
Arrow right icon
timer SALE ENDS IN
0 Days
:
00 Hours
:
00 Minutes
:
00 Seconds
The Android Game Developer???s Handbook
The Android Game Developer???s Handbook

The Android Game Developer???s Handbook: Discover an all in one handbook to developing immersive and cross-platform Android games

eBook
€8.99 €29.99
Paperback
€36.99
Subscription
Free Trial
Renews at €18.99p/m

What do you get with eBook?

Product feature icon Instant access to your Digital eBook purchase
Product feature icon Download this book in EPUB and PDF formats
Product feature icon Access this title in our online reader with advanced features
Product feature icon DRM FREE - Read whenever, wherever and however you want
OR
Modal Close icon
Payment Processing...
tick Completed

Billing Address

Table of content icon View table of contents Preview book icon Preview Book

The Android Game Developer???s Handbook

Chapter 2. Introduction to Different Android Platforms

The first commercially released Android device was the HTC Dream. In 2008, this mobile phone introduced a new Linux-based operating system, Android. Since then, thousands of manufacturers have been using Android for their devices. At first, Android became popular among mobile operating systems such as Symbian, Java ME, Blackberry, and iOS. New generation technology had a demand for a new, lightweight, user-friendly, and affordable operating system. Android fulfilled these requirements, and gained its momentum faster than Blackberry and other competing operating systems.

According to the latest market study, in the first quarter of 2016, Android holds 76% of the market share, which itself explains its success. With the passage of time, Android has expanded its territory from mobile to other useful hardware platforms like tablets, televisions, watches, consoles, and so on.

In this chapter, we will explore these platforms from...

Exploring Android mobiles

Android mobile devices are the most important devices for game developers. Mobile technology has undergone a huge revolution during the last decade, from the black and white pixel phone to modern age smartphones. Currently, Android mobile devices are leading the market by a huge margin compared to its nearest competitor, the iPhone.

Initial Android gaming got its momentum after the release of Android version 1.6, followed by Android 2.3. Even today, there are many devices running on Android 2.3. That is why many of the popular cross-platform gaming engines support Android 2.3.

There was a time when Android used to run with a minimum requirement of 32 MB of RAM, 32 MB of disk space, and a 200 MHz processor as well. If we take a look at current device specifications, a drastic change can be noticed. Nowadays, Android mobile devices have 1 GB RAM, 1 GHz processor, and 4 GB disk space on an average. Most of the devices have multicore processing units. However, this...

Exploring Android tablets

Android tablets are very similar to Android mobile phones. The main specification difference between an Android phone and an Android tablet is the physical size and screen resolution. Generally, Android tablets work on lower PPI than a mobile. However, there is no hard-and-fast rule or any specific system to measure that.

The minimum requirement to run Android was a 200 MHz processor, 32 MB RAM, and 32 MB disk space. Android requires an ARMv5 or higher processor, although Android 4 requires ARMv7. Previously, starting age tablets had almost the minimum hardware system.

Tablets evolved from the concept of a tablet computer; they consist of a touchscreen display, camera, microphone, speaker, and a few physical buttons. Tablets are typically larger than phones or PDAs.

One of the minimum configured Android tablet is Coby Kyros MID7047, which is shown here (image source: http://www.evisionstore.com/catalogo/coby_mid7012-4g.jpg):

Exploring Android tablets

The following table shows its specifications...

Exploring Android televisions and STBs

After the success of Android mobiles and tablets, Android started expanding its territory towards other hardware platforms. Television became the next target, as the concept of smart TV was already in the market. Thus, a television set became interactive through Android. Google has released a few additional accessories for Android televisions to increase the user experience.

The first Android television device launched for consumers was the Nexus Player on November 3, 2014. The specification of this is as follows:

  • Intel Atom Z3560 1.8 GHz quadcore processor
  • 1 GB RAM
  • 8 GB Flash storage
  • Android 5.1.1 Lollipop

Here's what it looks like (image source: http://1.bp.blogspot.com/-H1rp1fboU6g/VX2Huu6ClyI/AAAAAAAA3hA/5te4NZ65Tgg/s1600/nexus_player.jpg):

Exploring Android televisions and STBs

This was the first kind of Android television device, very similar to Google TV and comparable with Apple TV also.

Apart from Nexus Player, there are a few more Android-enabled STB devices:

  • Freebox Mini 4K: This...

Exploring Android consoles

A small piece of adapter connected to a television and a controller device to control the adapter, together are called a console set. Android is a cheap, low-budget operating system, which can be used on any mobile hardware platform with ease.

One of the first Android-based consoles is OUYA (image source: http://cdn2.pu.nl/media/misc/ouya_wall_ins.jpg):

Exploring Android consoles

These consoles are called microconsoles. A few years ago, the specification of such consoles was the following:

  • Model: OUYA
  • Processor: ARM Cortex A9
  • Speed: 1.7 GHz quadcore
  • System chip: NVIDIA Tegra 3
  • Flash memory: 8 GB
  • RAM: 1 GB DDR3
  • Display: HD (720p) or Full HD (1080p)
  • Graphics processor: NVIDIA GeForce ULP GPU
  • Android version: Android 4.1 Jelly Bean
  • Connectivity: Wi-Fi, Bluetooth and LAN

Now let's have a look at the modern age Android console specification:

  • Model: NVIDIA Shield
  • Processor: ARM Cortex A57 + A53 (64 bit)
  • Speed: 1.9 GHz quadcore + 1000 MHz quadcore
  • System chip: NVIDIA Tegra X1
  • Flash memory: 500 GB HDD
  • RAM: 3...

Exploring Android watches

In the smart era of technology, it was expected that every possible gadget would work smarter. Wristwatches were no exception. The type of watches changed from analog to digital, and now to purely computerized smartwatches. Being a very flexible open source operating system, Android is one of the most favorite option for smartwatches (image source: http://photos.appleinsidercdn.com/bigger-wimm-130830.jpg):

Exploring Android watches

From the very early versions, Android watches were well capable of playing games, thus entering the game development domain. Advanced devices are as good as small computers. They consist of the Internet, sensors, cameras, Bluetooth, Wi-Fi, speakers, card slots, and have many more features.

Like other computers, a smartwatch may collect information from internal or external sensors. It may control, or retrieve data from, other instruments or computers. It may support wireless technologies like Bluetooth, Wi-Fi, and GPS. However, it is possible that a "wristwatch...

Exploring Android mobiles


Android mobile devices are the most important devices for game developers. Mobile technology has undergone a huge revolution during the last decade, from the black and white pixel phone to modern age smartphones. Currently, Android mobile devices are leading the market by a huge margin compared to its nearest competitor, the iPhone.

Initial Android gaming got its momentum after the release of Android version 1.6, followed by Android 2.3. Even today, there are many devices running on Android 2.3. That is why many of the popular cross-platform gaming engines support Android 2.3.

There was a time when Android used to run with a minimum requirement of 32 MB of RAM, 32 MB of disk space, and a 200 MHz processor as well. If we take a look at current device specifications, a drastic change can be noticed. Nowadays, Android mobile devices have 1 GB RAM, 1 GHz processor, and 4 GB disk space on an average. Most of the devices have multicore processing units. However, this rise...

Exploring Android tablets


Android tablets are very similar to Android mobile phones. The main specification difference between an Android phone and an Android tablet is the physical size and screen resolution. Generally, Android tablets work on lower PPI than a mobile. However, there is no hard-and-fast rule or any specific system to measure that.

The minimum requirement to run Android was a 200 MHz processor, 32 MB RAM, and 32 MB disk space. Android requires an ARMv5 or higher processor, although Android 4 requires ARMv7. Previously, starting age tablets had almost the minimum hardware system.

Tablets evolved from the concept of a tablet computer; they consist of a touchscreen display, camera, microphone, speaker, and a few physical buttons. Tablets are typically larger than phones or PDAs.

One of the minimum configured Android tablet is Coby Kyros MID7047, which is shown here (image source: http://www.evisionstore.com/catalogo/coby_mid7012-4g.jpg):

The following table shows its specifications...

Exploring Android televisions and STBs


After the success of Android mobiles and tablets, Android started expanding its territory towards other hardware platforms. Television became the next target, as the concept of smart TV was already in the market. Thus, a television set became interactive through Android. Google has released a few additional accessories for Android televisions to increase the user experience.

The first Android television device launched for consumers was the Nexus Player on November 3, 2014. The specification of this is as follows:

  • Intel Atom Z3560 1.8 GHz quadcore processor

  • 1 GB RAM

  • 8 GB Flash storage

  • Android 5.1.1 Lollipop

Here's what it looks like (image source: http://1.bp.blogspot.com/-H1rp1fboU6g/VX2Huu6ClyI/AAAAAAAA3hA/5te4NZ65Tgg/s1600/nexus_player.jpg):

This was the first kind of Android television device, very similar to Google TV and comparable with Apple TV also.

Apart from Nexus Player, there are a few more Android-enabled STB devices:

  • Freebox Mini 4K: This is a...

Exploring Android consoles


A small piece of adapter connected to a television and a controller device to control the adapter, together are called a console set. Android is a cheap, low-budget operating system, which can be used on any mobile hardware platform with ease.

One of the first Android-based consoles is OUYA (image source: http://cdn2.pu.nl/media/misc/ouya_wall_ins.jpg):

These consoles are called microconsoles. A few years ago, the specification of such consoles was the following:

  • Model: OUYA

  • Processor: ARM Cortex A9

  • Speed: 1.7 GHz quadcore

  • System chip: NVIDIA Tegra 3

  • Flash memory: 8 GB

  • RAM: 1 GB DDR3

  • Display: HD (720p) or Full HD (1080p)

  • Graphics processor: NVIDIA GeForce ULP GPU

  • Android version: Android 4.1 Jelly Bean

  • Connectivity: Wi-Fi, Bluetooth and LAN

Now let's have a look at the modern age Android console specification:

  • Model: NVIDIA Shield

  • Processor: ARM Cortex A57 + A53 (64 bit)

  • Speed: 1.9 GHz quadcore + 1000 MHz quadcore

  • System chip: NVIDIA Tegra X1

  • Flash memory: 500 GB...

Exploring Android watches


In the smart era of technology, it was expected that every possible gadget would work smarter. Wristwatches were no exception. The type of watches changed from analog to digital, and now to purely computerized smartwatches. Being a very flexible open source operating system, Android is one of the most favorite option for smartwatches (image source: http://photos.appleinsidercdn.com/bigger-wimm-130830.jpg):

From the very early versions, Android watches were well capable of playing games, thus entering the game development domain. Advanced devices are as good as small computers. They consist of the Internet, sensors, cameras, Bluetooth, Wi-Fi, speakers, card slots, and have many more features.

Like other computers, a smartwatch may collect information from internal or external sensors. It may control, or retrieve data from, other instruments or computers. It may support wireless technologies like Bluetooth, Wi-Fi, and GPS. However, it is possible that a "wristwatch...

Development insights on Android mobiles


As we discussed earlier, the main development target for any game developer on the Android platform are Android mobiles. We have also noticed the various technical specifications for Android mobiles. When a game developer targets this platform at its maximum possible scope, they must take a note of the device category.

Mostly, all Android devices support a common touch interface, a physical Home button, a physical Lock button, a Back button, and volume Up-Down keys for user interaction. Besides these, an accelerometer can be also a good medium for the user interface.

Gaming is mostly visual, so game developers should always look for the graphic performance of the device. There is a separate graphics processor in the latest Android mobiles, but the quality varies.

Visual excellence does not depend on GPU only—the display screen quality also matters a lot. Low PPI screens cannot deliver a high quality display. The first-generation Android G1 mobile had...

Development insights on Android tablets


Android game development was mainly limited to smartphones before Android tablets came into the picture. It was much more fun to play a game on a tablet. Tablet gaming became popular over a short period of time because of the following reasons:

  • Bigger screen: Although a bigger screen with the same resolution compromises the visual quality, it provides bigger visibility. Bigger visibility enhances the art asset to reveal its details, which is not always possible for a small screen smartphone.

  • Bigger physical size: Bigger physical size forces the player to play with both hands, which results in better grip on the device and better controls.

  • Bigger space/playable area: Bigger playable area can provide more control space. That means that the player need not to be accurate while using the touch control system, so he/she can concentrate more on the game alone. Thus, it enhances the gaming experience.

  • Less constraints: Continuous playing of games causes a...

Left arrow icon Right arrow icon

Key benefits

  • Practical tips and tricks to develop powerful Android games
  • Learn to successfully implement microtransactions and monitor the performance of your game once it’s out live.
  • Integrate Google’s DIY VR tool and Google Cardboard into your games to join in on the VR revolution

Description

Gaming in android is an already established market and growing each day. Previously games were made for specific platforms, but this is the time of cross platform gaming with social connectivity. It requires vision of polishing, design and must follow user behavior. This book would help developers to predict and create scopes of improvement according to user behavior. You will begin with the guidelines and rules of game development on the Android platform followed by a brief description about the current variants of Android devices available. Next you will walk through the various tools available to develop any Android games and learn how to choose the most appropriate tools for a specific purpose. You will then learn JAVA game coding standard and style upon the Android SDK. Later, you would focus on creation, maintenance of Game Loop using Android SDK, common mistakes in game development and the solutions to avoid them to improve performance. We will deep dive into Shaders and learn how to optimize memory and performance for an Android Game before moving on to another important topic, testing and debugging Android Games followed by an overview about Virtual Reality and how to integrate them into Android games. Want to program a different way? Inside you’ll also learn Android game Development using C++ and OpenGL. Finally you would walk through the required tools to polish and finalize the game and possible integration of any third party tools or SDKs in order to monetize your game when it’s one the market!

Who is this book for?

This book is ideal for any game developer, with prior knowledge of developing games in Android. A good understanding of game development and a basic knowledge on Android platform application development and JAVA/C++ will be appreciated.

What you will learn

  • Learn the prospects of Android in Game Development
  • Understand the Android architecture and explore platform limitation and variations
  • Explore the various approaches for Game Development using Android
  • Learn about the common mistakes and possible solutions on Android Game Development
  • Discover the top Cross Platform Game Engines and port games on different android platform
  • Optimize memory and performance of your game.
  • Familiarize yourself with different ways to earn money from Android Games

Product Details

Country selected
Publication date, Length, Edition, Language, ISBN-13
Publication date : Aug 19, 2016
Length: 368 pages
Edition : 1st
Language : English
ISBN-13 : 9781785886669
Vendor :
Google
Languages :
Tools :

What do you get with eBook?

Product feature icon Instant access to your Digital eBook purchase
Product feature icon Download this book in EPUB and PDF formats
Product feature icon Access this title in our online reader with advanced features
Product feature icon DRM FREE - Read whenever, wherever and however you want
OR
Modal Close icon
Payment Processing...
tick Completed

Billing Address

Product Details

Publication date : Aug 19, 2016
Length: 368 pages
Edition : 1st
Language : English
ISBN-13 : 9781785886669
Vendor :
Google
Languages :
Tools :

Packt Subscriptions

See our plans and pricing
Modal Close icon
€18.99 billed monthly
Feature tick icon Unlimited access to Packt's library of 7,000+ practical books and videos
Feature tick icon Constantly refreshed with 50+ new titles a month
Feature tick icon Exclusive Early access to books as they're written
Feature tick icon Solve problems while you work with advanced search and reference features
Feature tick icon Offline reading on the mobile app
Feature tick icon Simple pricing, no contract
€189.99 billed annually
Feature tick icon Unlimited access to Packt's library of 7,000+ practical books and videos
Feature tick icon Constantly refreshed with 50+ new titles a month
Feature tick icon Exclusive Early access to books as they're written
Feature tick icon Solve problems while you work with advanced search and reference features
Feature tick icon Offline reading on the mobile app
Feature tick icon Choose a DRM-free eBook or Video every month to keep
Feature tick icon PLUS own as many other DRM-free eBooks or Videos as you like for just €5 each
Feature tick icon Exclusive print discounts
€264.99 billed in 18 months
Feature tick icon Unlimited access to Packt's library of 7,000+ practical books and videos
Feature tick icon Constantly refreshed with 50+ new titles a month
Feature tick icon Exclusive Early access to books as they're written
Feature tick icon Solve problems while you work with advanced search and reference features
Feature tick icon Offline reading on the mobile app
Feature tick icon Choose a DRM-free eBook or Video every month to keep
Feature tick icon PLUS own as many other DRM-free eBooks or Videos as you like for just €5 each
Feature tick icon Exclusive print discounts

Frequently bought together


Stars icon
Total 144.97
Learning Android Application Development
€32.99
The Android Game Developer???s Handbook
€36.99
Android: Game Programming
€74.99
Total 144.97 Stars icon
Banner background image

Table of Contents

14 Chapters
1. Android Game Development Chevron down icon Chevron up icon
2. Introduction to Different Android Platforms Chevron down icon Chevron up icon
3. Different Android Development Tools Chevron down icon Chevron up icon
4. Android Development Style and Standards in the Industry Chevron down icon Chevron up icon
5. Understanding the Game Loop and Frame Rate Chevron down icon Chevron up icon
6. Improving Performance of 2D/3D Games Chevron down icon Chevron up icon
7. Working with Shaders Chevron down icon Chevron up icon
8. Performance and Memory Optimization Chevron down icon Chevron up icon
9. Testing Code and Debugging Chevron down icon Chevron up icon
10. Scope for Android in VR Games Chevron down icon Chevron up icon
11. Android Game Development Using C++ and OpenGL Chevron down icon Chevron up icon
12. Polishing Android Games Chevron down icon Chevron up icon
13. Third-Party Integration, Monetization, and Services Chevron down icon Chevron up icon
Index Chevron down icon Chevron up icon

Customer reviews

Rating distribution
Full star icon Full star icon Full star icon Full star icon Empty star icon 4
(2 Ratings)
5 star 50%
4 star 0%
3 star 50%
2 star 0%
1 star 0%
Martin DeWitt Jun 07, 2017
Full star icon Full star icon Full star icon Full star icon Full star icon 5
I haven't gotten through the entire book yet, but I've already learned a lot from what I have read. It's written very well, and as a professional 3d artist with limited programming knowledge, I am able to follow along well enough to understand the author. I've no doubt that I'll be referencing this book a lot in the future as I continue to work on my own android game.
Amazon Verified review Amazon
Sandeep Jan 17, 2017
Full star icon Full star icon Full star icon Empty star icon Empty star icon 3
not that good enough :( i expected something else good
Amazon Verified review Amazon
Get free access to Packt library with over 7500+ books and video courses for 7 days!
Start Free Trial

FAQs

How do I buy and download an eBook? Chevron down icon Chevron up icon

Where there is an eBook version of a title available, you can buy it from the book details for that title. Add either the standalone eBook or the eBook and print book bundle to your shopping cart. Your eBook will show in your cart as a product on its own. After completing checkout and payment in the normal way, you will receive your receipt on the screen containing a link to a personalised PDF download file. This link will remain active for 30 days. You can download backup copies of the file by logging in to your account at any time.

If you already have Adobe reader installed, then clicking on the link will download and open the PDF file directly. If you don't, then save the PDF file on your machine and download the Reader to view it.

Please Note: Packt eBooks are non-returnable and non-refundable.

Packt eBook and Licensing When you buy an eBook from Packt Publishing, completing your purchase means you accept the terms of our licence agreement. Please read the full text of the agreement. In it we have tried to balance the need for the ebook to be usable for you the reader with our needs to protect the rights of us as Publishers and of our authors. In summary, the agreement says:

  • You may make copies of your eBook for your own use onto any machine
  • You may not pass copies of the eBook on to anyone else
How can I make a purchase on your website? Chevron down icon Chevron up icon

If you want to purchase a video course, eBook or Bundle (Print+eBook) please follow below steps:

  1. Register on our website using your email address and the password.
  2. Search for the title by name or ISBN using the search option.
  3. Select the title you want to purchase.
  4. Choose the format you wish to purchase the title in; if you order the Print Book, you get a free eBook copy of the same title. 
  5. Proceed with the checkout process (payment to be made using Credit Card, Debit Cart, or PayPal)
Where can I access support around an eBook? Chevron down icon Chevron up icon
  • If you experience a problem with using or installing Adobe Reader, the contact Adobe directly.
  • To view the errata for the book, see www.packtpub.com/support and view the pages for the title you have.
  • To view your account details or to download a new copy of the book go to www.packtpub.com/account
  • To contact us directly if a problem is not resolved, use www.packtpub.com/contact-us
What eBook formats do Packt support? Chevron down icon Chevron up icon

Our eBooks are currently available in a variety of formats such as PDF and ePubs. In the future, this may well change with trends and development in technology, but please note that our PDFs are not Adobe eBook Reader format, which has greater restrictions on security.

You will need to use Adobe Reader v9 or later in order to read Packt's PDF eBooks.

What are the benefits of eBooks? Chevron down icon Chevron up icon
  • You can get the information you need immediately
  • You can easily take them with you on a laptop
  • You can download them an unlimited number of times
  • You can print them out
  • They are copy-paste enabled
  • They are searchable
  • There is no password protection
  • They are lower price than print
  • They save resources and space
What is an eBook? Chevron down icon Chevron up icon

Packt eBooks are a complete electronic version of the print edition, available in PDF and ePub formats. Every piece of content down to the page numbering is the same. Because we save the costs of printing and shipping the book to you, we are able to offer eBooks at a lower cost than print editions.

When you have purchased an eBook, simply login to your account and click on the link in Your Download Area. We recommend you saving the file to your hard drive before opening it.

For optimal viewing of our eBooks, we recommend you download and install the free Adobe Reader version 9.