I have just started learning to write apps for android using Eclipse. Where can I find free source code that I can use during my learning experience?
The official sample code and tutorials can be found here: http://developer.android.com/resources/index.html
For reading code I can recommend these repositories:
More sample applications for the Android platform: http://code.google.com/p/apps-for-android/
Open Source examples from the books http://commonsware.com/AndTutorials/ and http://commonsware.com/AdvAndroid/ are available at http://github.com/commonsguy/cw-andtutorials and http://github.com/commonsguy/cw-advandroid/ . They helped me a lot by simply reading the code and searching for classes I needed.
You can take a look at the source code of the common Android applications like Contacts, Email, Calendar, etc.
Look at projects under platform/packages/apps here:
Go to the android developers site, they have lots of code demos and tutorials to get you started. Check em out here.
A lot of their examples are included in the sdk. you can find them in android-sdk-windows\samples
You can also reach the code samples directly in Eclipse: create a new Android Project, then select “Create from an existing sample” in the “New Android Project” dialog.
Links where you can spend lots of time learning and checking out Open Source code for eclipse using SVN.
Answers are quite old, here is new link to andoird’s APS samples http://developer.android.com/tools/samples/index.html