Monday, May 25, 2015

Learn Android Studio covers Android Studio and its rich tools ecosystem, including Git and Gradle: this book covers how Android Studio works seamlessly with Git, for source control, and Gradle, a build and test tool. In addition, this book demonstrates how to develop/collaborate with remote Git web-hosting services such as GitHub and Bitbucket. Four complete Android projects accompany this volume and are available for download from a public Git repository.

With this book, you learn the latest and most productive tools in the Android tools ecosystem, and the best practices for Android app development. You will be able to take away the labs' code as templates or frameworks to re-use and customize for your own similar apps.

Android Studio is an intuitive, feature-rich, and extremely forgiving Integrated Development Environment (IDE). This IDE is more productive and easier to use for your Android app creations than Eclipse. With this book you will quickly master Android Studio and maximize your Android development time. Source code on the remote web-hosting service is targeted to the latest Android Studio release, version 1.2.

What you’ll learn

How to get started with the Android Studio IDE

How to navigate and use Android Studio

How to do version control with Git

How to use Gradle

How to use the new Android Wear framework

How to debug your code using Android Studio

How to manage your app projects

How to test your apps

How to analyze and refactor your code

How to customize Android Studio

Who this book is for
This book is for Android app developers new to this IDE tool.

This example list media codec available on the device, using MediaCodecList, to enumerate available codecs, each specified as a MediaCodecInfo object, find a codec supporting a given format and query the capabilities of a given codec.

Download the APK to test on your device.Android Studio - too slow!!!I try to force myself to switch to Android Studio. A suppose one hour example using Eclipse, now use up to 5 hours using Android Studio!

Sunday, May 24, 2015

Android is an open source operating system used for smartphones and tablet computers. The Android market is one of the biggest and fastest growing platforms for application developers, with over a million apps uploaded every day.

Right from the beginning, this book will cover how to set up your Maven development environment and integrate it with your favorite IDE. By sequentially working through the steps in each chapter, you will quickly master the plugins you need for every phase of the Android development process. You will learn how to use Maven to manage and build your project and dependencies, automate your Android application testing plans, and develop and maintain several versions of your application in parallel. Most significantly, you will learn how to integrate your project into a complete factory.

The new HTTP/2 standard is finally here. Approved earlier this year, HTTP/2 adds a new binary framing layer that will help make applications faster, simpler, and more robust. This chapter from the new release of High Performance Browser Networking provides a brief look at this updated protocol and explains how it will reduce latency, minimize protocol overhead, and add support for request prioritization and server push.

In this excerpt, author Ilya Grigorik takes you through HTTP/2's design and technical goals, and explains how Google's SPDY played a critical role in the protocol's development. You'll also learn what's required for upgrading a multitude of servers and clients to HTTP/2.

Sunday, May 17, 2015

Introducing Microsoft Hyperlapse, available for download at http://aka.ms/hyperlapse. Microsoft Hyperlapse lets you creates smooth and stabilized time lapses, distilling your experiences into beautiful, shareable videos. Show off footage from your hike, or let your friends experience how it felt to fly down the mountain on skis. Hyperlapse is available as an app for Android or Windows Phone, as well as a pro version in preview for enthusiasts or professionals who want to hyperlapse video from a GoPro or other camera.

Joining the Microsoft Hyperlapse Mobile for Android community, you will get access to pre-release versions of the Microsoft Hyperlapse Mobile for Android application. You can give feedback, submit issues, receive the most current information on the apps and interact with product team members.

A simple example of CalendarView (added in API level 11), a calendar widget for displaying and selecting dates. The range of dates supported by this calendar is configurable. A user can select a date by taping on it and can scroll and fling the calendar to a desired date.

Gradle is the new build system for Android projects on Android Studio.

The Gradle Daemon is a background process that does the heavy lifting of running builds, then stays alive between builds waiting for the next build. This allows data and code that is likely to be required in the next build to be kept in memory, ready to go. This dramatically improves the performance of subsequent builds. Enabling the Gradle Daemon is an extremely cheap way to decrease build times. ~ https://gradle.org/docs/current/userguide/gradle_daemon.html

To enable Gradle Daemon, create a file "gradle.properties" in Gradle directory:
on Linux
/home/<username>/.gradle/
on Mac
/Users/<username>/.gradle/
on Windows
C:\Users\<username>\.gradle

Add the following lines to the file:org.gradle.parallel=trueorg.gradle.daemon=true

Friday, May 15, 2015

-- Explore the conference agenda, with details on themes, topics and speakers
-- Add events to a personalized schedule
-- Get reminders before events in “My schedule” start
-- Watch the keynote and sessions live stream
-- Sync your schedule between all of your devices and the I/O website
-- Guide yourself using the vector-based conference map
-- Follow public social I/O related conversations on Google+ and Twitter
-- See I/O content from previous years in the Video screen
-- Use the Widget to check your upcoming events directly from your home screen

*Exclusive for In person attendees:*
-- Take advantage of facilitated pre-event WiFi configuration
This app is optimized for phones and tablets of all shapes and sizes.
Source code for the app will be available soon after I/O.

Wednesday, May 6, 2015

Download for free - C++ Today: The Beast is Back, by Jon Kalb and Gašper Ažman.
Compliments of JetBrains, available at PDF, EPUB and MOBI formats.

Now that software development is shifting primarily toward mobile and cloud computing, the venerable C++ programming language is returning to the dominant position it held during the object-oriented boom of the 1990s. In this O′Reilly report, you′ll learn why C++ is once again the preferred choice across several diverse industries, after taking a backseat to Java during the 2000s.

Friday, May 1, 2015

Android 5.0 provides a new JobScheduler API that lets developers optimize battery life by defining jobs for the system to run asynchronously at a later time or under specified conditions. Here is a example to use JobScheduler to run JobService repeatly in every 10 seconds.