ITeye博客

android

共 3 篇文章

要学android不可不学的android样例

http://code.google.com/p/apps-for-android/ ** A collection of useful, open source applications that demonstrate features of the Android platform: Amazed: A simple but addictive accelerometer-based marble-guidance game. AndroidGlobalTime: a full representation of the Earth that you can spin around. …

2010-10-15 23:27 · android · Google · Android · performance · JavaScript · Youtube

MediaController 组件

**了解 MediaController 组件 MediaController 组件的界面取决于它的 Media.controllerPolicy 和 Media.backgroundStyle 属性。Media.controllerPolicy 属性确定媒体控件集是始终可见、折叠还是仅当鼠标悬停在组件的控件部分时可见。折叠时,控制器会绘制一个经修改的进度栏,它是加载栏和播放栏的组合。它在栏底部显示加载的字节进度,并在其上面显示播放头的进度。处于展开状态时,控制器会绘制增强版的播放栏/加载栏,包含以下项目: 指示回放状态(正进行流式处理或暂停)的左侧文本标签,以及指示播放头位置(以秒为单位)…

2010-09-29 17:31 · android

text-to-Speech发音

//输入的文字或者数据语音发出来 [b]public class SpeakingActivity extends Activity { public static String tag = "speakingactivity debut"; private EditText et; private Button bt; private TextToSpeech tts; @Override public void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); setContentView(…

2010-09-29 17:24 · android