Difference between revisions of "Working with Android Studio"

From CDOT Wiki
Jump to: navigation, search
(Week 5)
(Week 5)
Line 11: Line 11:
 
== Week 5 ==
 
== Week 5 ==
 
#The following shortcut can be used to change the order of lines in the IDE, Alt + Shift + Up/Down (2014) [http://www.developerphil.com/android-studio-tips-of-the-day-roundup-1/] (Elsi Nushaj 2/9/2015: Shortcut for moving lines of code)
 
#The following shortcut can be used to change the order of lines in the IDE, Alt + Shift + Up/Down (2014) [http://www.developerphil.com/android-studio-tips-of-the-day-roundup-1/] (Elsi Nushaj 2/9/2015: Shortcut for moving lines of code)
 
+
#Duplicate Lines - Copy the current line and paste it below without interfering with your clipboard(2014) [http://www.developerphil.com/android-studio-tips-of-the-day-roundup-2/] (Tai Nguyen 2/9/2015: Copy the current line)
 
2. The following link is for helping you to use your Android phone to debug your application on Android Studio. Taken from Google Developer website.
 
2. The following link is for helping you to use your Android phone to debug your application on Android Studio. Taken from Google Developer website.
 
[http://developer.android.com/tools/device.html] (Sandeep, Saldanha 2/9/2015: Helping you to Debug)
 
[http://developer.android.com/tools/device.html] (Sandeep, Saldanha 2/9/2015: Helping you to Debug)

Revision as of 00:16, 15 February 2015

Week 3 (Jan. 25 - 31)

  1. Android Tutorial for Beginners: Part 1 (2014) [1] (Peter Liu 1/25/2015: easy to follow)
  2. You can easily add common methods to any activity or classes. Simply press ctrl + o and a "Select Methods to override/implement" window will appear. Here you will select your required methods. Some other shortcut keys are listed here. GitHub -Krishanthan Lingeswaran
  3. Pressing ctrl + Q while a method or class is highlighted will quickly display the documentation for it. [2](Elsi Nushaj 1/31/2015: quick documentation shortcut)
  4. In Android Studio, press Alt + Enter (option + return on Mac) to import missing classes (Norbert Curiciac)

Week 4 (Feb. 1-7)

  1. Using Github with Android Studio (2013) [3] (Tai Nguyen 2/4/2015: Simple instructions)
  2. Pressing Alt + Enter while typing code will auto complete the rest of the code (2014) [4] (Elsi Nushaj 2/6/2015: Shortcut for completion of code)

Week 5

  1. The following shortcut can be used to change the order of lines in the IDE, Alt + Shift + Up/Down (2014) [5] (Elsi Nushaj 2/9/2015: Shortcut for moving lines of code)
  2. Duplicate Lines - Copy the current line and paste it below without interfering with your clipboard(2014) [6] (Tai Nguyen 2/9/2015: Copy the current line)

2. The following link is for helping you to use your Android phone to debug your application on Android Studio. Taken from Google Developer website. [7] (Sandeep, Saldanha 2/9/2015: Helping you to Debug)

Week 6

Week 7