精心设计的 Android 应用程序的开源示例?
声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow
原文地址: http://stackoverflow.com/questions/1840231/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me):
StackOverFlow
Open-Source Examples of well-designed Android Applications?
提问by Jox
Can you recommend open source android applications that can be valuable to analyze, and to learn android programming from?
你能推荐一些对分析和学习 android 编程有价值的开源 android 应用程序吗?
Is any app from the Android open source project suitable for basic learning?Basically, I am looking for android apps for UI design reference with source code.
Android开源项目中的任何应用程序适合基础学习吗?基本上,我正在寻找带有源代码的UI设计参考的Android应用程序。
采纳答案by Erich Douglass
All of the applications delivered with Android (Calendar, Contacts, Email, etc) are all open-source, but not part of the SDK. The source for those projects is here: https://android.googlesource.com/(look at /platform/packages/apps). I've referred to those sources several times when I've used an application on my phone and wanted to see how a particular feature was implemented.
Android 提供的所有应用程序(日历、联系人、电子邮件等)都是开源的,但不是 SDK 的一部分。这些项目的来源在这里:https: //android.googlesource.com/(查看 /platform/packages/apps)。当我在手机上使用应用程序并想了解特定功能是如何实现的时,我曾多次参考这些来源。
回答by kolobok
In addition to other answers, I recommend you to look at this list:
除了其他答案之外,我建议您查看此列表:
14 Great Android apps that are also open source
For me, NewsBlur, Hacker News Readerand Astridwere the most helpful. Still, I don't know whether they are "suitable for basic learning".
对我来说,NewsBlur、Hacker News Reader和Astrid是最有帮助的。不过,我不知道它们是否“适合基础学习”。
回答by Dan Lew
回答by mxcl
I recommend the Last.fm for Android application: http://github.com/c99koder/lastfm-android
我推荐 Android 应用程序的Last.fm:http://github.com/c99koder/lastfm-android
UPDATE: I'm not sure this is a good example anymore, it hasn't been updated in 2-3 years.
更新:我不确定这是否是一个很好的例子,它已经 2-3 年没有更新了。
回答by mxcl
This is a good one: apps-for-android
这是一个很好的:apps-for-android
回答by yanchenko
https://github.com/google/iosched
https://github.com/google/iosched
This is the repo for the Google I/O App.
这是 Google I/O 应用程序的存储库。
(Current version is 2015, also has tags for 2011 through 2014).
(当前版本是 2015,还有 2011 到 2014 的标签)。
Sources for these books: http://commonsware.com/books
这些书籍的来源:http: //commonsware.com/books
https://github.com/yanchenko/droidparts(a shameless plug)
https://github.com/yanchenko/droidparts(一个不要脸的插件)
回答by yanchenko
回答by Mohammed Subhi Sheikh Quroush
Check this link , it is advanced github search https://github.com/search?l=Java&o=desc&q=android&ref=searchresults&s=stars&type=Repositoriesand this project contain a lot of libraries to Kick-starts you in Android https://github.com/mttkay/ignition
检查此链接,它是高级 github 搜索 https://github.com/search?l=Java&o=desc&q=android&ref=searchresults&s=stars&type=Repositories并且该项目包含很多库,可以在 Android 中启动您 https://github.com/search?l=Java&o=desc&q=android&ref=searchresults&s=stars&type=Repositories /github.com/mttkay/ignition
回答by Rahul
Source Code for Remote for VLC - VLC Remote
回答by Sasivarnan
Use the Sample applications provided with your API version. If not provided, visit http://developer.android.com/tools/samples/index.htmlfor getting the instructions of getting the application sample codes.
使用随您的 API 版本提供的示例应用程序。如果未提供,请访问http://developer.android.com/tools/samples/index.html以获取获取应用程序示例代码的说明。