Tài liệu hạn chế xem trước, để xem đầy đủ mời bạn chọn Tải xuống
1
/ 26 trang
THÔNG TIN TÀI LIỆU
Thông tin cơ bản
Định dạng
Số trang
26
Dung lượng
1,45 MB
Nội dung
Android Application Development with Java UPenn CS4HS 2011 Chris Murphy cdmurphy@cis.upenn.edu Overview What is Android? Why teach Android? What do you need in order to teach Android? Hello, Android Basic Android graphics Lunch Part 2: More Android! What is Android? What is Android? An open source Linux-based operating system intended for mobile computing platforms Includes a Java API for developing applications It is not a device or product [...]... to automatically create Java package 3 Run the Android Application Run → Run (or click the “Run” button) Select “Android Application The emulator may take a few minutes to start, so be patient! You don't need to restart the emulator when you have a new version of your application Source code Auto-generated code String constants UI layout Configuration HelloAndroid .java 1 2 3 4 5 6 7 8 9 public... “Hello, Android” Creating Your First(?) Android App 1 Set up your development environment 2 Create a new Android project in Eclipse 3 Run it in the emulator 4 Hilarity ensues 1 Set Up Your Android Environment http://developer.android.com/sdk Install Eclipse Install Android SDK (Android libraries) Install ADT plugin (Android development tools) Create AVD (Android virtual device) We’ve already... android:versionName="1.0"> 7 9 11 12 14 16 17 18 < /application> 19 ...What do you need in order to teach Android? What Should Students Already Know? Java! – – interfaces, casting – exceptions – debugging – inheritance, method overriding reading API documentation Eclipse – easy to pick up quickly, though Do I Need Phones? The emulator that is . Android Application Development with Java UPenn CS4HS 2011 Chris Murphy cdmurphy@cis.upenn.edu Overview What is Android? Why. device Directory name Class to automatically create Java package Android version 3. Run the Android Application Run → Run (or click the “Run” button) Select “Android Application The emulator may take. Apps http://www.pcworld.com/article/223409/move_over_dr_soong_girls_can_build_android_apps_too.html Engaging Students with Android Android has a lot of “buzz” now – Newness – Coolness – Googleness UI and graphics made simple(r) Advanced Java skills What Skills Will Students