04 2013 档案
自定义实现ProgressDialog样式的Dialog
摘要:1. 建立一个my_progress_dialog.xml布局文件<?xml version="1.0" encoding="utf-8"?> <RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" android:layout_width="200dip" android:layout_height="200dip" > <ImageView android:id=&qu 阅读全文
posted @ 2013-04-25 16:15 小计天空 阅读(3947) 评论(0) 推荐(0)
asmack在查询用户时,searchForm出现nullpointer的解决办法。
摘要:asmack查询用户,searchForm出现nullpointer的解决办法。原因:the smack.providers file, usually in /META-INF folder in normal versions of smack, can't be loaded in Android because its jar packaging. So all the providers must be initialized by hand大概是说由于smack.providers 的文件不能载入asmack中导致的。所以必须我们自己手动载入一个。先复制下面代码:publi 阅读全文
posted @ 2013-04-06 16:09 小计天空 阅读(447) 评论(0) 推荐(0)