I mostly use Eclipse, so there may be conventions in Android Studio that 
I'm not familiar with.

I was editing some Android code in Android Studio, and I wanted to read the 
javadoc detail for a method that's being called.  After I managed to pin 
the tooltip (is there a convenient function key like Eclipse's "F2" to 
prevent it from disappearing?) I paged through the detail, and I got to a 
block like this:

Here is an example of typical code to manipulate a picture in an 
> application's private storage and add it to the media database:
> {@sample 
> development/samples/ApiDemos/src/com/example/android/apis/content/ExternalStorage.java
>  
> * private_picture}
> Parameters:
>

If it matters, this is in the javadoc for:

> android.content.Context
> public abstract java.io.File getExternalFilesDir(java.lang.String type)


Looking further through the method javadoc, I found more of these "@sample" 
blocks that don't actually show the code.

Is there some way to have the javadoc tooltips show the code samples?

-- 
You received this message because you are subscribed to the Google Groups 
"Android Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/android-developers.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/android-developers/13c06f3b-e5f5-4c56-a32a-62187413eb56%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to