Looking for a Tutor Near You?

Post Learning Requirement » x
Ask a Question
x

Choose Country Code

x

Direction

x

Ask a Question

x

Hire a Tutor

Android Introduction

Published in: Android Training
2,583 Views

Basic Structure and introduction on Android Application Development

Sagar R / Pune

3 years of teaching experience

Qualification: B.Tech/B.E. (Pune University - 2012)

Teaches: Basic Computer, Computer for official job, MS Office, School Level Computer, Computer Science, IT & Computer Subjects, Marathi, BCA Tuition, IT, C, C++, Java And J2EE, Android Training, BCA Subjects

Contact this Tutor
  1. anno?) Mobile Application Development Android Training
  2. What is Android ? Largest Mobile Application platform Apps for: Mobiles/TabIets Android wears Android TVs Android Auto Android Training
  3. Features of Android: Open source Application frameworl< Beautiful UI Connectivity Storage/Database Media Supports Multitasking GCM Wi-Fi direct and much more... Android Training
  4. Requirements of Android: Operating systems: Microsoft Windows XP or later version. Mac OS. Linux. Tools : Java JDK5 or JDK6 Android SDK IDE Eclipse 1. Android Studio 2. Android Training
  5. Java , o Java is an Object-Oriented Programming Language. Invented by James Gosling in 1991 named Oak. Developed by Sun Microsystems in 1995 named Java, Android Training
  6. Features: Object Oriented Platform independent Sec u re Portable Multithreaded Android Training
  7. Software requirement for java learning: Windows / Linux operating system. Java JDK. Notepad or any other text editor, Android Training
  8. Java Environment Setup: download java ODK), run the ,exe to install Java. Assuming you have installed Java in c:\Program Files\java\jdk directory, Android Training
  9. Setting Path for Windows OS: Right-click on 'My Computer' and select 'Properties'. Click on the 'Environment variables' button under the 'Advanced' tab. Now, alter the 'Path' variable so that it also contains the path to the Java executable. Example, if the path is currently set to then change your path to read c:\Program Files\java\jdk\bin'. Android Training
  10. Java Basic Component: Object - Objects have states and behaviors. A dog has states-color, name, as well as behaviors barking, eating. An object is an instance of a class. Class - A class can be defined as a template/blue print that describes the behaviors/states that object. Methods - A method is basically a behavior. A class can contain many methods. It's method where the logics are written, data is manipulated and all the actions are executed. Instance Variables - Each object has its unique set of instance variables.An object's state is created by the values assigned to these instance variables Android Training
  11. First Java Program: public class FirstProgram{ public static void main(String[ ] args){ System,out,println(" Hello World // prints Hello World Android Training
  12. How to save the file, compile and run the program? Open notepad and add the code as above. Save the file as: FirstProgram,java Open a command prompt window(cmd) and go to the directory where you saved the class. To compile your code: javac FirstProgram.java To run your program: java FirstProgram Android Training
  13. Command Prompt: C :> javac FirstProgram,java C :> java FirstProgram HelloWorId Android Training
  14. Basic Syntax: Case Sensitivity, O Hello and hello are different. Class Names For all class names, the first letter should be in Upper Case. public class MySchool Android Training
  15. Method Names - All method names should start with a Lower Case letter, public void myMethodName() Program File Name - Name of the program file should exactly match the class name. MySchool,java Android Training