android


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.

Related Links

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

Categories

HOME
grok
phpword
assembly
google-cloud-platform
jmeter
fpga
sitecore
appcelerator
carousel
aws-cli
tvos
character
qpython
drop-down-menu
datastage
naivebayes
pybossa
renjin
dynatrace
modbus-tcp
vuejs
sar
lilypond
spring-async
bulletphysics
datastax-enterprise-graph
gp
testcomplete
google-cast
simplecv
dsx-desktop
fiware-cygnus
loading
cin
levenshtein-distance
install.packages
httr
jide
lightning
reindex
arules
pdf-conversion
bbpress
css-transforms
mathcad
change-tracking
cronexpression
chromium-os
reporting-services-2012
greatest-n-per-group
mta
cifilter
avspeechsynthesizer
xdoclet
observablecollection
pre-build-event
cortex-m
atan2
intel-c++
skspritenode
airbrake
pyobjc
verold
memset
spring-remoting
terminate
syndicationfeed
ora-06550
code-duplication
modular
robotlegs
wcf-configuration
listitem
fitbounds
apache-commons-dbutils
pinch
saxparseexception
http-daemon
luajava
wordprocessingml
complex-event-processing
fdf
application-planning
blind

Resources

Encrypt Message