- 博客(5)
- 收藏
- 关注
原创 背景音乐功能
package com.liu.zhen.utils; import android.content.Context; import android.content.res.AssetFileDescriptor; import android.media.MediaPlayer; import android.util.Log; /** * * This cl
2015-07-16 12:22:20
497
原创 调用有道词典查询
[java] view plaincopyprint?package com.example.happydictionary; import android.app.Activity; import android.os.Bundle; import android.text.TextUtils; import android.view.Menu; i
2015-07-16 12:20:12
241
原创 仿新浪微博
1、官方API分享至微博主要修改参数真实的appkey {string} 必选参数图片链接 (String) 可选参数, 默认为空标题 (String) 可选参数, 默认当前页title内容链接 (String) 可选参数, 默认当前页location页面编码 (String) 可选参数, [gb2312|utf-8] 默认gb2312其它 的链接样式及文字可自行据需求修改.代码中
2015-07-16 12:17:48
370
原创 android中知道图片name时获取图片的简单方法
1. 图片放在sdcard中, 代码如下: Bitmap imageBitmap = BitmapFactory.decodeFile(path) (path 是图片的路径,跟目录是/sdcard)2. 图片在项目的res文件夹下面 代码如下: //得到application对象 ApplicationInfo appInfo = getApplicationInfo(
2015-07-03 14:53:59
344
原创 Android ListVeiw的学习总结
列表的显示需要三个元素:ListVeiw: 用来展示列表的View。适配器 : 用来把数据映射到ListView上数据: 具体的将被映射的字符串,图片,或者基本组件。 根据列表的适配器类型,列表分为三种,ArrayAdapter,SimpleAdapter和SimpleCursorAdapter,这三种适配器的使用大家可学习下官网上面的使用或者自行百度谷
2015-05-08 15:10:38
460
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人