摘要: REST 相关 REST:Representational State Transfer,~~表现层状态转化(出现在阮一峰的博客 "理解RESTful架构" 中,但是,很明显,Representational 是形容词~~。全称是 Resource Representational Sta... 阅读全文
posted @ 2015-10-13 14:25 shang1jk 阅读(151) 评论(0) 推荐(0) 编辑
摘要: idfa、idfv在注册时处理,不是绑定银行卡时。(划分清楚,不改绑卡流程用户信息由后台用userId获取,不是用到的时候就传。 阅读全文
posted @ 2015-04-22 16:50 shang1jk 阅读(290) 评论(0) 推荐(0) 编辑
摘要: 昨天公司的app要发布一个新版本,由我来写展示给用户的更新日志。这个版本的改动在svn中的log如下:> Bug 6308: app-安卓-实名认证:香港用户实名认证时,填写证件号不成功Bug 6246: app-android-充值时没有使用科学计数法Bug 6258: app-android-微... 阅读全文
posted @ 2015-04-18 11:02 shang1jk 阅读(573) 评论(0) 推荐(0) 编辑
摘要: #起因```java public static String formatMoneyWithFractionNoSign(double d) { NumberFormat fmter = DecimalFormat.getCurrencyInstance(Locale.CHIN... 阅读全文
posted @ 2015-04-13 20:00 shang1jk 阅读(476) 评论(0) 推荐(0) 编辑
摘要: View:2D graphics,SurfaceView:3D graphics。 ProgressBar进度渐进动画,可以使用ObjectAnimator实现。动画相关的类: android.view.animation.Animation android.animation.Animator . 阅读全文
posted @ 2015-03-05 11:21 shang1jk 阅读(291) 评论(0) 推荐(0) 编辑
摘要: ListView的addHeaderView()和addFooterView()方法需要“Call this before calling setAdapter”,否则崩溃。但是在KITKAT(api19,android 4.4)之后系统这两个方法可以随之调用都没问题。 阅读全文
posted @ 2015-02-06 10:56 shang1jk 阅读(165) 评论(0) 推荐(0) 编辑
摘要: Being a freelance designer关注收入来源和每天需要多少花费。成为全职 “freelancer” 之前,特别是在没有客户的情况下,一定要攒下一笔钱。建议至少足够支撑六个月。“我”全职 freelancing 之前,有三个长期合作的客户。“我” freelancing 之后,收入... 阅读全文
posted @ 2015-02-05 14:38 shang1jk 阅读(101) 评论(0) 推荐(0) 编辑
摘要: #Gson 简易笔记---之前用 [fastjson](https://github.com/alibaba/fastjson "fastjson")。它连个规矩的文档都没有,而且在github的wiki上写着:>gson的g可能是“龟”拼音的缩写,龟速的json库。”各位能不用就别用了吧。改用 [... 阅读全文
posted @ 2015-01-15 14:25 shang1jk 阅读(191) 评论(0) 推荐(0) 编辑
摘要: “In the information age, the barriers just aren’t there,” he said. “The barriers are self-imposed. If you want to set off and go develop some grand new thing, you don’t need millions of dollars of capitalization. You need enough pizza and Diet Coke to stick in your refrigerator, a cheap PC to work on, and the dedication to go through with it. We slept on floors. We waded across rivers.” 阅读全文
posted @ 2015-01-15 10:57 shang1jk 阅读(201) 评论(0) 推荐(0) 编辑
摘要: #公司的测试终于想到要看 android 的日志。安装开发环境太麻烦了,这里有个简单的办法。---我把`\sdk\platform-tools`目录中,文件名以`“adb”`开头的三个文件打包了一下:[adb.zip]("http://files.cnblogs.com/shang1jk/adb.z... 阅读全文
posted @ 2015-01-05 17:23 shang1jk 阅读(329) 评论(0) 推荐(0) 编辑