![](https://img-blog.csdnimg.cn/20201014180756724.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
android
wanghuihui513
这个作者很懒,什么都没留下…
展开
-
android图表
Android开发中如何使用绘制图表 http://tech.it168.com/a2011/0603/1200/000001200313.shtml原创 2011-12-26 16:03:47 · 216 阅读 · 0 评论 -
android 访问SD卡
Android中获得SD卡中的值 在android中,如何获得SD卡的值呢,可以这样: File externalStorage = Environment.getExternalStorageDirectory(); String strUri = externalStorage.getAbsolutePath()+"/"+"test.mp3"; System.out....原创 2011-12-26 16:10:25 · 87 阅读 · 0 评论 -
android 访问SD卡
android中判断sd卡是否准备好 Boolean isSDPresent = android.os.Environment.getExternalStorageState().equals(android.os.Environment.MEDIA_MOUNTED); if(isSDPresent) { // 卡已准备 } else { // 卡没准备好 ...原创 2011-12-26 16:11:45 · 74 阅读 · 0 评论 -
android中判断网络和WIFI是否连接
在android中,如何判断网络是否连接或WIFI已连接呢,很简单,可以用如下的方法判断 Java代码 public static boolean checkNetworkConnection(Context context) { final ConnectivityManager connMgr = (ConnectivityMana...原创 2011-12-26 16:16:12 · 547 阅读 · 0 评论 -
android 4中新增的日历处理相关API
在最新的android 4.0中,在日历方面新增加了相关的API,可以操作了,简单小结下. 1 创建一个日历的intent Intent calIntent = new Intent(Intent.ACTION_INSERT); calIntent.setType("vnd.android.cursor.item/event"); startActivity(calIntent); 2 设置日...原创 2011-12-26 16:18:05 · 131 阅读 · 0 评论