摘要: 本人也刚刚开始尝试做android app的开发,听说android studio是Google支持的android 应用开发工具,所以想应该肯定比Eclipse好用吧,反正以前没有java开发经验,索性就从android studio开始学,以前一直是做.net的开发,最近使用了Eclipse,A 阅读全文
posted @ 2017-08-22 17:10 Jinger1992223 阅读(130) 评论(0) 推荐(0) 编辑
摘要: 转:http://blog.csdn.net/yy1300326388/article/details/46411775 Android Studio 快捷键 这个是提取方法的示例图: 这里总结的快捷键我会在后期录制的视频教程中一一给大家做演示,这些快捷键时我平时最常用的,其他的大家可以自己研究。 阅读全文
posted @ 2016-11-04 09:51 Jinger1992223 阅读(144) 评论(0) 推荐(0) 编辑
摘要: 转 :http://blog.csdn.net/yy1300326388/article/details/46374229 前几篇博客我们已经安装好了As,并且创建了我们的第一个HelloWrod ,这片blog我们继续配置出一个NB的Android Studio 如果你是一个才开始接触到AS或者想 阅读全文
posted @ 2016-11-04 09:48 Jinger1992223 阅读(206) 评论(0) 推荐(0) 编辑
摘要: 最近在项目中需要将读取的数据按照时间的降序进行排序。 具体的步骤如下: 1.读取数据,存入List中 2.取出数据中的时间戳,由String转换成Date 3.使用冒泡排序对List中元素按照Date进行排序 具体代码如下: //将List按照时间倒序排列 @SuppressLint("Simple 阅读全文
posted @ 2016-10-08 15:26 Jinger1992223 阅读(3848) 评论(0) 推荐(0) 编辑
摘要: blog已经迁移到这里了,有更多文章,欢迎大家访问。 当用eclipse 导入一个已经存在的项目时,经常会遇见:Unable to resolve target 'android-XX' 类似的错误。这是因为导入的项目代码中project.properties 的 Project target 设置 阅读全文
posted @ 2016-10-08 09:44 Jinger1992223 阅读(124) 评论(0) 推荐(0) 编辑
摘要: final TextView txtTitle = (TextView) findViewById(R.id.txtTitle); final WebView webView = (WebView)findViewById(R.id.btnWebView); WebChromeClient wvcc 阅读全文
posted @ 2016-09-09 18:45 Jinger1992223 阅读(1870) 评论(0) 推荐(0) 编辑
摘要: 参考http://blog.csdn.net/qq_21856521/article/details/49927159 阅读全文
posted @ 2016-09-07 15:31 Jinger1992223 阅读(299) 评论(0) 推荐(0) 编辑
摘要: Intent intent= new Intent(); intent.setAction("android.intent.action.VIEW"); Uri content_url = Uri.parse("http://www.cnblogs.com"); intent.setData(con 阅读全文
posted @ 2016-08-25 17:59 Jinger1992223 阅读(15468) 评论(0) 推荐(0) 编辑
摘要: 调用拨号界面拨打电话(不直接打出去) Intent intent1= new Intent(Intent.ACTION_DIAL); intent1.setData(Uri.parse("tel:400-8181800")); startActivity(intent1); Manifest文件里: 阅读全文
posted @ 2016-08-24 11:57 Jinger1992223 阅读(5580) 评论(0) 推荐(0) 编辑
摘要: View layout = LayoutInflater.from(context).inflate(R.layout.customdialog_cartcount, null); final Dialog dialog = new Dialog(context); dialog.setCancel 阅读全文
posted @ 2016-07-30 17:48 Jinger1992223 阅读(1401) 评论(0) 推荐(0) 编辑