- 博客(4)
- 资源 (7)
- 收藏
- 关注
原创 SQL DISTINCT 相同的合并 和DESC 、ASC 排序
SELECT DISTINCT u.* FROM users AS u,user_follow AS f WHERE (u.usersId = f.followeeId AND f.followerId=3 )OR( f.followeeId=3 AND u.usersId = f.followerId) AND u.userState=0 AND f.userFollowState=0
2015-05-27 12:30:23 2425
原创 android edittext不弹出软键盘
<LinearLayout android:layout_width="match_parent" android:layout_height="36dp" android:background="@color/mid_black" android:focusable="true" android:focusableIn
2015-05-27 11:57:42 2011
原创 SimpleDateFormat 转化为12小时制或者是24小时制
public static String dateToString(Date date){ SimpleDateFormat sdf=new SimpleDateFormat(“yyyy-MM-dd hh:mm:ss“); String str=sdf.format(date); return str; }public static S
2015-05-25 15:42:09 6614 1
原创 android中访问res文件夹下面的某一个文件中的文件
int res = getResources().getIdentifier(“config”, “raw”, this.getPackageName()); InputStream = getResources().openRawResource(res);config:文件名 raw:文件夹名称
2015-05-21 16:43:37 1368
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人