[Android SDK Samples]
  1. Import the project from SDK : https://groups.google.com/forum/#!topic/android-beginners/Y1bTqc61tQU
    Select "Create project form existing source" and then all the fields will
    autopopulate when you select the ApiDemos folder.
  2. Fix build error : http://stackoverflow.com/questions/4298155/compiling-and-running-apidemos
    http://rickiedroid.blogspot.tw/2011/02/add-open-sdk-apidemos-work-with-your.html
    I had the same problem and this is my solution.

    Uncheck "Build automatically" in the menu "project"
    Select "Clean" from menu "project".
    Select "Clean projects selected below" and check "ApiDemos".
    Check "Start a build immediatly", "Build only the selected projects"
[New package]
  1. http://stackoverflow.com/questions/15684183/how-can-i-make-a-child-package-inside-a-package-in-eclipse-project-explorer
    Add new package -> Add new class
  2. use external jar : http://stackoverflow.com/questions/1334802/how-can-i-use-external-jars-in-an-android-project
[Git]
  1. EGit: http://my.oschina.net/China2012/blog/174874
  2. Delete project fail :
    1. Delete the project first, but get failed.(.git/gen folder can't be deleted.)

    2. Close Eclipse , and delete the .git and folder. Do it again.
    1. Clone project from git server

    2. Import | Git | Project from Git or Click the button from the toolbar.
    3. Select the repository from URL
    4. Use ssh to connect to git server
      ssh://username@IP_address/Repository_path
      example : ssh://username@10.8.70.13/data/git/SmartWatch_Android
    5. Enter the password
    6. Set the local directory
    7. Import as an existing projects
    1. Create a new package

    1. Create a new class


  3. The git clone project path is : C:\Users\Administrator\git\SmartWatch_Android , need to select the
  4. Set the user name : Menu | Windows | Preference

    http://wiki.eclipse.org/EGit/User_Guide
    http://stackoverflow.com/questions/10663492/how-to-change-default-author-and-commiter-in-eclipse-git-plugin


[Others]