今天在做项目的过程中,突然发现了一个有趣的问题,那就是我在Java服务器端写程序,String result = "0";然后通过out.println(result),将result值写入到Ajax回调函数的参数data中去,返现无论这个result定义为String,还是int,在前台function(data)中,这个data都是int类行的,也就是说如果你用data=="0"这句话测试,返回的是false!只有data==0,才是返回true! 一步一个脚印
详细异常: A SQLiteConnection object for database '/data/data/.../database/....db' was leaked! Please fix your application to end transactions in progress properly and to close the database when it is no longer needed 明显是数据库操作异常,数据库对象被锁,明确告诉你对象长久不用需要关闭
详细异常: A SQLiteConnection object for database '/data/data/.../databases/....db' was leaked! Please fix your application to end transactions in progress properly and to close the database when it is no longer needed 明显是数据库操作异常,数据库对象被锁,明确告诉你对象长久不用需要关