发布时间:2013-02-21 23:40:06
第一次在google play上发布了apk,后来更新,签名找不到,对不上了,更新不了。google play上unpublish了也不能传同package name的应用,所以会很烦。keytool -genkey -v -keystore my-release-key.keystore -alias alias_name -keyalg RSA -keysize 2048 -validity 10000生成keystore,保存好,一定要记住pa.........【阅读全文】
发布时间:2013-02-21 16:59:05
thats a Bug in 2.1, 2.2A possible workaround could be:ImageView rocketImage = (ImageView) layout.findViewById(R.id.animation); rocketImage.setBackgroundResource(R.drawable.progress_blue_animation); rocketAnimation = (AnimationDrawable) rocketImage.getBackground.........【阅读全文】
发布时间:2013-02-04 17:06:34
unsigned long getCurrentMillis() {struct timespec now;clock_gettime(CLOCK_MONOTONIC, &now);return ((unsigned long)now.tv_sec * 1000000000LL + now.tv_nsec)/1000000;}tv_nsec是10^9秒......【阅读全文】