摘要: 本项目是在https://github.com/xionglun/AppShop 的基础上作的优化修改。 修改过的app文件及说明,请自行到:https://pan.baidu.com/s/1c1UiGKS 下载 AppShop.jsx脚本文件可以将PSD文件保存为Android和iOS的应用图标及 阅读全文
posted @ 2017-08-16 16:32 pandans 阅读(305) 评论(0) 推荐(0) 编辑
摘要: color.xml 颜色块无法显示 阅读全文
posted @ 2017-08-13 00:24 pandans 阅读(371) 评论(0) 推荐(0) 编辑
摘要: 使用原来项目框架做个新项目过程中出现 > com.android.ide.common.process.ProcessException: org.gradle.process.internal.ExecException: Process 'command '/Users/pandans/Docu 阅读全文
posted @ 2016-07-22 14:25 pandans 阅读(2918) 评论(0) 推荐(0) 编辑
摘要: $ mkdir -p $HOME/Software/ruby $ export GEM_HOME=$HOME/Software/ruby $ gem install cocoapods [...] 1 gem installed cocoapods $ export PATH=$PATH:$HOME 阅读全文
posted @ 2016-05-10 17:18 pandans 阅读(174) 评论(0) 推荐(0) 编辑
摘要: http://www.miui.com/forum.php?mod=viewthread&tid=3363244&highlight=recovery提示:1、体验版的各位同学,此Recovery可正常ota。2、Recovery为TWRP触摸版刷入教程:1、下载工具包后,解压文件2、SHIFT+鼠... 阅读全文
posted @ 2016-01-18 22:33 pandans 阅读(684) 评论(0) 推荐(0) 编辑
摘要: 解答: 抽签,5个人抽取5根签,只有一个签为中签。每个人概率为1/5.将这n个元素依次遍历,每次得到的数(第L个)取随机数r,r%L==0(0-L之内)var pickOne(file){ int lenth = 1; while(lenth <= file.size){ if(rand... 阅读全文
posted @ 2015-11-28 00:00 pandans 阅读(1004) 评论(0) 推荐(0) 编辑
摘要: 错误:java.lang.NullPointerException11-15 09:04:21.023: E/AndroidRuntime(4057): at android.support.v4.app.BackStackRecord.run(BackStackRecord.java:59... 阅读全文
posted @ 2015-08-25 14:41 pandans 阅读(447) 评论(0) 推荐(0) 编辑
摘要: 通过代码setTextColor时 如果color是一个资源文件 ,则只会显示默认效果。不会有选择器效果1. 解决:ColorStateListcolors=getContext().getResources().getColorStateList(R.color.radio_txt); radio... 阅读全文
posted @ 2015-07-22 20:00 pandans 阅读(872) 评论(0) 推荐(0) 编辑
摘要: 情况:MyView extends View 之后构造函数使用inflate导入子view 然后使用findViewById=null解决:项目clean。奇怪的问题!! 阅读全文
posted @ 2015-06-15 11:45 pandans 阅读(261) 评论(0) 推荐(0) 编辑
摘要: 1. 使用悬浮框2. 具体实现package com.pandans.hnairexam;import com.pandans.sunshine.provider.SunShineDB.BookT;import android.app.Application;import android.conte... 阅读全文
posted @ 2015-06-15 11:36 pandans 阅读(1405) 评论(0) 推荐(0) 编辑