TAILIEUCHUNG - Lập trình Androi part 02

Sau khi bạn đã tải về và cài đặt mới nhất của Android Software Development Kit (SDK), và có lẽ là Công cụ phát triển Android (ADT) plugin cho Eclipse (cả hai đều có sẵn từ các trang web Android Developers), bạn đã sẵn sàng để bắt đầu. Chương này bao gồm những gì được tham gia vào việc xây dựng một ứng dụng Android. | Chapter Projects and Targets After you have downloaded and installed the latest Android Software Development Kit SDK and perhaps the Android Developer Tools ADT plugin for Eclipse both available from the Android Developers web site you re ready to get started. This chapter covers what is involved in building an Android application. Pieces and Parts To create an Android application you will need to create a corresponding Android project. This could be an Eclipse project if you are using Eclipse for Android development. The project will hold all of your source code resources . internationalized strings third-party JARs and related materials. The Android build tools whether Eclipse-integrated or stand-alone will turn the contents of your project into an Android package APK file which is the Android application. Those tools will also help you get your APK file onto an Android emulator or an actual Android device for testing purposes. One key element of a project is the manifest . This file contains the table of contents for your application listing all of the major application components permissions and so on. The manifest is used by Android at runtime to tie your application into the operating system. The manifest contents are also used by the Android Market and perhaps other independent app stores so applications that need Android will not be presented to people with Android devices for example. To test your application with the emulator you will need to create an Android Virtual Device or AVD. Most likely you will create several of these as each AVD emulates an Android device with a particular set of hardware. You might have AVDs for different screen sizes Android versions and so on. When creating projects and creating AVDs you will need to indicate to Android the API level with which you are working. The API level is a simple integer that maps to an Android version for example API level 3 means Android . When creating a project you

TAILIEUCHUNG - Chia sẻ tài liệu không giới hạn
Địa chỉ : 444 Hoang Hoa Tham, Hanoi, Viet Nam
Website : tailieuchung.com
Email : tailieuchung20@gmail.com
Tailieuchung.com là thư viện tài liệu trực tuyến, nơi chia sẽ trao đổi hàng triệu tài liệu như luận văn đồ án, sách, giáo trình, đề thi.
Chúng tôi không chịu trách nhiệm liên quan đến các vấn đề bản quyền nội dung tài liệu được thành viên tự nguyện đăng tải lên, nếu phát hiện thấy tài liệu xấu hoặc tài liệu có bản quyền xin hãy email cho chúng tôi.
Đã phát hiện trình chặn quảng cáo AdBlock
Trang web này phụ thuộc vào doanh thu từ số lần hiển thị quảng cáo để tồn tại. Vui lòng tắt trình chặn quảng cáo của bạn hoặc tạm dừng tính năng chặn quảng cáo cho trang web này.