Sunday, April 20, 2014

Eclipse, how to view the help file function declaration?


For example
myView.drawImage (canvas, mBitDestTop, x, y, w, h, bx, by)
What is the meaning of these parameters are?

There is no similar kind of VC + + MSDN?
<-! Main posts under Banner (D4) -><-! Posts under the main text (D5) ->
Reply:
Cursor falls on the function, press F1, the document does have jumped out to help, but not for this function. But generalities help editor.


Reply:
Found, there
in the sdk docsJust android-sdk_r07-windows \ android \ docs \ sdk \ preview \ start.html in. Into the Reference column, which will have all the api, the library's collection.

There is also a small doubt, for example, I see the code snippet on your page Typeface font; But to import libraries to identify the Typeface. How do I know what this class is in the library?

(Such as android.graphics. *)
Reply:
Open doc document
For example, file :/ / / E :/ work / android / android-sdk-windows / docs / reference / packages.html
Click on the upper left side of Class Index, you can find the object you want to view in alphabetical order, and then you can see the response of the method
For example alphabetically V -> View -> drawImage
Reply:
sdk documentation ah, is the general api reference
Reply:
Please answer me this question above,

Then listed what

For example, I see the code snippet on your page Typeface font; However, to import a library in order to identify the Typeface. How do I know what this class is in the library?



        


Reply:
Auto-complete on the line, you reading this will know, use Eclipse's Ctrl + Shift + o auto-complete reference class

But I feel you necessarily know Typeface did not know that pkg, is estimated to see someone else's code, ha ha



Reply:
Reply DrSmart brother,
Ah, indeed! Haha!

You said method is also really easy to use!
Reply:
On the question about whether the display function to help put it carefully in point, file :/ / / E :/ work / android / android-sdk-windows / docs / reference / packages.html, I do not have this file installed Elipse ah! ! !

No comments:

Post a Comment