<?xml version="1.0" encoding="utf-8" ?><rss version="2.0"><channel><title><![CDATA[编程问题与思索]]></title><description><![CDATA[Weibo：http://weibo.com/kylece  Github：https://github.com/KyleCe ]]></description><link>https://blog.csdn.net/KyleCeshen</link><language>zh-cn</language><generator>https://blog.csdn.net/</generator><copyright><![CDATA[Copyright &copy; KyleCeshen]]></copyright><item><title><![CDATA[【Android】Share via whatsapp]]></title><link>https://blog.csdn.net/KyleCeshen/article/details/51037328</link><guid>https://blog.csdn.net/KyleCeshen/article/details/51037328</guid><author>KyleCeshen</author><pubDate>Fri, 01 Apr 2016 15:34:56 +0800</pubDate><description><![CDATA[@Subscribe(threadMode = ThreadMode.MainThread)
    public void onEventMainThread(final StartShareViaWhatsappEvent event) {        String packageName = ShareModel.getPackageName("whatsapp");        if (]]></description><category></category></item><item><title><![CDATA[【Android】Share via facebook with appName or without appName 有标签、无标签]]></title><link>https://blog.csdn.net/KyleCeshen/article/details/50953099</link><guid>https://blog.csdn.net/KyleCeshen/article/details/50953099</guid><author>KyleCeshen</author><pubDate>Tue, 22 Mar 2016 10:46:24 +0800</pubDate><description><![CDATA[转载署源–By-KyleCe———————————— 
1.  通过 Action_View    private void shareFBViaActionView(Context context) {        String urlToShare = "https://www.numetriclabz.com/android-linkedin-integration-login-tutori]]></description><category></category></item><item><title><![CDATA[【Android】mac osx EI capitan svn更新]]></title><link>https://blog.csdn.net/KyleCeshen/article/details/50739441</link><guid>https://blog.csdn.net/KyleCeshen/article/details/50739441</guid><author>KyleCeshen</author><pubDate>Thu, 25 Feb 2016 17:40:37 +0800</pubDate><description><![CDATA[1.删除旧版SVN 
2.使用brew安装最新SVN 
        2.1 安装brew 
        2.2 安装svn删除旧版：why:
在 OS X El Capitan 中有一个跟安全相关的模式叫 SIP（System Integrity Protection ），它禁止让软件以 root 身份来在 Mac 上运行
方法：
  1.重启 Mac，按住 Command+R 键直到 Ap]]></description><category></category></item><item><title><![CDATA[【Android】直接利用View创建Dialog]]></title><link>https://blog.csdn.net/KyleCeshen/article/details/50553829</link><guid>https://blog.csdn.net/KyleCeshen/article/details/50553829</guid><author>KyleCeshen</author><pubDate>Thu, 21 Jan 2016 11:02:25 +0800</pubDate><description><![CDATA[项目需求，代码如下:final Dialog dialog = new Dialog(context);
                dialog.requestWindowFeature(Window.FEATURE_NO_TITLE);
                dialog.setCancelable(false);
                dialog.setContent]]></description><category></category></item><item><title><![CDATA[【Android】问题记录]]></title><link>https://blog.csdn.net/KyleCeshen/article/details/50543779</link><guid>https://blog.csdn.net/KyleCeshen/article/details/50543779</guid><author>KyleCeshen</author><pubDate>Tue, 19 Jan 2016 17:16:09 +0800</pubDate><description><![CDATA[1 map to json new JSONObject(map);2  获取当前时间It depends on what form of date / time you want:If you want the date / time as a single numeric value, then System.currentTimeMillis() gives you that, express]]></description><category></category></item><item><title><![CDATA[【Android】按钮设置字母不全部大写，button set text to lower case;  android button settext lowercase programmably]]></title><link>https://blog.csdn.net/KyleCeshen/article/details/50428143</link><guid>https://blog.csdn.net/KyleCeshen/article/details/50428143</guid><author>KyleCeshen</author><pubDate>Tue, 29 Dec 2015 17:36:32 +0800</pubDate><description><![CDATA[一般情况下设置button的setText会使被设置的英文字符串全都变为大写，应该在button的xml属性中添加如下属性：android:textAllCaps="false"或者在程序中设置：mButton.setTransformationMethod(null);have fun转载署源-By-KyleCe:]]></description><category></category></item><item><title><![CDATA[【Android】获取要paint的文字的宽高 paint draw text get width]]></title><link>https://blog.csdn.net/KyleCeshen/article/details/50425317</link><guid>https://blog.csdn.net/KyleCeshen/article/details/50425317</guid><author>KyleCeshen</author><pubDate>Tue, 29 Dec 2015 11:51:44 +0800</pubDate><description><![CDATA[解决办法： 
利用Paint api自带的函数获取： 
墙链接 
示例：paint.setColor(textColor);                          //设置画笔颜色
        paint.setTypeface(getTypeface());             //设置字体样式
        paint.setStrokeWidth(8);        i]]></description><category></category></item><item><title><![CDATA[【Android】facebook api Exception： launchMode of the caller is singleInstance.]]></title><link>https://blog.csdn.net/KyleCeshen/article/details/50419414</link><guid>https://blog.csdn.net/KyleCeshen/article/details/50419414</guid><author>KyleCeshen</author><pubDate>Mon, 28 Dec 2015 15:40:48 +0800</pubDate><description><![CDATA[Cannot call LoginFragment with a null calling package. This can occur if the launchMode of the caller is singleInstance.
说的是不能使用单例模式，查看调用工具，发现如下代码：
        // the activity need attention , may use Logi]]></description><category></category></item><item><title><![CDATA[【Android】在Android studio中使用retrol lambda，gradle构建；RxJava使用建议，优缺点]]></title><link>https://blog.csdn.net/KyleCeshen/article/details/50395100</link><guid>https://blog.csdn.net/KyleCeshen/article/details/50395100</guid><author>KyleCeshen</author><pubDate>Thu, 24 Dec 2015 16:09:31 +0800</pubDate><description><![CDATA[本准备部署RxAndroid，不过问题多多，一个个来，先看java 1.8 新特性，lambda表达式简洁的lambda英文总结 
(ps:lambda表达式的中文使用示例)首先，要想在AS中使用lambda，首先你需要安装java8，cmd 中运行 java -version查看，java 版本号为1.8…就对了（可能会碰到环境变量的问题，注意一下）其次，在AS的build.gradle文件中配置]]></description><category></category></item><item><title><![CDATA[【Android】问题记录gradle project refresh failed connection refused connect]]></title><link>https://blog.csdn.net/KyleCeshen/article/details/50385589</link><guid>https://blog.csdn.net/KyleCeshen/article/details/50385589</guid><author>KyleCeshen</author><pubDate>Wed, 23 Dec 2015 11:18:14 +0800</pubDate><description><![CDATA[在切换到AS2.0 Preview4之后，报这个错误：
  gradle project refresh failed connection refused connect 
google到，说是gradle的代理设置不对，想到AS2.0因为instant run要求用app 级别中的gradle声明是2.0-alpha        classpath 'com.android.tools.bui]]></description><category></category></item><item><title><![CDATA[【Android】新版Android Studio 2.0 Preview 4 下载链接 百度网盘]]></title><link>https://blog.csdn.net/KyleCeshen/article/details/50385065</link><guid>https://blog.csdn.net/KyleCeshen/article/details/50385065</guid><author>KyleCeshen</author><pubDate>Wed, 23 Dec 2015 10:32:50 +0800</pubDate><description><![CDATA[早先11份2.0Preview刚出来的下载介绍博客 
旧版2.0下载链接（百度网盘）新版Android Studio 2.0 Preview 4 下载链接（for windows百度网盘）官方链接（需墙）]]></description><category></category></item><item><title><![CDATA[【Android】Facebook获取 user location]]></title><link>https://blog.csdn.net/KyleCeshen/article/details/50381721</link><guid>https://blog.csdn.net/KyleCeshen/article/details/50381721</guid><author>KyleCeshen</author><pubDate>Tue, 22 Dec 2015 18:47:21 +0800</pubDate><description><![CDATA[在request param里直接设置fields的参数串中添加location是不会生效的//"fields"    private static final String DEFAULT_REQUEST_VALUE = "id,name,location,link,picture,email,devices";需要在登陆的Permission中添加”user_location”，如下：
List]]></description><category></category></item><item><title><![CDATA[【Android】关闭WebView滚动，disable webView scroll]]></title><link>https://blog.csdn.net/KyleCeshen/article/details/50381320</link><guid>https://blog.csdn.net/KyleCeshen/article/details/50381320</guid><author>KyleCeshen</author><pubDate>Tue, 22 Dec 2015 17:36:31 +0800</pubDate><description><![CDATA[有效代码： // disable scroll on touch
  webview.setOnTouchListener(new View.OnTouchListener() {
    @Override
    public boolean onTouch(View v, MotionEvent event) {
      return (event.getAction() == Motio]]></description><category></category></item><item><title><![CDATA[【Android】解析Json对象，用自带json解析器]]></title><link>https://blog.csdn.net/KyleCeshen/article/details/50378482</link><guid>https://blog.csdn.net/KyleCeshen/article/details/50378482</guid><author>KyleCeshen</author><pubDate>Tue, 22 Dec 2015 10:59:13 +0800</pubDate><description><![CDATA[英文教程 
关键代码：String in;
JSONObject reader = new JSONObject(in);JSONObject sys  = reader.getJSONObject("sys");
country = sys.getString("country");JSONObject main  = reader.getJSONObject("main");
temperatu]]></description><category></category></item><item><title><![CDATA[【Android】google plus、Facebook登陆sdk集成打包出aar的使用步骤]]></title><link>https://blog.csdn.net/KyleCeshen/article/details/50334295</link><guid>https://blog.csdn.net/KyleCeshen/article/details/50334295</guid><author>KyleCeshen</author><pubDate>Wed, 16 Dec 2015 23:04:41 +0800</pubDate><description><![CDATA[本篇旨在记录aar包的使用步骤（关于aar的打包方法，如果有人需要的话我侯敏敏再补一篇）： 
【有好几种使用方法，这里介绍直接本地引用的办法】1.将aar文件拷贝到你的工程的libs目录（与你的build.gradle同根目录的libs目录）2.将下面的代码添加到你的project-level的build.gradle 文件的repositories属性中         flatDir {]]></description><category></category></item><item><title><![CDATA[【Android】DownloadManager 打开url下载的APK文件无法打开的问题 cannot open file]]></title><link>https://blog.csdn.net/KyleCeshen/article/details/50319525</link><guid>https://blog.csdn.net/KyleCeshen/article/details/50319525</guid><author>KyleCeshen</author><pubDate>Tue, 15 Dec 2015 19:17:25 +0800</pubDate><description><![CDATA[问题如标题应用场景有以下几种：1.监控DownloadManager，文件下载完成时以文件路径的形式发送intent： // install work
 Intent install = new Intent(Intent.ACTION_VIEW);install.addFlags(Intent.FLAG_ACTIVITY_NEW_TASK); String filePath = "file://"]]></description><category></category></item><item><title><![CDATA[【Android】编程检查服务是否可用, service available programmally]]></title><link>https://blog.csdn.net/KyleCeshen/article/details/50302097</link><guid>https://blog.csdn.net/KyleCeshen/article/details/50302097</guid><author>KyleCeshen</author><pubDate>Mon, 14 Dec 2015 22:54:35 +0800</pubDate><description><![CDATA[检查服务是否可用:    /**
     * check service is available or not
     *
     * @param context Context to get the pack manager
     * @param cls     service to query
     * @return boolean true if available, f]]></description><category></category></item><item><title><![CDATA[【Android】在浏览器中打开url链接，打开Service，复习IntDef]]></title><link>https://blog.csdn.net/KyleCeshen/article/details/50301683</link><guid>https://blog.csdn.net/KyleCeshen/article/details/50301683</guid><author>KyleCeshen</author><pubDate>Mon, 14 Dec 2015 22:19:25 +0800</pubDate><description><![CDATA[需要在浏览器中打开链接： /**
     * @hide
     */
    /*定义部分*/    @IntDef({OPEN_BROWSER, START_SERVICE})
    @Retention(RetentionPolicy.SOURCE)
    public @interface AdsHandler {
    }    public static final int O]]></description><category></category></item><item><title><![CDATA[【Android】javadoc， Android注释中添加链接]]></title><link>https://blog.csdn.net/KyleCeshen/article/details/50296273</link><guid>https://blog.csdn.net/KyleCeshen/article/details/50296273</guid><author>KyleCeshen</author><pubDate>Mon, 14 Dec 2015 16:13:24 +0800</pubDate><description><![CDATA[key code： @see <a href="http://www.google.com">Google</a>@see <a href="URL#value">label</a> : Adds a link as defined by URL#value. The URL#value is a relative or absolute URL. The Javadoc tool distingu]]></description><category></category></item><item><title><![CDATA[【Android】Facebook SDK使用调试过程记录]]></title><link>https://blog.csdn.net/KyleCeshen/article/details/50243051</link><guid>https://blog.csdn.net/KyleCeshen/article/details/50243051</guid><author>KyleCeshen</author><pubDate>Wed, 09 Dec 2015 22:48:10 +0800</pubDate><description><![CDATA[—————————————提纲—————— 
1. 总体步骤 
2. 程序流程——————————1—总体步骤——————— 
（翻墙后：官方教程，教程说的很清楚，关于sha1获取说明一下） 
a. 使用facebook注册你的android App  Facebook帐号 
b. 添加facebook sdk到你的project    compile 'com.facebook.android:f]]></description><category></category></item></channel></rss>