Android Development Primer - GDG Los Angeles
-
Upload
gerard -
Category
Technology
-
view
78 -
download
0
Transcript of Android Development Primer - GDG Los Angeles
ANDROID STUDIO• The IDE for building Android-based
applications
• Phone and Tablet
• Android TV
• Android Wear
• Glass
DOWNLOADING ANDROID STUDIO
1. Go here:
• http://developer.android.com/sdk/index.html
2. Click on “Download Android Studio”
3. Extract and run the executable (Mac users: see next slide first)
EXTRA STEPS FOR MAC USERS• Preform these steps before running the install
program
1.Apple > System Preferences
2.Security & Privacy
3.Set to “Mac App Store and identified developers” or “Anywhere”
4.Run the install program
5.Afterwards, set it back to “Mac App Store"
RESOURCES• Non-executable parts of an app
• Drawable - icons
• Layout - UI layout
• for landscape: create layout-land folder
• Menu - Menu items
• Values - for themes, and storing key-value pairs
• for other language: values-es
JAVA CODE• Per Android Developer site, you need
JDK 7
• http://developer.android.com/sdk/index.html
• resides in src > main > java
• MainActivity.java - default starting point
PACKAGES• As your app gets bigger, you need to organize it
• That’s where packages come in
• make folders for modules
• adjust the “package” statement at the top of affected java file
• Example (left): GDG app, from https://github.com/gdg-x/frisbee/tree/develop/app/src/main/java/org/gdg/frisbee/android
ANDROID DEVELOPER SITE
• http://developer.android.com/index.html
• Main source of documentation
• You will be here a lot!
YOUTUBE CHANNELS• Android Developers:
• https://www.youtube.com/user/androiddevelopers
• Google Developers:
• https://www.youtube.com/user/GoogleDevelopers
• Slide Nerd:
• https://www.youtube.com/user/slidenerd
ONLINE COURSES
• Coursera:
• https://www.coursera.org/course/android
• Udacity:
• https://www.udacity.com/course/ud853