
Android 阅读笔记
尤鸟倦
我与我周旋久,宁作我
展开
-
Android Training--Fragment
动态添加Fragment public class MainActivity extends FragmentActivity { &Override public void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState);翻译 2016-07-24 16:43:49 · 267 阅读 · 0 评论 -
Android Training--Capture Photos
Taking Photos SimplyThis lesson explains how to capture photos using an existing camera application.Suppose you are implementing a crowd-sourced weather service that makes a global weather map by blend翻译 2016-08-17 22:22:15 · 1298 阅读 · 0 评论 -
Android Training--Allowing Other Apps to Start Your Activity
The previous two lessons focused on one side of the story: starting another app’s activity from your app. But if your app can perform an action that might be useful to another app, your app should be p翻译 2016-08-17 14:27:29 · 377 阅读 · 0 评论 -
Android Training--Saving Files
Android uses a file system that’s similar to disk-based file systems on other platforms. This lesson describes how to work with the Android file system to read and write files with the File APIs.A File翻译 2016-08-16 23:35:30 · 294 阅读 · 0 评论 -
Material Design for Developers
material design specification. google training Material design is a comprehensive guide for visual, motion, and interaction design across platforms and devices. To use material design in your Android翻译 2016-07-27 17:33:20 · 485 阅读 · 0 评论 -
Android Training--Managing the System UI
Dimming the System BarsThis lesson describes how to dim the system bars (that is, the status and the navigation bars) on Android 4.0 (API level 14) and higher. Android does not provide a built-in way t翻译 2016-07-27 16:55:18 · 541 阅读 · 0 评论 -
Android Training--SnackBar
Building and Displaying a Pop-Up MessageYou can use a Snackbar to display a brief message to the user. The message automatically goes away after a short period. A Snackbar is ideal for brief messages t翻译 2016-07-26 23:08:17 · 415 阅读 · 0 评论 -
Android Training--Supporting Different Screen Sizes
Use Size QualifiersThere’s only so much mileage you can get from a flexible layout or relative layout like the one in the previous sections. While those layouts adapt to different screens by stretching翻译 2016-07-25 22:32:16 · 659 阅读 · 0 评论 -
Android Training--Intent
创建Intent后,查看是否有应用处理// Build the intentUri location = Uri.parse("geo:0,0?q=1600+Amphitheatre+Parkway,+Mountain+View,+California");Intent mapIntent = new Intent(Intent.ACTION_VIEW, location);// Verify翻译 2016-07-24 22:14:58 · 247 阅读 · 0 评论 -
Android Training--Display Bitmaps Efficiently
Loading Large Bitmaps EfficientlyImages come in all shapes and sizes. In many cases they are larger than required for a typical application user interface (UI). For example, the system Gallery applicat翻译 2016-08-29 15:38:49 · 382 阅读 · 0 评论