Tuesday, August 30, 2016

Construct scalable and performant applications to take advantage of multi-thread asynchronous techniques

Explore the high-level Android asynchronous constructs available on the Android SDK

Choose the most appropriate asynchronous technique to implement your next outstanding feature

Who This Book Is For
This book is for Android developers who want to learn how to build multithreaded and reliable Android applications using high-level and advanced asynchronous techniques and concepts.

What You Will Learn

Get familiar with the Android process model and low-level concurrent and multithread constructs available on the Android SDK

Use AsyncTask to load data in the background, delivering progress results in the meantime

Enhance UI performance and responsiveness by sending work to a service running in the background

Defer, schedule, and batch work on the Android system without compromising the battery life and user experience

Use the JNI interface to execute concurrent work on native layer

Pull and push data from your network servers using the Google GCM platform

Create and compose tasks with RxJava to execute complex asynchronous work in a predictable way

Get accustomed to the use of the Android Loader construct to deliver up-to-date results

In Detail
Asynchronous programming has acquired immense importance in Android programming, especially when we want to make use of the number of independent processing units (cores) available on the most recent Android devices. To start with, we will discuss the details of the Android process model and the Java low-level concurrent framework, delivered by the Android SDK. Next, we will discuss the creation of IntentServices, bound services, and external services, which can run in the background even when the user is not interacting with them. In a more advanced phase, you will create background tasks that are able to execute CPU-intensive tasks in native code–making use of the Android NDK.

You will be then guided through the process of interacting with remote services asynchronously using the HTTP protocol or Google GCM Platform. Finally, we will introduce RxJava, a popular asynchronous Java framework used to compose work in a concise and reactive way.

Saturday, August 27, 2016

This example show how to make a TextView auto scroll down to display bottom of text. In the demonstration, the upper TextView is normal, user cannot see the bottom of text if it is full. The lower one, the TextView will auto scroll down, such that user can see the new added text.

Wednesday, August 24, 2016

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

Book 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!

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

About the AuthorAvisekhar Roy is a B.Tech engineer in computer science. He has had a passion for coding since his school days. However, he had no plans to become a game programmer. His fate landed him in the gaming industry in 2010. Since then, he fell in love with game development.

Avisekhar has worked in many formats of game development environment, ranging from small companies and individual studios to corporate companies and full-scale game development studios. He recently started his own gaming start-up in 2016 and is currently working on games for the mobile platform.

Avisekhar has also worked with some big companies, such as Reliance Games in India, as well as a small-scale studio called Nautilus Mobile. He is now trying to acquire a position in the gaming industry for his own venture, Funboat Games.

Tuesday, August 23, 2016

Pokémon GO updated to version 0.35.0 for Android and 1.5.0 for iOS devices. Below are some release notes and comments from Pokémon GO development team.

Implemented Pokémon Appraisal: Trainers will now be able to learn about a Pokémon’s attack and defense capabilities from their Team Leader (Candela, Blanche or Spark) to determine which of their Pokémon have the most potential for battle.

Still working hard on several new and exciting features to come in the future of Pokémon GO.

This video show how the Team Leader comment on my three Dragonites (with CP 1752, 1089 and 46).

What is Pokemon GO Appraise?

Not all Pokemon are created equal. Some are faster, some are bulkier, some are stronger attackers. Usually, these differences are expressed using IVs – Individual Values. Niantic has avoided introducing IVs on the Game UI, even though they are present in the game mechanics.

Pokemon GO Appraise is a feature that exposes Individual Values and Overall Value of the Pokemon to players. Players have correlated Appraise results with IV scores from various calculators.

Sunday, August 14, 2016

Your account will be permanently terminated for violations of the Pokémon GO Terms of Service. This includes, but is not limited to: falsifying your location, using emulators, modified or unofficial software and/or accessing Pokémon GO clients or backends in an unauthorized manner including through the use of third party software.

For the first three reasons, I think all you and me agree. But for the fourth reason (accessing Pokémon GO clients or backends), it seem including check iv using third party software/web service; so I already removed my intro videos about.

Friday, August 12, 2016

At Google I/O 2016, Google announced that Google Play would be launching on Chromebooks. As an Android developer, your apps will soon be compatible with Chromebooks. Here’s how you can improve the Chromebook experience for your Android apps:

Tuesday, August 9, 2016

Refer to my old exercise "Animation of moving bitmap along path", the bitmap and path are hard-coded inside custom view. It's a modified version; the thing to be drawn (bitmap/path) are held separated and referenced by custom view in a list, such that it is easy to insert more things.

Please notice:
- I don't thing it's a good approach to do this, I just show a interesting exercise.
- You should not do the calculation (such as move the bitmap) inside onDraw(), it's suggested to do it in another thread.

Create a new class AnimationThing.java. It hold the bitmap and path of individual thing.

It appears Niantic has blocked PokeAdvisor from accessing your data. PokéAdvisor will not be able to update user Trainer. The site is in read only mode, so you can search for your Trainer and download your Pokemon for a little while longer.

Wednesday, August 3, 2016

Windows 10 Anniversary Update will begin rolling out around the world. The Windows 10 Anniversary Update is full of new features and innovations that bring Windows Ink and Cortana to life; a faster, more accessible and more power-efficient Microsoft Edge browser; advanced security features; new gaming experiences and more. The Windows 10 Anniversary Update will start rolling out to Windows 10 Mobile phones in the coming weeks.The Windows 10 Anniversary Update is being rolled out to Windows 10 PCs across the world in phases starting with the newer machines first. You don’t have to do anything to get the Windows 10 Anniversary Update, it will roll out automatically to you through Windows Update if you’ve chosen to have updates installed automatically on your device. However, if you don’t want to wait for the update to roll out to you, you can manually get the update yourself on your personal PC. If you’re using a Windows 10 PC at work, you will need to check with your IT administrator for details on your organization’s specific plans to update.