开发者

Where to download the source code of android.widget.Gallery? [closed]

Closed. This question is off-topic. It is not currently accepting answers.

Want to improve this question? Update the question so it's on-topic for Stack Overflow.

Closed 10 years ago.

Improve this question

I need to customize the android.widget.Gallery. Where can I down开发者_如何学编程load the source code?


Here it is: http://grepcode.com/file/repository.grepcode.com/java/ext/com.google.android/android/2.1_r2/android/widget/Gallery.java

I like GrepCode most because it's really convenience to browser Android source code online, as well as reference others class.


Here's the link to the latest version of the android.widget package:

https://android.googlesource.com/platform/frameworks/base/+/master/core/java/android/widget/

You can find the source to Gallery.java there. Of course you can also check out the whole source code as well.


You can find it here

In linux or mac you may download the whole source. see here


You can find it here

Google Code Search is such an underused resource. Enjoy it.

You will likely need other files from the source code as well. Also, make sure to document the changes you make or you will face a hell of a challenge when you want to update to a new version of the Gallery.


Here is the list of Git repos: https://android.googlesource.com

It's a good idea to check this guide out: http://source.android.com/source/downloading.html

And here is the actual class:
https://android.googlesource.com/platform/frameworks/base/+/master/core/java/android/widget/Gallery.java

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜