摘要: Android清除本地数据缓存代码案例直接上代码:/* * 文 件 名: DataCleanManager.java * 描 述: 主要功能有清除内/外缓存,清除数据库,清除sharedPreference,清除files和清除自定义目录 */ package com.test.DataClean;... 阅读全文
posted @ 2014-10-11 09:38 谯旭 阅读(184) 评论(0) 推荐(0) 编辑
摘要: Intents and Intent Filters 三种应用程序基本组件activity, service和broadcast receiver——是使用称为intent的消息来激活的。 Intent消息传递是一种组件间运行时绑定的机制. intent是Intent对象, 它包含了需要做的操作的描... 阅读全文
posted @ 2014-10-11 09:36 谯旭 阅读(427) 评论(0) 推荐(0) 编辑
摘要: 在 android 中, Animation 动画效果的实现可以通过两种方式进行实现,一种是 tweened animation 渐变动画,另一种是 frame by frame animation 画面转换动画。tweened animation 渐变动画有以下两种类型:1.alpha 渐变透明度... 阅读全文
posted @ 2014-10-11 09:25 谯旭 阅读(194) 评论(0) 推荐(0) 编辑
摘要: 在android应用中,有时要加载一个网页,如果能配上一个进度条就更好了,而android 中提供了其很好的支持,其中webView的一系列用法,比如webView.getSettings().setJavaScriptEnabled(true); //设置可以使用javascriptwebView... 阅读全文
posted @ 2014-10-11 09:23 谯旭 阅读(228) 评论(0) 推荐(0) 编辑