自定义博客皮肤VIP专享

*博客头图:

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

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

博客底图:

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

栏目图:

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

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(8)
  • 资源 (1)
  • 收藏
  • 关注

原创 字体高亮显示

String display=b[0]+""+"n"+""+b[1];         TextView tv=new TextView(this);         tv.setText(Html.fromHtml(display));

2012-03-29 10:41:37 725

转载 java将汉字转成汉语拼音

http://blog.youkuaiyun.com/yue19870813/article/details/6639262

2012-02-09 20:38:21 575

原创 android popuwindow

onCreate:   setContentView(R.layout.main);         ImageView myiv=(ImageView)findViewById(R.id.myiv);         ImageView iv=new ImageView(this);         iv.setBackgroundResource(R.drawable.popup_u

2012-02-08 14:48:05 7702

原创 android 语音识别

onCreate:  try{                 Intent intent = new Intent(RecognizerIntent.ACTION_RECOGNIZE_SPEECH);//通过Intent传递语音识别的模式,开启语音                 intent.putExtra(RecognizerIntent.EXTRA_LANGUAGE_MODE

2012-02-08 13:44:23 854

转载 android 通讯录跳转

case 0:                     //新建联系人                     Intent intent = new Intent(Insert.ACTION, Contacts.CONTENT_URI);                     intent.putExtra(Insert.PHONE, key_textedit.getText());

2012-02-06 15:05:55 914

原创 android 判断有没有和服务器连接上

HttpURLConnection urlConn=null;         try {         urlConn = (HttpURLConnection)new URL("fssdf").openConnection(); } catch (MalformedURLException e) { // TODO Auto-generated catch block e.pr

2012-02-04 15:07:14 1134

转载 webview将网页显示在屏幕区域内

WebView wv=new WebView(this);         WebSettings settings = wv.getSettings();          settings.setUseWideViewPort(true);         settings.setLoadWithOverviewMode(true);          wv.loadUrl("http

2012-02-04 14:28:27 881

转载 android webView的使用方法

如何创建WebView:     1、添加权限:AndroidManifest.xml中必须使用许可"android.permission.INTERNET",否则会出Web page not available错误。     2、在要Activity中生成一个WebView组件:WebView webView = new WebView(this);     3、设置WebView基本信

2012-02-04 14:10:19 1040

android模拟真实翻页(单页版,不是apk额,是源码,呵呵,你们想要的)

自己做的模拟真实翻页单页版。 记得模拟器调480*854 里面宽度高度可调。

2011-03-30

空空如也

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

TA关注的人

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