Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Source code for android apps? [closed]

Tags:

android

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?

like image 407
Sameer Avatar asked Jun 18 '10 05:06

Sameer


People also ask

Will Android become closed source?

While Google will never go the entire way and completely close Android, the company seems to be doing everything it can to give itself leverage over the existing open source project. And the company's main method here is to bring more and more apps under the closed source "Google" umbrella.

Is Android open source or closed source?

Android is an open source operating system for mobile devices and a corresponding open source project led by Google.

Where can I get source code for Android apps?

May be the easy one to see the source: In Android studio 2.3, Build -> Analyze APK -> Select the apk that you want to decompile . You will see it's source code.

Is Android completely open source?

Android is open-source, but most of the software we run on top of the platform isn't. This is true whether you get a Pixel device or something from Samsung. Unlike in the early days of Android, the Pixel Launcher and most of Google's apps have become closed-source.


2 Answers

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.

like image 110
digitarald Avatar answered Oct 29 '22 01:10

digitarald


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/

like image 34
Buzzy Avatar answered Oct 28 '22 23:10

Buzzy