View the source code in myeclipse for Android

Source: Internet
Author: User

View the source code in myeclipse for Android

When developing Android, it is difficult to view the source code.ArticleLater (both versions earlier than 2.0 and different from the configuration of my latest 2.2 version), but it still gave me some inspiration. Through configuration, you can finally view the source code in myeclipse!

Download the source code first. The latest version is 2.2.

1. Source Code address: http://rgruet.free.fr/public/

2. Find the SDK directory

Install the SDK to my directory e :\

E: \ Android-SDK-Windows \

Find the directory structure as follows:

E: \ Android-SDK-Windows \

-Platforms

+ Android-2

+ Android-3

+ Android -....

+ Android-8 (numbers represent API versions)

The highest Android-8 corresponds to sdk2.2.

OK !!

 

Create a sources file in the Android-8 file and decompress the source code to the file.

 

3. modify the configuration file

Find the file in the Android-8 directory

Modify source. properties as follows:

### Android tool: Source of this archive.
# Wed Oct 14:00:16 CST 2010
PKG. DESC = Android SDK platform 2.2 _ r1
PKG. usersrc = true
Archive. Arch = any
Platform. Version = 2.2
PKG. descurl = sources
Archive. OS = Windows
PKG. sourceurl = sources
PKG. Revision = 2
Androidversion. apilevel = 8

 

OK, restart myecplise, and press ctril + keyword and class name to see if you can click in. You can see the source code !! Cool!

Pay attention to the relationship between different source code and SDK !!!

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.