自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(10)
  • 资源 (1)
  • 问答 (3)
  • 收藏
  • 关注

原创 google mapView 用法

activity 代码 package com.example.mapview;import android.os.Bundle;import android.view.Menu;import com.google.android.maps.MapActivity;import com.google.android.maps.MapController;im...

2014-12-31 17:57:05 297

原创 The method setBuiltInZoomControls(boolean) is undefined for the type MapView

package com.googlemaps;import android.os.Bundle;import android.view.Menu;import android.view.MenuItem;import com.google.android.gms.maps.MapView;import com.google.android.maps.MapActivi...

2014-12-31 17:54:50 193

原创 java List 集合 判不为空 和 判不为null的区别

List<String> list = new ArrayList<String>();判不为空的写法if(list != null && list.size() == 0){//代码} 判不为null 的写法if(list != null && list.size() != 0){//代码} ...

2014-12-31 15:24:42 374

原创 java List String 包含

List<String> list = new ArrayList<String>();list.add("fsfs");list.add("abc");list.add("ffdes");System.out.println(list.contains("abc"));上述代码即可解决:如何在List<String> 链表

2014-12-31 11:12:50 433

原创 android intent 传递各种结构数据

android intent 传递list或者对象方法一: 如果单纯的传递List<String> 或者List<Integer>的话 就可以直接使用 Java代码 intent.putStringArrayListExtra(name, value)  intent.putIntegerArrayListExtra(name, value)  方法二:...

2014-12-29 14:55:42 359

actionbar back 图标自定义

<resources> <style name="MyCustomTheme" parent="Theme.Sherlock.Light"> <item name="homeAsUpIndicator">@drawable/ic_home_up</item> </style>

2014-12-29 13:54:43 114

原创 actiobar title icon 隐藏 解决方案

 常用解决方案:getSupportActionBar().setDisplayShowHomeEnabled(false);getSupportActionBar().setDisplayShowTitleEnabled(false); 但是目前这种情况:  在启动activity 会出现显示icon 或 title,  然后消失的效果,  造成很不好的体验解决方...

2014-12-29 13:44:06 112

原创 android write file

public static void writefile(String text, String fileName){ File externalStorageDir = Environment.getExternalStorageDirectory(); File myFile = new File(externalStorageDir , fileName);//...

2014-12-29 11:24:54 385

progressDialog in AsyncTask

class QueryBibleDetail extends AsyncTask<Integer, Integer, String>{ private Activity activity; private ProgressDialog dialog; private Context context; publ...

2014-12-26 17:32:52 118

原创 android 表单布局 左右布局

<TableLayout xmlns:android="http://schemas.android.com/apk/res/android" android:layout_width="fill_parent" android:layout_height="match_parent" android:stretchColumns="*" > <TableRow

2014-12-22 11:32:27 1317

报表制作(SSH)

简单的报表开发的一些小案例,希望对您有帮助!

2012-12-05

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除