Can I use Android Studio's 'Find Useage' for Android SDK Source Code?
One of the most useful functions in AS is right-click and 'Find Useage' or 'See Declaration'. For my code, the 'Find Useage' will show all instances of where a function/object is used. I have the SDK source code in AS too, but I can't 'Find Useage' on that code. Is there a way to set up my projects so that I can use 'Find Useage' on Android SDK code? For example, I would like to go to android/platform /frameworks/.../Configuration.java, right click on Configuration, and see where that class is being used elsewhere. Failing that, is there a way to find useages short of grepping around the massive SDK project?
Yes, that is possible. You can configure the scope of the search function. Move the cursor on the symbol you want to analyse, press Ctrl+Shift+a (search for action) and search for Find Usage Setting or from the menu select Edit -> Find -> Find Usage Setting and select Project and Libraries in the scope section. If the menu item is grayed out, it's because no symbol has been selected. Furthermore, if you are looking for a particular feature in AS the search for action function is a huge time saver. BTW: If Project and Libraries is not available it's because there is no usage of the selected symbol in any library.
May be you are looking for this: Edit->Find->Find in path...
If you are using Android Platforms Codebase directly from the repo, then you can do it. In this case, you will have to update your dependencies by creating another gradle project in your studio where the platform codebase is and then import that in your project.
Android: How can I fill a text box with text located in another activity?
How to get currently displayed level of level-list
It is possible to set the text of a “TextView” from within a class 'extends View'
Having troubles connecting to android device through Bluetooth UUID
How to play a GIF file in Android?
Android GPS just first location change results in onLocationChanged, why?
How to create a page curl effect for map view
Query Android contact to get ACCOUNT_TYPE and ACCOUNT_NAME
Handling JSON on server-side
Need get Time in a 24 hour format while adding Time
Android: Unable to have two buttons at the bottom of a screen
problem with camera preview in android
can 3D transition be applied when starting another activity?
How do i run android comaptibity package samples
Integrating REST services with an inventory database and SQL using Android
android - menu gui difficulty