<?xml version="1.0" encoding="utf-8" ?><rss version="2.0"><channel><title><![CDATA[luoshen87的博客]]></title><description><![CDATA[]]></description><link>https://blog.youkuaiyun.com/luoshen87</link><language>zh-cn</language><generator>https://blog.youkuaiyun.com/</generator><copyright><![CDATA[Copyright &copy; luoshen87]]></copyright><item><title><![CDATA[Android studio 配置 jPBC 2.0.0]]></title><link>https://blog.youkuaiyun.com/luoshen87/article/details/80355161</link><guid>https://blog.youkuaiyun.com/luoshen87/article/details/80355161</guid><author>luoshen87</author><pubDate>Thu, 17 May 2018 20:10:14 +0800</pubDate><description><![CDATA[1、去官网（http://gas.dia.unisa.it/projects/jpbc/index.html）下载 jPBC 2.0.02、在压缩包的jars文件夹下找到下面两个文件：jpbc-api-2.0.0.jar    和   jpbc-plaf-2.0.0.jar3、将上述两个jar包导入工程依赖包！！不会的百度一下Android studio怎么导入jar包！！！4、在压缩包的jpbc...]]></description><category></category></item><item><title><![CDATA[使用Bundle在fragment之间传递数据]]></title><link>https://blog.youkuaiyun.com/luoshen87/article/details/78714007</link><guid>https://blog.youkuaiyun.com/luoshen87/article/details/78714007</guid><author>luoshen87</author><pubDate>Mon, 04 Dec 2017 21:24:11 +0800</pubDate><description><![CDATA[Fragment_personal_history_record fragment = new Fragment_personal_history_record();
Bundle bundle = new Bundle();
bundle.putString("person",list.get(position).getAllMessage());
                frag]]></description><category></category></item><item><title><![CDATA[android将drawable文件夹中的图片读取到bitmap中]]></title><link>https://blog.youkuaiyun.com/luoshen87/article/details/78713944</link><guid>https://blog.youkuaiyun.com/luoshen87/article/details/78713944</guid><author>luoshen87</author><pubDate>Mon, 04 Dec 2017 21:16:38 +0800</pubDate><description><![CDATA[Bitmap bitmap = BitmapFactory.decodeResource(getResources(),R.drawable.liu1);// 将图片读取到bitmap中
image.setImageBitmap(bitmap);        //将bitmap在image中显示]]></description><category></category></item><item><title><![CDATA[Android 在Class文件里动态调用一个layout布局文件]]></title><link>https://blog.youkuaiyun.com/luoshen87/article/details/78563393</link><guid>https://blog.youkuaiyun.com/luoshen87/article/details/78563393</guid><author>luoshen87</author><pubDate>Mon, 04 Dec 2017 21:13:11 +0800</pubDate><description><![CDATA[RelativeLayout relativeLayout = (RelativeLayout) getLayoutInflater().inflate(R.layout.activity_forget,null);
之后布局文件R.layout.activity_forget就可以以relativeLayout的形式调用了]]></description><category></category></item><item><title><![CDATA[关于web前端发送的包含汉字的信息在后台servlet中乱码问题解决]]></title><link>https://blog.youkuaiyun.com/luoshen87/article/details/75887007</link><guid>https://blog.youkuaiyun.com/luoshen87/article/details/75887007</guid><author>luoshen87</author><pubDate>Sun, 23 Jul 2017 11:01:15 +0800</pubDate><description><![CDATA[只需要在dopost或doget方法中添加如下语句即可

request.setCharacterEncoding("UTF-8");
如：


protected void doPost(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException {
  ]]></description><category></category></item><item><title><![CDATA[Java web开发加载图片路径的两种方式]]></title><link>https://blog.youkuaiyun.com/luoshen87/article/details/75879594</link><guid>https://blog.youkuaiyun.com/luoshen87/article/details/75879594</guid><author>luoshen87</author><pubDate>Sun, 23 Jul 2017 10:50:30 +0800</pubDate><description><![CDATA[Java web开发加载图片路径的两种方式]]></description><category></category></item><item><title><![CDATA[Android studio 通过xml文件设置点击按钮按钮时更换背景，松开时恢复的功能]]></title><link>https://blog.youkuaiyun.com/luoshen87/article/details/75110315</link><guid>https://blog.youkuaiyun.com/luoshen87/article/details/75110315</guid><author>luoshen87</author><pubDate>Fri, 14 Jul 2017 14:47:55 +0800</pubDate><description><![CDATA[Android studio 通过xml文件设置点击按钮按钮时更换背景，松开时恢复的功能]]></description><category></category></item><item><title><![CDATA[Android 报 Unable to start service Intent { } U=0: not found错误]]></title><link>https://blog.youkuaiyun.com/luoshen87/article/details/74908416</link><guid>https://blog.youkuaiyun.com/luoshen87/article/details/74908416</guid><author>luoshen87</author><pubDate>Mon, 10 Jul 2017 08:56:21 +0800</pubDate><description><![CDATA[报这个错误是因为：是因为所用到的服务service没有在AndroidMainfest.xml中进行注册，如下：其中引号内是服务这个类的路径。

android:name=".Mydatabase.upload_service">
另外注意：Android中的四大组件（Activity，Service，Broadcast
 Receiver，Content Provider）在使用时都需要]]></description><category></category></item><item><title><![CDATA[Android 使用get请求时汉字乱码问题解决]]></title><link>https://blog.youkuaiyun.com/luoshen87/article/details/74894710</link><guid>https://blog.youkuaiyun.com/luoshen87/article/details/74894710</guid><author>luoshen87</author><pubDate>Sun, 09 Jul 2017 17:14:51 +0800</pubDate><description><![CDATA[我们在使用Android编写客户端与服务器端进行通信时，有时候使用get方式向服务器发送请求，但是我们发送过去的数据可能在服务器端是乱码的，那么这个时候我们就可以在客户端对要发送过去的数据做如下处理，这里假设要发送的是一个字符串params，

params=URLEncoder.encode(params)
这样处理之后，再将数据发送就不是乱码了]]></description><category></category></item><item><title><![CDATA[List<JSONObject>和JSONArray]]></title><link>https://blog.youkuaiyun.com/luoshen87/article/details/74784207</link><guid>https://blog.youkuaiyun.com/luoshen87/article/details/74784207</guid><author>luoshen87</author><pubDate>Sat, 08 Jul 2017 10:25:15 +0800</pubDate><description><![CDATA[就是两种存储多个jsonobject的方式，用法分别为：

List jsonlist = new ArrayList();jsonlist.add(json);
JSONArray jsonArray = new JSONArray();jsonArray.put(json);
其余用法完全一致。]]></description><category></category></item><item><title><![CDATA[Android SQLite 多条件查询或删除]]></title><link>https://blog.youkuaiyun.com/luoshen87/article/details/74784161</link><guid>https://blog.youkuaiyun.com/luoshen87/article/details/74784161</guid><author>luoshen87</author><pubDate>Sat, 08 Jul 2017 10:17:06 +0800</pubDate><description><![CDATA[Android SQLite 多条件查询或删除]]></description><category></category></item><item><title><![CDATA[Android studio开发中，监控手指的滑动方向，并做出相应的响应事件]]></title><link>https://blog.youkuaiyun.com/luoshen87/article/details/73732319</link><guid>https://blog.youkuaiyun.com/luoshen87/article/details/73732319</guid><author>luoshen87</author><pubDate>Mon, 26 Jun 2017 09:24:24 +0800</pubDate><description><![CDATA[Android studio开发中，监控手指的滑动方向，并做出相应的响应事件。
第一次发文，多多指教！！]]></description><category></category></item></channel></rss>