WELCOME TO ANDROID'S EXAMPLE!

Showing posts with label Developer. Show all posts
Showing posts with label Developer. Show all posts

Source: http://developer.android.com/reference/packages.html



http://developer.android.com/training/index.html


Getting Started

Welcome to Training for Android developers. Here you'll find sets of lessons within classes that describe how to accomplish a specific task with code samples you can re-use in your app. Classes are organized into several groups you can see at the top-level of the left navigation.
This first group, Getting Started, teaches you the bare essentials for Android app development. If you're a new Android app developer, you should complete each of these classes in order.
If you think you might prefer to learn the basics through interactive video training, check out this trailer for a course in the fundamentals of Android development.
Start the video course
  1. Building Your First App

    After you've installed the Android SDK, start with this class to learn the basics about Android app development.
    1. Creating an Android Project
    2. Running Your Application
    3. Building a Simple User Interface
    4. Starting Another Activity
  2. Adding the Action Bar

    The action bar is one of the most important design elements you can implement for your app's activities. Although first introduced with API level 11, you can use the Support Library to include the action bar on devices running Android 2.1 or higher.
    1. Setting Up the Action Bar
    2. Adding Action Buttons
    3. Styling the Action Bar
    4. Overlaying the Action Bar
  3. Supporting Different Devices

    How to build your app with alternative resources that provide an optimized user experience on multiple device form factors using a single APK.
    1. Supporting Different Languages
    2. Supporting Different Screens
    3. Supporting Different Platform Versions
  4. Managing the Activity Lifecycle

    How Android activities live and die and how to create a seamless user experience by implementing lifecycle callback methods.
    1. Starting an Activity
    2. Pausing and Resuming an Activity
    3. Stopping and Restarting an Activity
    4. Recreating an Activity
  5. Building a Dynamic UI with Fragments

    How to build a user interface for your app that is flexible enough to present multiple UI components on large screens and a more constrained set of UI components on smaller screens—essential for building a single APK for both phones and tablets.
    1. Creating a Fragment
    2. Building a Flexible UI
    3. Communicating with Other Fragments
  6. Saving Data

    How to save data on the device, whether it's temporary files, downloaded app assets, user media, structured data, or something else.
    1. Saving Key-Value Sets
    2. Saving Files
    3. Saving Data in SQL Databases
  7. Interacting with Other Apps

    How to build a user experience that leverages other apps available on the device to perform advanced user tasks, such as capture a photo or view an address on a map.
    1. Sending the User to Another App
    2. Getting a Result from the Activity
    3. Allowing Other Apps to Start Your Activity
Read more...


 http://developer.android.com/sdk/index.html

Android Studio

Intelligent code editor

At the core of Android Studio is an intelligent code editor capable of advanced code completion, refactoring, and code analysis.
The powerful code editor helps you be a more productive Android app developer.

Code templates and GitHub integration

New project wizards make it easier than ever to start a new project.
Start projects using template code for patterns such as navigation drawer and view pagers, and even import Google code samples from GitHub.

Multi-screen app development

Build apps for Android phones, tablets, Android Wear, Android TV, Android Auto and Google Glass.
With the new Android Project View and module support in Android Studio, it's easier to manage app projects and resources.

Virtual devices for all shapes and sizes

Android Studio comes pre-configured with an optimized emulator image.
The updated and streamlined Virtual Device Manager provides pre-defined device profiles for common Android devices.

Android builds evolved, with Gradle

Create multiple APKs for your Android app with different features using the same project.
Manage app dependencies with Maven.
Build APKs from Android Studio or the command line.

More about Android Studio

  • Built on IntelliJ IDEA Community Edition, the popular Java IDE by JetBrains.
  • Flexible Gradle-based build system.
  • Build variants and multiple APK generation.
  • Expanded template support for Google Services and various device types.
  • Rich layout editor with support for theme editing.
  • Lint tools to catch performance, usability, version compatibility, and other problems.
  • ProGuard and app-signing capabilities.
  • Built-in support for Google Cloud Platform, making it easy to integrate Google Cloud Messaging and App Engine.
For more details about features available in Android Studio, read the guide to Android Studio Basics.
If you have been using Eclipse with ADT, be aware that Android Studio is now the official IDE for Android, so you should migrate to Android Studio to receive all the latest IDE updates. For help moving projects, see Migrating to Android Studio.

System Requirements


Windows

  • Microsoft® Windows® 8/7/Vista/2003 (32 or 64-bit)
  • 2 GB RAM minimum, 4 GB RAM recommended
  • 400 MB hard disk space
  • At least 1 GB for Android SDK, emulator system images, and caches
  • 1280 x 800 minimum screen resolution
  • Java Development Kit (JDK) 7
  • Optional for accelerated emulator: Intel® processor with support for Intel® VT-x, Intel® EM64T (Intel® 64), and Execute Disable (XD) Bit functionality

Mac OS X

  • Mac® OS X® 10.8.5 or higher, up to 10.9 (Mavericks)
  • 2 GB RAM minimum, 4 GB RAM recommended
  • 400 MB hard disk space
  • At least 1 GB for Android SDK, emulator system images, and caches
  • 1280 x 800 minimum screen resolution
  • Java Runtime Environment (JRE) 6
  • Java Development Kit (JDK) 7
  • Optional for accelerated emulator: Intel® processor with support for Intel® VT-x, Intel® EM64T (Intel® 64), and Execute Disable (XD) Bit functionality
On Mac OS, run Android Studio with Java Runtime Environment (JRE) 6 for optimized font rendering. You can then configure your project to use Java Development Kit (JDK) 6 or JDK 7.

Linux

  • GNOME or KDE desktop
  • GNU C Library (glibc) 2.15 or later
  • 2 GB RAM minimum, 4 GB RAM recommended
  • 400 MB hard disk space
  • At least 1 GB for Android SDK, emulator system images, and caches
  • 1280 x 800 minimum screen resolution
  • Oracle® Java Development Kit (JDK) 7
Tested on Ubuntu® 14.04, Trusty Tahr (64-bit distribution capable of running 32-bit applications).

Other Download Options


SDK Tools Only

If you prefer to use a different IDE or run the tools from the command line or with build scripts, you can instead download the stand-alone Android SDK Tools. These packages provide the basic SDK tools for app development, without an IDE. Also see the SDK tools release notes. Read more...

 
Material design is a comprehensive guide for visual, motion, and interaction design across platforms and devices. To use material design in your Android apps, follow the guidelines described in the material design specification and use the new components and functionality available in Android 5.0 (API level 21).
This class shows you how to create material design apps with the following elements:
  • The material theme
  • Widgets for cards and lists
  • Custom shadows and view clipping
  • Vector drawables
  • Custom animations
This class also teaches you how to maintain compatibility with versions of Android earlier than 5.0 (API level 21) when you use material design features in your app.

Lessons


Getting Started
Learn how to update your app with material design features.
Using the Material Theme
Learn how to apply material design styles to your app.
Creating Lists and Cards
Learn how to create lists and cards with a consistent look and feel using system widgets.
Defining Shadows and Clipping Views
Learn how to set elevation for your views to create custom shadows and how to clip views.
Working with Drawables
Learn how to create vector drawables and how to tint drawable resources.
Defining Custom Animations
Learn how to create custom animations for views and activity transitions with shared elements.
Maintaining Compatibility
Learn how to maintain compatibility with platform versions earlier than Android 5.0. 

Get started

Dependencies and Prerequisites

  • Android 5.0 (API level 21)
  • Android Studio 0.8

 

Building Apps for Wearables

These classes teach you how to build notifications in a handheld app that are automatically synced to wearables as well as how to build apps that run on wearables.
Note: For more information about the APIs used in these training classes, see the Wear API reference documentation.
  1. Adding Wearable Features to Notifications

    How to build handheld notifications that are synced to and look great on wearables.
    1. Creating a Notification
    2. Receiving Voice Input in a Notification
    3. Adding Pages to a Notification
    4. Stacking Notifications
  2. Creating Wearable Apps

    How to build apps that run directly on wearables.
    1. Creating and Running a Wearable App
    2. Creating Custom Layouts
    3. Adding Voice Capabilities
    4. Packaging Wearable Apps
    5. Debugging over Bluetooth
  3. Creating Custom UIs

    How to create custom user interfaces for wearable apps.
    1. Defining Layouts
    2. Creating Cards
    3. Creating Lists
    4. Creating a 2D Picker
    5. Showing Confirmations
    6. Exiting Full-Screen Activities
  4. Sending and Syncing Data

    How to sync data between handhelds and wearables.
    1. Accessing the Wearable Data Layer
    2. Syncing Data Items
    3. Transferring Assets
    4. Sending and Receiving Messages
    5. Handling Data Layer Events
  5. Creating Watch Faces

    How to create watch faces for wearables.
    1. Designing Watch Faces
    2. Building a Watch Face Service
    3. Drawing Watch Faces
    4. Showing Information in Watch Faces
    5. Providing Configuration Activities
    6. Addressing Common Issues
    7. Optimizing Performance and Battery Life
  6. Detecting Location

    How to detect location data on Android Wear devices.

Popular Posts