zhujianjia的博客
zhujianjia · 共 190 篇文章
service学习
http://www.cnblogs.com/allin/archive/2010/05/15/1736458.html http://www.cnblogs.com/allin/archive/2010/05/15/1736462.html http://www.cnblogs.com/feisky/archive/2010/06/14/1758336.html http://archive.cnblogs.com/a/2300800/ http://www.cnblogs.com/tanlon/archive/2011/09/29/2195980.html aidl http://my.…
2012-05-16 00:41 · Android · 评论(0)
InputStream,String,File相互转化
1. String --> InputStream InputStream String2InputStream(String str){ ByteArrayInputStream stream = new ByteArrayInputStream(str.getBytes()); return stream; } 2. InputStream --> String String inputStream2String(InputStream is){ BufferedReader in = new BufferedReader(new InputStreamReader(is)); Stri…
2012-05-14 23:32 · Android · 评论(0)
转:[Android]倒影效果的ImagView
本文源自:http://blog.csdn.net/kenshintang1215/article/details/5804236 效果图如下: 代码如下: package lab.sodino.reflection; import android.content.Context; import android.graphics.Bitmap; import android.graphics.Bitmap.Config; import android.graphics.BitmapFactory; import android.graphics.Canvas; import android.…
2012-04-06 23:29 · Android · 评论(0)
转:JAVA 上加密算法的实现用例
通常 , 使用的加密算法 比较简便高效 , 密钥简短,加解密速度快,破译极其困难。本文介绍了 MD5/SHA1,DSA,DESede/DES,Diffie-Hellman 的使用。 第 1 章基础知识 1.1. 单钥密码体制 单钥密码体制是一种传统的加密算法,是指信息的发送方和接收方共同使用同一把密钥进行加解密。 通常 , 使用的加密算法 比较简便高效 , 密钥简短,加解密速度快,破译极其困难。但是加密的安全性依靠密钥保管的安全性 , 在公开的计算机网络上安全地传送和保管密钥是一个严峻的问题,并且如果在多用户的情况下密钥的保管安全性也是一个问题。 单钥密码体制的代表是美国的 DES 1.2.…
2012-04-06 23:07 · java · 评论(0)
转:JDK中的URLConnection参数详解
针对JDK中的URLConnection连接Servlet的问题,网上有虽然有所涉及,但是只是说明了某一个或几个问题,是以FAQ的方式来解决的,而且比较零散,现在对这个类的使用就本人在项目中的使用经验做如下总结: 1:> URL请求的类别: 分为二类,GET与POST请求。二者的区别在于: a:) get请求可以获取静态页面,也可以把参数放在URL字串后面,传递给servlet, b:) post与get的不同之处在于post的参数不是放在URL字串里面,而是放在http请求的正文内。 2:> URLConnection的对象问题: URLConnection的对象,如下代码示例: // 下…
2012-04-06 23:01 · Android · 评论(0)
转:Game Engines for Android (Android游戏引擎)
With Google IO fast approaching and GDC just completed I thought it would be interesting to take a look at the game engines available for mobile devices, specifically for x86 based mobile devices. There are many game engine choices out there, all with a different set of features, pricing, maturity,…
2012-03-24 13:12 · Android · 评论(0)
做Android 系统/应用开发怎么可以不懂自动化测试
http://blog.csdn.net/yiyaaixuexi/article/details/6416130
2012-03-22 15:02 · Android · 评论(0)
让Qt应用程序跑在Android上
http://blog.csdn.net/yiyaaixuexi/article/details/6885408
2012-03-22 14:55 · Android · 评论(0)
转:Necessitas--让你在 Android 上享受 Qt 的乐趣!
http://gaolinjie.blog.cd/index.php/2011/10/30/necessitas/
2012-03-22 14:54 · 评论(0)
转:在android 2.3 AVD 模拟器上安装 google market 安卓市场
http://blog.csdn.net/silenceburn/article/details/6096822
2012-03-22 14:29 · Android · 评论(0)
增加 addDataScheme("file") 才能收到SD卡插拔事件的原因分析 -- 浅析android事件过滤策略
http://blog.csdn.net/silenceburn/article/details/6083375
2012-03-22 14:26 · Android · 评论(0)
转:andengine中的ParticleSystem
看ParticleSystemSimpleExample,看得眼冒金星也没有看出来为什么那写笑脸会从左下角出来,并以抛物线的轨迹在东。实在没办法了,觉得调试一下试试看,发现实际跑出来的和那个笑脸的不一样,坑嗲啊。 网上查了一下粒子系统的定义,感觉应该是这么回事:粒子系统是指将粒子赋予一定的物理模型,然后通过大量粒子来模拟各种视觉效果,如水波、烟云、火花、爆炸等等。 andengine中的粒子系统被分为粒子、容器、发射器、初始化器和更新器: 1、Particle 实际粒子,支持生存时间。通过在Sprite的基础上添加生存时间和PhysicsHandler来实现。PhysicsHandler负责…
2012-01-18 11:08 · Android · 评论(0)
转:android 打包自己的自定义组件成JAR包
http://www.cnblogs.com/TerryBlog/archive/2011/05/12/2044900.html
2011-12-24 11:54 · Android · 评论(0)
转:AndEngine中的字体加载及应用
AndEngine中的字体加载及应用 AndEngine中的字体加载及应用 public void onLoadResources() { this.mTexture1 = new Texture(256, 256, TextureOptions.BILINEAR_PREMULTIPLYALPHA); FontFactory.setAssetBasePath("font/"); this.mPlokFont = FontFactory.createFromAsset(this.mTexture1, this, "Plok.ttf", 30, true, Color.BLACK); this.…
2011-12-15 15:39 · Android · 评论(0)