background preloader

Android Scripting With Python

Facebook Twitter

Developers. Developer Resources. FaceDetector.Face. Class Overview A Face contains all the information identifying the location of a face in a bitmap.


Summary Constants public static final float CONFIDENCE_THRESHOLD The minimum confidence factor of good face recognition Constant Value: 0.4 public static final int EULER_X The x-axis Euler angle of a face. Constant Value: 0 (0x00000000) public static final int EULER_Y The y-axis Euler angle of a face. Constant Value: 1 (0x00000001) public static final int EULER_Z The z-axis Euler angle of a face. Constant Value: 2 (0x00000002) Public Methods public float confidence () Returns a confidence factor between 0 and 1. Public float eyesDistance () The Developer's Guide. Android provides a rich application framework that allows you to build innovative apps and games for mobile devices in a Java language environment.

The Developer's Guide

The documents listed in the left navigation provide details about how to build apps using Android's various APIs. If you're new to Android development, it's important that you understand the following fundamental concepts about the Android app framework: Apps provide multiple entry points Android apps are built as a combination of distinct components that can be invoked individually. For instance, an individual activity provides a single screen for a user interface, and a service independently performs work in the background. From one component you can start another component using an intent. Learn more: Apps adapt to different devices Android provides an adaptive app framework that allows you to provide unique resources for different device configurations. SDK. Before installing Android Studio or the standalone SDK tools, you must agree to the following terms and conditions.


This is the Android Software Development Kit License Agreement 1. Introduction 1.1 The Android Software Development Kit (referred to in this License Agreement as the "SDK" and specifically including the Android system files, packaged APIs, and Google APIs add-ons) is licensed to you subject to the terms of this License Agreement. This License Agreement forms a legally binding contract between you and Google in relation to your use of the SDK. 1.2 "Android" means the Android software stack for devices, as made available under the Android Open Source Project, which is located at the following URL: as updated from time to time. 1.3 "Google" means Google Inc., a Delaware corporation with principal place of business at 1600 Amphitheatre Parkway, Mountain View, CA 94043, United States. 2.

Installing the SDK. You should have already downloaded the Android SDK Tools.

Installing the SDK

(If you downloaded the ADT Bundle, you should instead read Setting Up the ADT Bundle.) The SDK Tools package is not the complete SDK environment. It includes only the core SDK tools, which you can use to download the rest of the SDK packages (such as the latest system image). Getting started on Windows Your download package is an executable file that starts an installer.

Double-click the executable (.exe file) to start the install.Make a note of the name and location in which it saves the SDK on your system—you will need to refer to the SDK directory later, when setting up the ADT plugin and when using the SDK tools from the command line.Once the installation completes, the installer offers to start the Android SDK Manager. Getting started on Mac Unpack the ZIP file you've downloaded. Getting started on Linux Unpack the .tgz file you've downloaded. Troubleshooting Ubuntu Information for other platforms. Android Scripting With Python - Installation and Hello World. Installation and Hello World August 19, 2010 By Paul Ferrill One of the things about the Android platform that appeals to many in the Linux community is the fact that it's based extensively on open source, Oracle lawsuits notwithstanding.

Android Scripting With Python - Installation and Hello World

The primary way to write applications for an Android-based phone is still Java. Google provides a Software Development Kit (SDK) with all the documentation, libraries and tools you need. There's even an add-on for the open-source Eclipse Integrated Development Environment (IDE) to help you along. figure 1 Google recently released a new and improved version of what was previously called the Android Scripting Edition (ASE) now renamed to Scripting Layer for Android (SL4A).