logo资料库

Pro Android UI (Android UI设计开发高级教材).pdf

第1页 / 共565页
第2页 / 共565页
第3页 / 共565页
第4页 / 共565页
第5页 / 共565页
第6页 / 共565页
第7页 / 共565页
第8页 / 共565页
资料共565页,剩余部分请下载后查看
Contents at a Glance
Contents
About the Author
About the Technical Reviewer
Acknowledgments
Part 1: Introduction to the Core Classes for Android UI Design: Development Tools, Layout Containers and Widgets
Chapter 1: Android UI Design Tools: Setting Up Your Android Development System
Java 6: Download and Install the Foundation for Android
Android ADT Bundle: Find and Download Android’s IDE
Android ADT Bundle: Installing the Android IDE
Android ADT Bundle: Launch the IDE and Update the ADT
UI Wireframing Tool: Downloading and Installing Pencil
Digital Image Editing: Download and Install GIMP 2.8.10
3D Modeling and Animation: Download and Install Blender
Digital Audio Editing: Downl oad and Install Audacity 2.0.5
Digital Video Editing: Download and Install Lightworks 11.5
Summary
Chapter 2: Android UI Layouts: Layout Containers and the ViewGroup Class
Layout Containers: Using XML for Tag-based UI Design
Using Parameters: Refining and Customizing the UI Tags
Android ViewGroup: Our Layout Container’s Superclass
ViewGroup.LayoutParams: Nested Class Controls Layout
ViewGroup.MarginLayoutParams: Nested Class for Margin
The Difference Between Margins and Padding Parameters
Animating Your ViewGroup: LayoutAnimationController
Create a UserInterface Project and pro.android.ui Package
The New Android Application Dialog
New Android Application – Configure Project Dialog
New Android Application – Configure Launcher Icon
New Android Application – Create Activity Dialog
New Android Application – Blank Activity Dialog
ViewGroup XML Attributes: Configuring the RelativeLayout
View XML Attributes: Configuring the TextView UI Widget
View Padding Parameter: Add Space Inside the Container
The AnalogClock Widget: Adding a View to the ViewGroup
Using the Values Folder: Finish Your UI Design Using XML
Summary
Chapter 3: Android UI Widgets: User Interface Widgets and the View Class
The Android View Class: The Superclass for UI Widgets
Android View Direct Subclasses: Key Widgets and Utilities
Using View Properties: Important Parameters
Focus of a View: Which UI Widget has the User’s Attention
View Listeners: Making a UI Widget Respond to the User
UI Layout Creation: Using the setContentView() Method
Adding a Button UI Widget to Our RelativeLayout Container
Eclipse ADT Problems Tab: Debugging XML Errors in ADT
Relative Positioning: Adding the UI Button to the Hierarchy
String Constants: Adding a Tag for Our UI Button
Event Handling: Adding an OnClickListener in Java Code
Controlling AnalogClock Visibility: .setVisibility() Method
Install and Configure an Emulator: Testing Our Java Code
Completing the UI Design Simulation: Adding Two Buttons
Summary
Part 2: Introduction to the Android Menu Classes for UI Design: OptionsMenu, ContextMenu, PopupMenu and ActionBar
Chapter 4: Android UI Options Menus: OptionsMenu Class and the Action Bar
Android Menu Class: A Public Interface for Making Menus
Menus for Android User Interface Design: An Overview
The Options Menu
The Context Menu
The Popup Menu
Using XML to Define a Menu: and Tags
Defining the Menu Attributes: Using Child Tag Parameters
Options Menu Design: Using the main.xml Menu Definition
Customizing Our OptionsMenu: Adding String Constants
Customizing Our OptionsMenu: Editing the Parameters
Expanding Our OptionsMenu: Adding Six More MenuItems
Basic Digital Imaging with GIMP: Creating Our Menu Icons
Setting a Target Emulator: The Run Configurations Dialog
Testing Our OptionsMenu: Using Switch Orientation Mode
OptionsMenu Event Handling: onOptionsItemSelected()
Summary
Chapter 5: Android UI Local Menus: The ContextMenu Class and PopupMenu Class
ContextMenu Overview: The ContextMenu Public Interface
ContextMenu Methods: How to Implement a ContextMenu
ContextMenu Event Handling via onContextItemSelected( )
Creating a ContextMenu for Our UserInterface Application
String Constants for Our ContextMenu: Using a Tag
Creating an onCreateContextMenu( ) Method and Inflating the ContextMenu
Registering Our ContextMenu Using registerForContextMenu( )
Creating an onContextItemSelected( ) Method to Handle MenuItem Selection
Android’s PopupMenu Class: A UI Widget Localized Menu
Creating a PopupMenu UI for the UserInterface Application
Defining Our PopupMenu MenuItem Objects Using XML Markup
Instantiating Our TextView UI Widget Object for Use with a PopupMenu
Upgrading Our Application API Level Support to Level 11
Instantiating a PopupMenu Inside an OnClickListener( )
Test a PopupMenu in Android’s AVD Nexus One Emulator
Summary
Chapter 6: Android UI Action Bar: Advanced Action Bar Design and ActionBar Class
ActionBar Components
The ActionBar Navigation Modes
The Android ActionBar Class
Creating an XML Foundation for ActionBar Tabs: Layouts
Creating a Java Foundation for ActionBar Tabs: Fragments
Android’s LayoutInflater Class
Using LayoutInflater
clockTabListener: A Private Class Implements TabListener
The FragmentTransaction Class:
Using FragmentTransaction
The FragmentTransaction Class
Summary
Part 3: Android UI Design: UI Layout Considerations, Android OS Design Concepts and Android UI Design Guidelines
Chapter 7: Android UI Design Considerations: Styles, Screen Density Targets and New Media Formats
Android Media Formats: Digital Images and Digital Video
The Terminology of Digital Image and Digital Video Color
Digital Image Compression: Concepts and Terminology
Sound for Android: Digital Audio Codecs and Formats
The Terminology Behind Digital Audio and Sound Design
Sampling Sound
Digital Video Compression: 4D Concepts and Terminology
Define a UI Screen Look and Feel: An Introduction to Styles
Creating a Style for Our UserInterface Application Clocks
Using Digital Images and Alpha Channels: A New Media UI
Using GIMP 2.8.10 with Android: Compositing Two Images
Creating Resolution Density Image Assets for All Devices
Summary
Chapter 8: Android UI Design Concepts: Wire-framing & UI Layout Design Patterns
Prototyping the UI Design: Wire-framing Using Pencil 2.0.5
Setting Up a Pencil Working Environment for Android OS
Replicating Our ActionBar UI Design Using Pencil 2.0.5
Adding the Application Icon and Title to the ActionBar
Prototyping Your Landscape UI Design Using Pencil 2.0.5
Rescaling the UI Design in Pencil to Landscape
Android UI Design Is Complex: The Many Considerations
Basic Android UI Design Rules: Conforming to Android UI
Android UI Screen Navigation: Primary Gestures Used in Android
Advanced UI Navigation Classes: Navigation Drawer or Swipe View
Android Intra-Application Navigation: The Difference Between Up and Back
Allowing Users to Configure Your Apps: Settings and Help
Feedback in UI Design: Notification and Confirmation
Branding in UI Design: Writing Style, Fonts, and Icons
UI Design Patterns: Grouping Devices by Product Genres
UI Design Patterns: Why Different Layouts Are Necessary
UI Design for Backward Compatibility: Android 2, 3, and 4
Android UI Design Principles: Exciting, Simple, and Personal
Summary
Chapter 9: Android UI Layout Conventions, Differences and Approaches
UI Layout Spacing: The 48 DIP User Interface Layout Rule
UI Layout Panes: Single Pane Versus Multi-Pane Layouts
UI Layout Compound View Types: Orientation Changes
Auto-Scaling and Positioning UI Design: Layout Constants
Design UI Elements Relative to Each Other: RelativeLayout
Using Multiple UI Layout Definitions: Resource Qualifiers
Defining the Same Layout More Than Once: Layout Aliases
Pre-Android 3.2 Resource Qualifiers: Small, Large, XLarge
Post-Android 3.2 Resource Qualifiers: Screen Size in DIP
App Screen Size Support: Declaring Via AndroidManifest
Creating Morphable UI Designs: Using Resource Qualifiers
AnalogClock Graphics: Adding a Button to Our UI Design
Creating Multiple Button Labels: Adding String Constants
Creating Multiple Button Elements: Using RelativeLayout
Create a Resource Qualifier Folder and Landscape Layout
Summary
Chapter 10: Android UI Theme Design and Digital Media Concepts
Introduction to Themes: Styling an Entire App or Activity
Applying Application-wide Theme: The Tag
Customizing the Theme: Creating a Grey Color ActionBar
Customizing the Theme: Creating Red Title Text
Applying an Activity-wide Theme: Using Tags
Android Digital Image Formats: PNG8, PNG24, PNG32, JPEG, GIF, WebP
Digital Image Resolution: Pixel Arrays and Aspect Ratios
Digital Image Color Values: Color Theory and Color Depth
Image Compositing: Alpha Channels and Blending Modes
Represent Color or Alpha in Code: Hexadecimal Notation
Digital Image and UI Masking: Alpha Channel UI Compositing
Achieving Smooth Edges in a Design: Using Anti-Aliasing
Digital Image Optimization: Compression and Dithering
Dithering
Alpha Channel
Creating Our World Clock Image Asset: GIMP Compositing
Creating Our Golden Hoop Clock: Shifting the Hue in GIMP
Implementing AnalogClock UI in Java Code: Finishing Up!
Screen Size Resource Qualifiers: An AnalogClock in Space
Summary
Part 4: Basic Android UI Design: Basic Layout Containers: FrameLayout, LinearLayout, RelativeLayout and GridLayout
Chapter 11: Android’s FrameLayout Class: Using Digital Video in Your UI Design
Android’s FrameLayout Class: Framing Individual Content
The FrameLayout.LayoutParams Nested Class: Gravity
Android’s VideoView Class: Using Digital Video in a Frame
An Android Video Lifecycle: Eight Video Playback Stages
Android’s MediaPlayer Class: The Video Playback Engine
The MediaController Class: Controlling Video Playback
A UserInterface App SplashScreen: Using a FrameLayout
Android’s URI Class: Referencing Data in an Android App
Using the Uri.Parse( ) Method: Feeding Our VideoView Data
Core Digital Video Concepts: Frames, Frame Rate, or FPS
Digital Video in Android: MPEG4 H.264 and WebM Format
Digital Video Compression: Bit-Rate, Streams, SD and HD
Digital Video Compression: Using Codecs and Settings
Creating Digital Video Content: Using Terragen3 Software
Creating an Uncompressed AVI Format: Using VirtualDub
Applying Video Compression: Using Sorenson Squeeze
Editing Your Squeeze Pro Presets
Compressing the MPEG4 File Using Squeeze It! Button
Starting Video Playback: Testing the VideoView Java Code
Scaling Video to Fit Screen Aspect using a FrameLayout UI Container
Looping Video in Android: Using an OnPreparedListener( )
Stream Digital Video in Android: Use an HTTP URL in URI
Implement a Media Transport UI: Using a MediaController
Summary
Chapter 12: Android’s LinearLayout Class: Horizontal and Vertical UI Design
LinearLayout Class: Android’s Most Used UI Class
The LinearLayout Class: Horizontal or Vertical UI Design
UI Element Spacing in LinearLayout: Using Layout Weight
LinearLayout.LayoutParams Nested Class: Layout Weight
ImageButton Class: Create Custom Button Graphics
Android ImageButton Class: Multi-State Graphical Buttons
ImageButton States: Normal, Pressed, Focused, and Hovered
Creating a UserInterface Menu Structure: UI Layouts Menu
Using GIMP Digital Imaging Software for UI Design
Creating Multi-State ImageButton Assets: Using GIMP 2.8.10
Creating Multi-State ImageButtons: Using a tag
Creating a LinearLayout UI Design: Using
Inflating the LinearLayout UI Design: Coding LinearActivity
Nesting UI Layout Containers for Advanced Design
Complex LinearLayouts: Nesting LinearLayout Containers
Three Deep LinearLayouts: Nesting Nested LinearLayouts
Making the LinearLayout Functional: Java Event Handling
Summary
Chapter 13: Android’s RelativeLayout Class: UI Design Using One Layout Container
The RelativeLayout Class: UI Design Using Your Relatives
The RelativeLayout.LayoutParams Nested Class: UI Design
General Layout Positioning Parameters: Above, Below, and Center
Layout Alignment Parameters: Top, Bottom, Left, Right, Start, End
Localized Layout Positioning Parameters: toLeftOf and toRightOf
Align Parent Layout Positioning Parameters: AlignParentTop et. al.
Adding RelativeLayout to the UserInterface Menu Structure
Porting a LinearLayout Design to a RelativeLayout Design
Positioning UI Designs Using RelativeLayout Position Tags
Aligning the UI Design Using RelativeLayout Alignment
Margin Aligning a UI Design Using the Anchor UI Element
Using a MarginTop Parameter to Center Your Planet Names
Balancing Your RelativeLayout UI Design by Tweaking Parameters
Summary
Chapter 14: Android’s GridLayout Class: UI Design Using a Grid-based Layout
The GridLayout Class: UI Design Using a Grid
Using the RowSpec and ColumnSpec Parameters
About GridLayout Locations, Flexibility, Space, and Gravity
Using Visibility with the GridLayout Class: Using GONE
Shortcomings of GridLayout Class: No Weight Parameter
Layout Parameters in GridLayout: Nested Classes
The GridLayout.LayoutParams Nested Class: Layout Parameters
GridLayout.Alignment Nested Class: Alignment Constants
GridLayout.Spec Nested Class: Horizontal or Vertical Spec
The Many GridLayout Class Parameters: Default Settings
Implementing GridLayout in the UserInterface App
Adding GridLayout to the UserInterface Menu Structure
Defining The GridLayout: Foundation for a Grid UI Design
Adding More Planets and Information: Upgrading strings.xml
Interacting with GridLayout UI via Java in GridActivity.java
Using Gravity Parameters to Control GridLayout Positioning
Using a Column Span Feature to Add Center TextView Area
Adding the Java Code to Make Your GridLayout Interactive
Adding New Media Elements and Compositing to Your Grid UI
Summary
Part 5: Advanced Android UI Design: Advanced Layout Containers: DrawerLayout, SlidingPane, ViewPager, PagerTitleStrip and P...
Chapter 15: Android’s DrawerLayout Class: Using a UI Drawer in Your UI Design
The DrawerLayout Class: Designing Using a Retractable UI
Android Classes Used with DrawerLayout
The Android ListView Class: UI Design with Selection Lists
Android’s AbsListView Class: Base Class for Virtual Lists
The Android AdapterView Class: Using Array-based Views
The Android Adapter Interface: Using Array-based Views
Creating a DrawerLayout Activity for Your UserInterface App
Defining DrawerLayout: Creating a UI Drawer XML Definition
Building Out Your DrawerActivity Java Activity Subclass
Adding ListView Event Handling: Making the UI Functional
Adding Constants for Planet Mars: More Planet Info
Adding Auto-Drawer Retraction: The closeDrawer( ) Method
Refining the DrawerLayout in Your DrawerActivity Class
Changing ImageView and Backgrounds for Each ListView
Summary
Chapter 16: Android’s SlidingPaneLayout Class: Using SlidingPanes in Your UI Design
SlidingPaneLayout Class: UI Design Across Device Types
The SlidingPaneLayout Class Hierarchy
Optimal UI Design Usage for a SlidingPaneLayout Class
Using a Weight Parameter with Your SlidingPaneLayout
Exploring the Three SlidingPaneLayout Nested Classes
Adding a SlidingPaneLayout to Your UserInterface App
Defining a SlidingPaneLayout: Code a SlidingPane UI in XML
Creating a Mars ImageButton: Using GIMP and XML
Finishing the Planet UI Pane Definition: Adding Four ImageButtons
Defining a Planet Information Pane: Adding Five TextViews
Creating a SlidingPaneActivity Subclass to Launch Your UI
Adding Your SlidingPaneActivity Class to the Android Manifest
Tweaking Your SlidingPaneLayout UI Design Layout Width
Compositing Imagery in Your SlidingPaneLayout UI Design
Using Multiple Images in the SlidingPaneLayout UI Design
Making the SlidingPaneLayout Design Interactive Using Java
Testing the SlidingPaneLayout Using a Different Emulator
Summary
Chapter 17: Android’s ViewPager Class: Using ViewPager to Navigate Horizontally
The ViewPager Class: Horizontal Sliding Screen UI Design
ViewPager.LayoutParams Nested Class: Layout Attributes
The PagerAdapter Class: Manage an Array of ViewPages
PagerAdapter Methods: Overriding Methods to Implement a PagerAdapter
ViewPager Indexing Using the Key Object
Define a ViewPaging Layout: Coding Multi-Pane UIs in XML
Add a ViewPagingActivity Class to Your MainActivity Menu
Configuring AndroidManifest.xml
Finish Defining Planet UI Pane: Adding Four ImageButtons
Create a ViewPagingActivity Class to Swipe Space Images
Adding ViewPagerAdapter Class to the ViewPagingActivity
Adding the getCount( ) Method
Adding the .instantiateItem( ) Method
Adding the .destroyItem( ) Method
Adding the .isViewFromObject( ) Method
Adding the public Parcelable .saveState( ) Method
Adding .restoreState( ), .startUpdate( ), and .finishUpdate( )
Testing Your Galaxy Digital Image Asset Paging UI Interface
Summary
Chapter 18: Android’s PagerTitleStrip and PagerTabStrip: ViewPager Navigation UI
The PagerTitleStrip Class: Horizontal Sliding Screen Titles
Loading the PagerTitleStrip Data: Create a String[ ] Array
Calling the PagerTitleStrip Layout: .getPageTitle( ) Method
Define a PagerTitleStrip Layout: Coding PagerTitleStrips in XML
Testing Your ViewPagingActivity Class with PagerTitleStrip
Configuring the PagerTitleStrip: Using Java Methods
Set the TextSize Parameter
Set the TextColor Parameter
Testing Your 12SP TextSize and CYAN TextColor Setting Results
Set the TextSpacing Parameter
The PagerTabStrip Class: Horizontal Sliding Screen Tabs
Morph a PagerTitleStrip UI into a PagerTabStrip UI Design
Morphing Your XML UI Definition
Morphing Your Java UI Definition
Rendering Your New PagerTabStrip UI
Defining Custom Colors for Your PagerTabStrip
Adding Custom Digital Image UI Elements
Using Image Compositing in Your PagerTabStrip UI Design
Summary
Index
For your convenience Apress has placed some of the front matter material after the index. Please use the Bookmarks and Contents at a Glance links to access them.
Contents at a Glance About the Author ��������������������������������������������������������������������������������������������������������������� xix About the Technical Reviewer ������������������������������������������������������������������������������������������� xxi Acknowledgments ����������������������������������������������������������������������������������������������������������� xxiii Introduction ���������������������������������������������������������������������������������������������������������������������� xxv ■ Part 1: Introduction to the Core Classes for Android UI Design: Development Tools, Layout Containers and Widgets ������������������������������������ 1 Chapter 1: Android UI Design Tools: Setting Up Your Android Development System ���������3 ■ ■ Chapter 2: Android UI Layouts: Layout Containers and the ViewGroup Class �����������������29 ■ Chapter 3: Android UI Widgets: User Interface Widgets and the View Class �������������������61 ■ Part 2: Introduction to Android Menu Classes for UI Design: OptionsMenu, ContextMenu, PopupMenu and ActionBar ��������������������������� 95 Chapter 4: Android UI Options Menus: OptionsMenu Class and the Action Bar ��������������97 ■ ■ Chapter 5: Android UI Local Menus: The ContextMenu Class and PopupMenu Class ����131 ■ Chapter 6: Android UI Action Bar: Advanced Action Bar Design and ActionBar Class �������������������������������������������������������������������������������������������������������������153 v
Contents at a Glance vi ■ ■ Part 3: Android UI Design: Layout Considerations, Android OS Design Concepts and Android UI Design Guidelines �������������������������������������������� 191 Chapter 7: Android UI Design Considerations: Styles, Screen Density Targets and New Media Formats �����������������������������������������������������������������������������������193 ■ Chapter 8: Android UI Design Concepts: Wire-framing & UI Layout Design Patterns ����225 ■ Chapter 9: Android UI Layout Conventions, Differences and Approaches ���������������������251 ■ Chapter 10: Android UI Theme Design and Digital Media Concepts ������������������������������273 ■ Part 4: Basic Android UI Design: Basic Layout Containers: FrameLayout, LinearLayout, RelativeLayout and GridLayout ������������������ 309 Chapter 11: Android’s FrameLayout Class: Using Digital Video in Your UI Design ��������311 ■ ■ Chapter 12: Android’s LinearLayout Class: Horizontal and Vertical UI Design ��������������349 ■ Chapter 13: Android’s RelativeLayout Class: UI Design Using One Layout Container ����387 ■ Chapter 14: Android’s GridLayout Class: UI Design Using a Grid-based Layout ������������411 ■ Part 5: Advanced Android UI Design: Advanced Layout Containers: DrawerLayout, SlidingPane, ViewPager, PagerTitleStrip and PagerTabStrip ������������������������������������������������������������������������������������������� 443 Chapter 15: Android’s DrawerLayout Class: Using a UI Drawer in Your UI Design ��������445 ■ ■ Chapter 16: Android’s SlidingPaneLayout Class: Using SlidingPanes in Your UI Design ���������������������������������������������������������������������������������������������������������������473 ■ Chapter 17: Android’s ViewPager Class: Using ViewPager to Navigate Horizontally ����497 ■ Chapter 18: Android’s PagerTitleStrip and PagerTabStrip: ViewPager Navigation UI ����517 Index ���������������������������������������������������������������������������������������������������������������������������������541
Introduction Google’s Android Operating System continues to gain market share, making it one of the most often utilized OSes internationally. Android currently powers everything from smartwatches to iTV sets to smartphones to smartglasses to touchscreen tablets to e-book readers to game consoles and now homes, appliances, audio products, car dashboards, and more. One of the most important design considerations for any Android application is the UI Design (User Interface Design), as this defines how the Android application user interfaces with the objective of the application itself. An Android application that features a streamlined, simple, and elegant UI Design will please users and enhance sales volumes within the Android applications marketplace. The Android OS contains a plethora of UI Design classes that have been specifically created to help Android developers implement creative UI designs, as well as to conform their UI Design to Android OS UI Design standards. This book covers those primary UI Layout Container classes and methods, as well as all the Android UI Design standards and guidelines, which every Android developer should understand and follow in their application design work process. I wrote Pro Android UI to help readers delve into the inner workings of the Android UI Design standards, to explore the most popular UI layout classes and methods, and to be a complimentary title to my recent Pro Android Graphics title. Pro Android UI targets those readers who are already technically proficient, that is, those who are familiar with computer programming concepts and techniques. This title covers the latest Android 4.x Operating System revisions (4.0, 4.1.2, 4.2.2, 4.3.1, and 4.4.2), as well as covering earlier Android OS versions. This book also covers the usage of a wide variety of related open source software packages that can be used in the Android application development work process. Such packages include seasoned open source new media applications like GIMP, Lightworks, Pencil, Blender, and Audacity. We take a look at how the usage of these packages fits into the overall Android application development work process. We also take a look at new media elements and supported formats, how they work, and how to leverage them in your UI Design process. Using a multiple open source software package implementation approach will serve to set Pro Android UI distinctly apart from the other Android user interface design titles currently on the market. This book starts out with the reader installing the latest Java SE and Android SDKs using the Eclipse Kepler IDE, with the Android ADT Bundle, and then many of the most popular open source new xxv
Introduction xxvi media production applications for digital imaging, digital audio editing, digital video production, user interface wireframing and prototyping, and more. The book then progresses through creating Menu UI Designs, ActionBar UI Designs, Android UI Rules and Guidelines, and then finally through the primary types of UI Layout Containers that developers specifically implement for their Android application UI Design. We look at static user interface design using XML mark-up, dynamic user interface design using Java, using digital imaging within your user interface design, using digital video and animation in your user interface design, Android OS user interface design rules and standards , as well as other advanced new media concepts and multimedia application features that are currently popular in Android UI Design for Android application development. We look at the core Android UI Design areas, including UI layout containers, UI widgets, ActionBar UI Design, New Media formats, codecs, concepts and implementations, and advanced concepts such as Fragments, all in fine detail. If you want to get an overview of and a handle on Android UI Design, this title is a great place to start that process.
Part 1 Introduction to the Core Classes for Android UI Design: Development Tools, Layout Containers and Widgets 1
Chapter 1 Android UI Design Tools: Setting Up Your Android Development System In this first chapter, we will set-up your Android Application Development workstation. I recommend using at least a hexa-core Intel or AMD 64-bit PC with 64-bit Windows 8.1 (or at least Windows 7) operating system installed on this workstation, preferable using an SSD (Solid State Drive) for your primary C:\ disk drive. An SSD will provide your workstation with a vastly accelerated overall system performance, especially at software load-time. Fortunately, you can get a hexa-core (or octa-core) online at PriceWatch, or walk into Walmart and pick one up for just a few hundred dollars. Then, simply install all this open source software that I am going to expose you to in this chapter, which is worth thousands (actually, it’s priceless if you factor in the power that it gives you), and you can then create or develop anything that you can imagine— right out of thin air. For those readers who have just purchased their new Pro Android UI Design workstation, and who are going to put an entire development software suite together from scratch, I will go through this entire process. Essentially, these are the steps that I would go through to put together a powerful UI development workstation from scratch with zero expenditure on software. The first objective is to get the entire Oracle Java software development kit (SDK), which Oracle currently calls JavaSE 6u45 JDK (Java Development Kit). Android uses Java Version 6u45, as of Android 4.4, but there is also a Java Version 7u45, and later on this year there will be a Java Version 8 released, which will contain the powerful JavaFX 2.2.45 new media engine, and so great things are coming in the future for Pro Android UI developers! The second thing that we will download and install is Android’s Developer Tools (ADT) that we get from Google’s developer.android.com website. 3
分享到:
收藏