Skip to content
This repository was archived by the owner on Feb 21, 2023. It is now read-only.

Commit 1fe1629

Browse files
committed
No issue: add tips for reading Android source code.
1 parent 7e04fc8 commit 1fe1629

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

android/android_guide.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,5 +32,13 @@ If you like staying up-to-date on the latest Android topics, members of our team
3232
Comfortable with the basics? Here are a few of our favorite resources to get started on intermediate topics.
3333
- [Android style tips](http://blog.danlew.net/2014/11/19/styles-on-android/) (circa 2014)
3434

35+
### Navigating the Android source code
36+
Oftentimes, it's easier to solve a problem when you understand how your code is interacting with the Android framework: you can do this by reading the Android source code! You can do plain-text searches on the Android source code at http://androidxref.com/ (choosing the latest API level and searching in the "frameworks" is usually sufficient).
37+
38+
You can also navigate the Android source code in Android Studio, after downloading the sources:
39+
- Click a framework method and use "go to definition"
40+
- Step into framework methods via the debugger
41+
- Set breakpoints in framework files to stop whenever the framework calls that method
42+
3543
[udacity course]: https://www.udacity.com/course/new-android-fundamentals--ud851
3644
[devdocs]: https://developer.android.com/docs/

0 commit comments

Comments
 (0)