Search code examples
androidwindowsopen-sourceframeworks

Easy way for Windows-based developer to view Android framework source code?


My immediate need is to take a peek at the source for EditTextPreference and see what I need to do to implement support for preferences with more structure. Can I run Git or repo under cygwin perhaps? Is there an easier way?


Solution

  • The Source Code is provided by the Android Open Source Project. Inside the Page (Tab 'Source' -> Left Menu "Browse Source") you find a link to browse the Source. The link will lead you to a git repository. There is a "search" field and I found 'EditTextPreference' using this field with the 'grep' option.