APK and Tutorials for Android Gadgets

Gadget APK

Step-by-step Android Wear Application Development

Step-by-step tutorials that leads you through the essential concepts, tools, and techniques for developing applications for smart watches using the Android Wear SDK.  Step-by-step Android Wear Application DevelopmentHave you ever thought to yourself: “I wish I had learned to develop iPhone ...

Step-by-step Android Wear Application Development
5 (100%) 3 votes
View details »

Android Design Support Library

Posted by Ian Lake, Developer Advocate Android 5.0 Lollipop was one of the most significant Android releases ever, in no small part due to the introduction of material design, a new design language that refreshed the entire Android experience. Our detailed spec is a great place to start to adopt ...

Android Design Support Library
5 (100%) 3 votes
View details »

Android example: Thread, Handler and Looper

Example to run task on background thread using Thread, Handler and Looper: com.example.androidthreadlooperhandler.MainActivity package com.example.androidthreadlooperhandler;import android.os.Bundle;import android.os.Handler;import android.os.Looper;import android.os.Message;import ...

Android example: Thread, Handler and Looper
4.7 (93.33%) 3 votes
View details »

The processing instruction target matching “[xX][mM][lL]” is not allowed

If you get the following error in your AndroidManifest.xml, especially when you copy and paste from web:Parser exception for /…/AndroidManifest.xml: The processing instruction target matching “” is not allowed. Most probably there are some character exists before ...

The processing instruction target matching “[xX][mM][lL]” is not allowed
4.5 (90%) 4 votes
View details »

Android custom touch view, with callback interface.

This example, implement custom view with touch function, and also callback interface. And also implement listener at activity side. Such that the view can pass touched information to activity. com.example.androidtouchview.TouchView.java, custom view. package com.example.androidtouchview;import ...

Android custom touch view, with callback interface.
4.3 (86.67%) 3 votes
View details »

Learn Android Studio: Build Android Apps Quickly and Effectively

Learn Android Studio: Build Android Apps Quickly and Effectively 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, ...

Learn Android Studio: Build Android Apps Quickly and Effectively
4.7 (93.33%) 3 votes
View details »

Free eBook – HTTP/2: A New Excerpt from High Performance Browser Networking

HTTP/2: A New Excerpt from High Performance Browser NetworkingBy Ilya GrigorikPublisher: O’Reilly MediaFinal Release Date: May 2015 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, ...

Free eBook – HTTP/2: A New Excerpt from High Performance Browser Networking
4.8 (95%) 4 votes
View details »

Load resources from XML

This example show how to load resources from xml. Create /res/values/arrays.xml to define drawable and int, used to load drawable and background color in our ImageViews. <?xml version="1.0" encoding="utf-8"?><resources> <array name="resicon"> ...

Load resources from XML
5 (100%) 3 votes
View details »

Example of using AlarmManager to trigger BroadcastReceiver / alarmManager.set() and setExact()

A simple example of using AlarmManager to trigger a BroadcastReceiver to be called in 10 seconds later. Note: Beginning with API 19 (KITKAT) alarm delivery is inexact: the OS will shift alarms in order to minimize wakeups and battery use. There are new APIs to support applications which need ...

Example of using AlarmManager to trigger BroadcastReceiver / alarmManager.set() and setExact()
5 (100%) 3 votes
View details »

Update “android.permission.READ_EXTERNAL_STORAGE” for KitKat

With re-visiting my old post “Convert between Uri and file path, and load Bitmap from“, to load image from Uri form “content://media/external/images/media/xxxxx”, real path in form of “/storage/emulated/0/Picture/…” and Uri in form of ...

Update “android.permission.READ_EXTERNAL_STORAGE” for KitKat
5 (100%) 3 votes
View details »