Android Programming By Mohsen Biglari Android Programming, Part2: Android Studio, A Closer Look 1 Part2: Android Studio, A Closer Look By Mohsen Biglari.

Slides:



Advertisements
Similar presentations
LIS508 lecture 7 Thomas Krichel Structure of talk basic concepts customization follow and practice but PLEASE set things back Literature:
Advertisements

Introduction to Eclipse. Start Eclipse Click and then click Eclipse from the menu: Or open a shell and type eclipse after the prompt.
Windows - Desktop Whats on the selected background My Computer My Documents Recycle Bin Application shortcuts Files and Folders (creates clutter) Task.
1 After completing this lesson, you will be able to: Create a new presentation using a design template. Enter text in the Slide pane. Create a new slide.
Using Eclipse. Getting Started There are three ways to create a Java project: 1:Select File > New > Project, 2 Select the arrow of the button in the upper.
Using a Template to Create a Resume and Sharing a Finished Document
Guide to Oracle10G1 Introduction To Forms Builder Chapter 5.
A Guide to Oracle9i1 Introduction To Forms Builder Chapter 5.
1 After completing this lesson, you will be able to: Start Outlook. Navigate within Outlook. Use the Outlook Bar. Use the Folder List. Use the Office Assistant.
Using the Visual Basic Editor Visual Basic for Applications 1.
Customizing Outlook. Forms Window in which you enter and view information in Outlook Outlook Form Designer The environment in which you create and customize.
PowerPoint Tutorial 1: Creating a Presentation
Chapter 2: The Visual Studio.NET Development Environment Visual Basic.NET Programming: From Problem Analysis to Program Design.
Ch 9 Managing Active Directory User Accounts. Objectives Create Organizational Unit Creating User Accounts in Active Directory Disabling, Enabling, and.
Introduction to ArcGIS Add-Ins Exercises GIS/LIS Conference, 2014 Rochester, MN.
Visual Studio Tips and Tricks. Credits Zain Naboulsi Microsoft Developer Evangelist isbn:
Chapter 1: Windows XP. Contents of Desktop Lesson 1 (P.4)
Chapter 4 Code Editor Goals and Objectives Program more efficiently? How can you speed up your development process? Do you want to learn useful shortcuts.
Chapter 3 Navigating a Project Goals & Objectives 1.Get familiar with the navigation of the project. How is everything structured? What settings can you.
UBUNTU - Desktop Panel by default is across the top Applications menu Quick Launch icons Notification area Clock Shut Down Task Bar by default is on the.
XP Deleting Slides In Slide Sorter view or in the Slides tab in Normal view, right-click the slide thumbnail of the slide you want to delete; or in the.
| | Tel: | | Computer Training & Personal Development Outlook Express Complete.
XP New Perspectives on Microsoft Office FrontPage 2003 Tutorial 4 1 Microsoft Office FrontPage 2003 Tutorial 4 – Using Shared Borders and Themes.
IT 211 Project Integration and Deployment Lab #11.
1 Chapter 5 Getting Started with Windows XP. 2 What’s inside and on the CD? In this chapter, you will learn how to: –Start and shut down Windows XP –Launch.
Chapter 6 Generating Form Letters, Mailing Labels, and a Directory
1 Word 2010 Intro to Word – Part 2. 2 Steps for Creating a Document  Step 1: Open a Blank Document (New, or Open)  Step 2: Name the Document (Save As.
©2006 Dipl.-Ing. Jerzy CzopikNovember 10&11, ProZ.com Regional Conference Edinburgh Edinburgh 2006 Word – the widely unknown animal Formatting Word.
OCC Network Drives  H:\  P:\ 
Project Deployment IT [211 CAP] How to convert your project to a full application.
Windows Listening Guide.  The software that manages the sharing of the resources of a computer. The overall function of the computer.  MASTER CONTROLLER.
Using Microsoft Visual Studio 2005 Original by Suma Rao Revised by John G. McMahon ( 9/6/2008 )
Microsoft Access 2010 Chapter 10 Administering a Database System.
Visual Basic.NET Comprehensive Concepts and Techniques Chapter 8 Debugging, Creating Executable Files, and Distributing a Windows Application.
Click your mouse to continue. The Office Shortcut Bar The Office Shortcut Bar contains program buttons that, when clicked, start new documents or start.
First Venture into the Android World Chapter 1 Part 2.
Using Visual Studio C++ Express Ron Gross A current copy of this can be found at or this direct linkhttp://tinyurl.com/2ucarothis.
Slide 1 Using Menu Bar & Common Dialog Boxes. Slide 2 Setting Up the Main Items v First open the form on which you want the menu located v Then start.
M. D. Slaughter1 Microsoft Office PowerPoint 2003 Tutorial Lai 687 Instructional Design M. D. Slaughter.
This is how you invoke the Microsoft Visual Studio 2010 Software. All Programs >> Microsoft Visual Studio 2010.
CMPF124 Personal Productivity With Information Technology Chapter 1 – Part 2 Introduction to Windows Operating Systems Manipulating Windows GUI CMPF 124.
Copyright (c) 2003 by Prentice Hall Provided By: Qasim Al-ajmi Chapter 2 Introduction to Visual Basic Programming Visual Basic.NET.
Intoduction to Andriod studio Environment With a hello world program.
Word and the Writing Process. To create a document 1.On the Start menu, point to Programs, and then click Microsoft Word. A new document opens in Normal.
Chapter 2: The Visual Studio.NET Development Environment Visual Basic.NET Programming: From Problem Analysis to Program Design.
ECLIPSE IDE & PACKAGES. ECLIPSE IDE Setting up workspace Making a new project How to make classes Packages (will explain more about this) Useful short-cuts.
OVERVIEW OF WINDOWS BCOMP0101 Introduction to Information Technology Noris Bt. Ismail Faculty of Information and Communication Technology Tel :
Chapter 5 Using a Template to Create a Resume and Sharing a Finished Document Microsoft Word 2013.
Presenter Sudhanshu Gupta
Dive Into® Visual Basic 2010 Express
Visual Basic .NET BASICS
Chapter 2: The Visual Studio .NET Development Environment
Microsoft Visual Basic 2005 BASICS
UBUNTU - Desktop Panel by default is across the top Applications menu
Fastest way for already created documents
Chapter 4 MS ACCESS DATABASE.
Word and the Writing Process
Chapter II Creating Your First PowerPoint Presentation
Access Lesson 1 Understanding Access Fundamentals
CIS 470 Mobile App Development
1. Open Visual Studio 2008.
Android Developer Fundamentals V2 Lesson 1
Creating Your First C Program Using Visual Studio 2010
Creating Your First C Program Using Visual Studio 2010
CIS 470 Mobile App Development
Autodesk Inventor Tips and Tricks for New Users
Shelly Cashman: Microsoft Word 2016
After completing this lesson, you will be able to:
CIS 694/EEC 693 Android Sensor Programming
Presentation transcript:

Android Programming By Mohsen Biglari Android Programming, Part2: Android Studio, A Closer Look 1 Part2: Android Studio, A Closer Look By Mohsen Biglari

Outlines  New project wizard with application templates  Environment Settings  Recognition of Gradle build system  Project Views (Project, Packages, Android, …)  Windows & Layouts By Mohsen Biglari Android Programming, Part2: Android Studio, A Closer Look 2

New Project By Mohsen Biglari Android Programming, Part2: Android Studio, A Closer Look 3 Project Name Reversed Package Name Projects Folder

Environment Settings, Fonts  File/Settings/Editor/Colors & Fonts/Font  Theme: Darcula/Default  After selecting your favorite theme, save your theme as a custom theme  Change primary font: Consolas  Change font size By Mohsen Biglari Android Programming, Part2: Android Studio, A Closer Look 4

Environment Settings, Appearance  File/Settings/Editor/Appearance  Line numbers  Show method separators By Mohsen Biglari Android Programming, Part2: Android Studio, A Closer Look 5

Environment Settings, Code Completion  File/Settings/Editor/Code Completion  Basic Completion (Ctrl+Space)  Smart Type Completion (Ctrl+Shift+Space) By Mohsen Biglari Android Programming, Part2: Android Studio, A Closer Look 6

Environment Settings, Auto Import  File/Settings/Editor/Auto Import  Optimize imports on the fly  Type Log, wait and press enter (check the imports)  Add unambiguous imports on the fly  Recognize the right class based on the code  Type Log.d(“tag”, “message”) and check the imports  When delete a class, it’s import get deleted automatically By Mohsen Biglari Android Programming, Part2: Android Studio, A Closer Look 7

Gradle Build System By Mohsen Biglari Android Programming, Part2: Android Studio, A Closer Look 8  Two build.gradle file  Top-Level build file  Application build file  Local properties  SDK locations

Project Views  There are several views and scopes  Views  Project  Packages  Android: Separate codes, resources, gradles files  Scopes  Project Files: Just the related files to your project  Problems: files with errors  … By Mohsen Biglari Android Programming, Part2: Android Studio, A Closer Look 9 Related Unrelated

Shortcuts  Run: Shift+F10  Debug: Shift+F9, Step Over: F8, Resume: F9, Breakpoint: Shift+F8  Rename: Shift+F6  Goto class: Ctrl+N  Goto file: Ctrl+Shift+N By Mohsen Biglari Android Programming, Part2: Android Studio, A Closer Look 10

Tricks  Code Completion  Ctrl+Space  Use Tab instead of Enter  Ctrl+Shift+Space  Shift+Ctrl+Enter: Complete your code automatically  Write “public void test(“ and press shift+ctrl+enter  Middle Matching: You just remember part of the name  random.nextInt() -> write: random.int  Ctrl+P: See function parameters By Mohsen Biglari Android Programming, Part2: Android Studio, A Closer Look 11

Windows, Layouts  Navigate by address bar  Class, Interface, Resource, … icons  Access to views  Context menu  View/Tools Windows By Mohsen Biglari Android Programming, Part2: Android Studio, A Closer Look 12

Windows, Layouts  Views in three regions  Left, Right, Bottom  Alt+Number in the left of item  Alt+1: Project  Alt+6: Android  Windows/Store Current Layout as Default  Windows/Restore Default Layout (Shift+F12) By Mohsen Biglari Android Programming, Part2: Android Studio, A Closer Look 13