- 博客(5)
- 收藏
- 关注
原创 音乐播放
1.主要的类public class AudioService extends Service implements MediaPlayer.OnCompletionListener { // 实例化MediaPlayer对象 MediaPlayer player; private final IBinder binder = new AudioBinder
2015-07-03 20:39:57 454
原创 有道词典
1.布局文件 <EditText android:id="@+id/etWord" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_alignParentLeft="true" android
2015-07-03 20:31:33 438
原创 CheckBox记住密码功能
1布局页面<RelativeLayout android:layout_width="fill_parent" android:layout_height="wrap_content" > <ImageButton android:id="@+id/img_btn" android:layout_wi
2015-07-03 20:08:30 5658 1
原创 获取网络图片
1.访问网络要注意加上访问权限2.将图片转化为流public class MainActivity extends Activity { private EditText etImageUrl; private ImageView ivImage; public static final int SHOWIMAGE=1; private Handler handl
2015-07-03 19:48:37 299
原创 listView Adapter 的应用
1.新浪微博运行效果图2.主要代码布局代码list.xml: android:layout_width="match_parent" android:layout_height="wrap_content" android:orientation="horizontal"> android:id="@+id/Iv"
2015-05-10 17:52:40 391
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人