Wednesday, May 30, 2018

How to update the SDK?

Update the IDE and SDK Tools

Once you install Android Studio, it's easy to keep the Android Studio IDE and Android SDK tools up to date with automatic updates and the Android SDK Manager.

Update Your IDE and Change Channels

Android Studio notifies you with a small bubble dialog when an update is available for the IDE, but you can manually check for updates by clicking Help > Check for Update (on Mac, Android Studio > Check for Updates).

Updates for Android Studio are available from the following release channels:
  • Canary Channel: These are bleeding-edge releases, updated roughly weekly, and available for download at developer.android.com/studio/preview.
    In addition to receiving canary versions of Android Studio, you will also receive preview versions of other SDK tools, including the Android Emulator.
    Although these builds are subject to more bugs, they do get tested and we want to offer them so you can try new features and provide feedback. This channel is not recommended for production development.
  • Dev Channel: These are hand-picked canary builds that survived a full round of internal testing.
  • Beta Channel: These are release candidates based on stable canary builds, released to get feedback before going into the stable channel.
  • Stable Channel: The official stable release that is available for download atdeveloper.android.com/studio.
If you'd like to try one of the preview channels (Canary, Dev, or Beta) while still using the Stable build for your production Android projects, you can install both side by side.
To change the update channel for an existing install, proceed as follows:
  1. Open the Preferences window by clicking File > Settings (on Mac, Android Studio > Preferences).
  2. In the left panel, click Appearance & Behavior > System Settings > Updates.
  3. Be sure that Automatically check for updates is checked, then select a channel from the drop-down list (see figure 1).
  4. Click Apply or OK.

Update Your Tools with the SDK Manager

The Android SDK Manager helps you download the SDK tools, platforms, and other components you need to develop your apps. Once downloaded, you can find each package in the directory indicated as the Android SDK Location.

To open the SDK Manager from Android Studio, click Tools > SDK Manager or click SDK Manager  in the toolbar. If you're not using Android Studio, you can download tools using the sdkmanager command-line tool.
When an update is available for a package you already have, a dash appears in the check box next to the package.
  • To update an item or install a new one, click the check box so it shows a checkmark.
  • To uninstall a package, click to clear the check box.
Pending updates are indicated in the left column with a download icon . Pending removals are indicated with a red cross .
To update the selected packages, click Apply or OK, then agree to any license agreements.

Latest android studio requirements and features

Windows Requirements

  • Microsoft® Windows® 7/8/10 (32- or 64-bit)
  • 3 GB RAM minimum, 8 GB RAM recommended; plus 1 GB for the Android Emulator
  • 2 GB of available disk space minimum,
    4 GB Recommended (500 MB for IDE + 1.5 GB for Android SDK and emulator system image)
  • 1280 x 800 minimum screen resolution


Features

Visual layout editor
Create complex layouts with Constraint Layout by adding constraints from each view to other views and guidelines. Then preview your layout on any screen size by selecting one of various device configurations or by simply resizing the preview window.

Fast emulator
Install and run your apps faster than with a physical device and simulate different configurations and features, including ARCore, Google's platform for building augmented reality experiences.

Intelligent code editor
Write better code, work faster, and be more productive with an intelligent code editor that provides code completion for Kotlin Java, and C/C++ languages.

Flexible build system
Powered by Gradle Android Studio's build system allows you to customize your build to generate multiple build variants for different devices from a single project.  

What do you mean by API?

An application program interface (API) is a set of routines, protocols, and tools for building software applications. Basically, an API specifies how software components should interact. Additionally, APIs are used when programming graphical user interface (GUI) components.

What is the use of Android SDK?

A software development kit that enables developers to create applications for the Android platform. The Android SDK  includes sample projects with source code, development tools, an emulator, and required libraries to build Android applications

what is android ?

The official language for Android development is Java. Large parts of Android are written in Java and its APIs are designed to be called primarily from Java. It is possible to develop C and C++ app using the Android Native Development Kit.

What is the difference between overloading and overriding?

Overloading occurs when two or more methods in one class have the same method name but differentparameters. Overriding means having two methods with the same method name and parameters 

What are the four pillars of Java?

1.Abstraction
Abstraction is a process of exposing essential feature of an entity while hiding other irrelevant detail. Why would you want to use abstraction?
abstraction reduces code complexity and at the same time it makes your aesthetically pleasant.
2.Encapsulation
We have to take in consideration that Encapsulation is somehow related to Data Hiding.
Encapsulation is when you hide your modules internal data and all other implementation details/mechanism from other modules. it is also a way of restricting access to certain properties or component.
Remember, Encapsulation is not data hiding, but Encapsulation leads to data hiding
3.Inheritance
Like the word Inheritance literally means it is a practice of passing on property, titles, debts, rights and obligations upon the death of an individual. in OOP this is somehow true(Except the death of an individual) , where The base class(the existing class sometimes called as the Parent class) has properties and methods that will be inherited by the sub class(sometimes called a subtype or child class) and it can have additional properties or methods.
The ability of creating a new class from an existing class. 
4. Polymorphism
Just like in biology, Polymorphism refers to the ability to take into different forms or stages. A subclass can define its own unique behavior and still share the same functionalities or behavior of its parent/base class.Yes, you got it right, subclass can have their own behavior and share some of its behavior from its parent class not the other way around. A parent class cannot have the behavior of its subclass.
Polymorphism is the ability of an object to change behavior on runtime

What is class & object in JAVA?

Classes and Objects are basic concepts of Object Oriented Programming which revolve around the real life entities. Class. A class is a user defined blueprint or prototype from which objectsare created.

What are the feature of java ?

The main objective of Java programming language creation was to make it portable, simple and secure programming language. Apart from this, there are also some awesome features which play important role in the polularity of this language. The features of Java are also known as java buzzwords. Following is a list of most important features of Java language. The Java Features given below are simple and easy to understand.
Java Features
  1. Simple
  2. Object-Oriented
  3. Portable
  4. Platform independent
  5. Secured
  6. Robust
  7. Architecture neutral
  8. Dynamic
  9. Interpreted
  10. High Performance
  11. Multithreaded
  12. Distributed

What is JAVA?

Java is a programming language that developers use to create applications on your computer. Chances are you've downloaded a program that required the Java runtime, and so you probably have it installed it on your system. Java also has a web plug-in that allows you to run these apps in your browser.

How can I earn money online in 2-3 hours daily?

Earning online money is easy. These days with easy internet access, you just have to look in the right direction, and develop some basic...