开发者

Source code for android apps? [closed]

开发者_运维问答 As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance. Closed 10 years ago.

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:
https://android.googlesource.com/platform/packages/apps/


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.

http://code.google.com/hosting/search?q=label:Android

https://github.com/search?q=android&ref=commandbar

https://bitbucket.org/repo/all?name=android


Answers are quite old, here is new link to andoird's APS samples http://developer.android.com/tools/samples/index.html

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜