- 博客(9)
- 资源 (1)
- 收藏
- 关注
原创 简单的自定义view
自定义图形类:package com.example.dell.androidtwo;import android.content.Context; import android.graphics.Canvas; import android.graphics.Color; import android.graphics.Paint; import android.graphics.Rect; im
2016-08-31 12:17:05 278
原创 网络xml解析
主类:package com.example.test2xml;import java.io.ByteArrayInputStream; import java.io.IOException; import java.io.InputStream; import java.io.InputStreamReader;import org.xmlpull.v1.XmlPullParser; import
2016-08-23 16:20:18 319
原创 ListView多条目加载
适配器:package com.ex.moni;import java.util.List;import com.bawei.bean.Data; import com.bawei.bean.Image_listE; import com.bawei.bean.Large_image_list; import com.nostra13.universalimageloader.core.ImageL
2016-08-22 21:03:44 478
原创 指示器
布局文件<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" xmlns:tools="http://schemas.android.com/tools" android:layout_width="match_parent" android:layout_height="matc
2016-08-22 15:57:32 215
原创 SlidingMenu侧滑
package com.example.slidemenutest;import com.jeremyfeinstein.slidingmenu.lib.SlidingMenu; import com.jeremyfeinstein.slidingmenu.lib.app.SlidingFragmentActivity;import android.app.Activity; import andr
2016-08-22 14:56:58 325
原创 XListView上拉加载和下拉刷新
倒入两个布局和三个自定义类:主布局:<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" xmlns:tools="http://schemas.android.com/tools" android:layout_width="match_parent" android:layou
2016-08-19 10:36:10 267
原创 无限轮播
布局文件:<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" xmlns:tools="http://schemas.android.com/tools" android:layout_width="match_parent" android:layout_height="mat
2016-08-19 10:21:55 232
原创 百度推送
—–Activity中的方法:@Override public void onCreate() { Resources resource = this.getResources(); String pkgName = this.getPackageName(); PushManager.startWork(getApplicationContex
2016-08-16 17:22:11 493
原创 pull解析
package com.example.day12_xml_pull;import java.io.IOException; import java.util.ArrayList; import java.util.List;import org.xmlpull.v1.XmlPullParser; import org.xmlpull.v1.XmlPullParserException;imp
2016-08-14 21:13:10 193
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人