![](https://img-blog.csdnimg.cn/20201014180756738.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
移动端技术
笃者
用心钻研,Come on!
展开
-
不同app间传参与启动
在开发中遇到了要在一个app中点击按钮进入到另一个app的问题,也参考了网上的方法,有的不起作用额,我把实践好的代码贴出来,供大家查阅 one App: Intent intent = new Intent(Intent.ACTION_MAIN); intent.putExtra("Param","111111"); intent.setComponent(new Component转载 2016-09-19 16:11:41 · 176 阅读 · 0 评论 -
android studio 获取sha1的方法
在进行微信、地图等一下sdk接入时,都会用到签名这个东西,那么如何获取呢? 在eclipse开发时,我们很容易的从开发工具中就能找到sha1的值,这里不再赘述,这里主要说一下在android studio中如果查看项目的sha1的值。根据自己的亲身经历,下边说一下步骤: 1,测试签名的sha1值: 打开dos窗口,复制as安装位置中.android 路径(我这里是C:\Users\Admin原创 2018-01-22 17:33:09 · 202 阅读 · 0 评论 -
升级android studio后遇到的坑
Annotation processors must be explicitly declared now. The following dependencies on the compile classpath are found to contain annotation processor. Please add them to the annotationProcessor转载 2018-01-23 11:54:41 · 430 阅读 · 0 评论 -
保存bitmap图像到本地之后,相册查看不显示问题
保存图片成功后在图库查看不到的解决方法 if (fileEditPath!=null)//Android 保存bitmap图像到本地之后,相册查看不显示问题/ --需要发送一个广播到媒体库 sendBroadcast(new Intent(Intent.ACTION_MEDIA_SCANNER_SCAN_FILE, Uri.fromFile(fileEditPath))); fileEdi转载 2018-01-29 18:05:02 · 623 阅读 · 0 评论