V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
V2EX  ›  gamexg  ›  全部回复第 199 页 / 共 290 页
回复总数  5791
1 ... 195  196  197  198  199  200  201  202  203  204 ... 290  
2016-07-30 09:58:12 +08:00
回复了 466934322 创建的主题 PHP 求 laravel 实习!
@cesar 管理后台更坑,比前台大几倍的量。
数据库的上事务省心,出错了直接回滚。
2016-07-29 15:43:06 +08:00
回复了 gancl 创建的主题 分享发现 做了个防止骚扰电话的 app
哎,有时候接听放着让对方完成指标也是一个解决方案...
之前不断接到平安的电话,天天打天天拒接。
最后受不了接听了,对方说能把电话放一边多通话一段时间吗?好让他完成指标....
2016-07-29 15:38:33 +08:00
回复了 ecloud 创建的主题 问与答 谷歌翻译 API 现在收费了吗?
nil,nil

实现简单,不用费事的区分开数据库错误还是不存在。
否则还需要定义不同的 error 来区分是数据库错误还是不存在。
2016-07-29 15:19:59 +08:00
回复了 ivmm 创建的主题 问与答 各位反代谷🐶, TTFB 炒鸡长怎么破的?
移动新加坡非常舒服,但是电信线路就非常糟糕了.
基本确认是系统问题, android API 22 (5.1)新增了 sub_id 字段,但是 zte 5.1 里面没有这个字段,也许人工修改数据库增加这个字段并设置默认值为-1 能够解决这个问题。
@ivanchou 原生短信里面能看到旧的短信, AirDroid 也可以看到旧短信,但是都没有新短信。

@echopan 已经设置为了默认, google 账号同步一直开着,虽然一直 s+s ,但是还是觉得网络不太好,换机一直都是手动备份还原。

@l8mEQ331 今天在 v2 看到了 messenger 的帖子,就打算试一下,结果就碰到了这个问题。


查 log , sqlite 报错: android.database.sqlite.SQLiteException: no such column: sub_id (code 1): , while compiling: SELECT _id, type, address, body, date, thread_id, status, read, seen, date_sent, sub_id FROM sms WHERE ((type IN (1, 4, 6, 5, 2)) AND date>=1469758098175 AND date<1469758474248) ORDER BY date DESC

数据库格式不对? sub_id 是什么列?

···
07-29 10:14:34.987 1860-3699/? E/DatabaseUtils﹕ Writing exception to parcel
android.database.sqlite.SQLiteException: no such column: sub_id (code 1): , while compiling: SELECT _id, type, address, body, date, thread_id, status, read, seen, date_sent, sub_id FROM sms WHERE ((type IN (1, 4, 6, 5, 2)) AND date>=1469758098175 AND date<1469758474248) ORDER BY date DESC
at android.database.sqlite.SQLiteConnection.nativePrepareStatement(Native Method)
at android.database.sqlite.SQLiteConnection.acquirePreparedStatement(SQLiteConnection.java:891)
at android.database.sqlite.SQLiteConnection.prepare(SQLiteConnection.java:502)
at android.database.sqlite.SQLiteSession.prepare(SQLiteSession.java:588)
at android.database.sqlite.SQLiteProgram.<init>(SQLiteProgram.java:58)
at android.database.sqlite.SQLiteQuery.<init>(SQLiteQuery.java:37)
at android.database.sqlite.SQLiteDirectCursorDriver.query(SQLiteDirectCursorDriver.java:44)
at android.database.sqlite.SQLiteDatabase.rawQueryWithFactory(SQLiteDatabase.java:1316)
at android.database.sqlite.SQLiteQueryBuilder.query(SQLiteQueryBuilder.java:400)
at android.database.sqlite.SQLiteQueryBuilder.query(SQLiteQueryBuilder.java:294)
at com.android.providers.telephony.SmsProvider.query(SmsProvider.java:311)
at android.content.ContentProvider.query(ContentProvider.java:1014)
at android.content.ContentProvider$Transport.query(ContentProvider.java:228)
at com.zte.ZTESecurity.ZTETransport.query(ZTETransport.java:57)
at android.content.ContentProviderNative.onTransact(ContentProviderNative.java:112)
at android.os.Binder.execTransact(Binder.java:446)
07-29 10:14:34.987 12393-12482/? E/Bugle﹕ SqliteWrapper: catch an exception when query
07-29 10:14:34.997 12393-12482/? E/Bugle﹕ android.database.sqlite.SQLiteException: no such column: sub_id (code 1): , while compiling: SELECT _id, type, address, body, date, thread_id, status, read, seen, date_sent, sub_id FROM sms WHERE ((type IN (1, 4, 6, 5, 2)) AND date>=1469758098175 AND date<1469758474248) ORDER BY date DESC
at android.database.DatabaseUtils.readExceptionFromParcel(DatabaseUtils.java:181)
at android.database.DatabaseUtils.readExceptionFromParcel(DatabaseUtils.java:137)
at android.content.ContentProviderProxy.query(ContentProviderNative.java:421)
at android.content.ContentResolver.query(ContentResolver.java:478)
at android.content.ContentResolver.query(ContentResolver.java:422)
at com.google.android.apps.messaging.shared.mmslib.a.aJW(SourceFile:40)
at com.google.android.apps.messaging.shared.datamodel.action.M.<init>(SourceFile:434)
at com.google.android.apps.messaging.shared.datamodel.action.X.US(SourceFile:119)
at com.google.android.apps.messaging.shared.datamodel.action.SyncMessagesAction.Uz(SourceFile:285)
at com.google.android.apps.messaging.shared.datamodel.action.SyncMessagesAction.Sn(SourceFile:236)
at com.google.android.apps.messaging.shared.datamodel.action.BackgroundWorkerService.Wi(SourceFile:134)
at com.google.android.apps.messaging.shared.datamodel.action.BackgroundWorkerService.onHandleIntent(SourceFile:111)
at android.app.IntentService$ServiceHandler.handleMessage(IntentService.java:65)
at android.os.Handler.dispatchMessage(Handler.java:102)
at android.os.Looper.loop(Looper.java:135)
at android.os.HandlerThread.run(HandlerThread.java:61)
07-29 10:14:34.997 12393-12482/? W/Bugle﹕ SyncCursorPair: Remote SMS query returned null cursor; need to cancel sync
07-29 10:14:34.997 12393-12482/? A/BugleDataModel﹕ wtf
SyncMessagesAction: unexpected failure in scan
java.lang.RuntimeException: Null cursor from remote SMS query
at com.google.android.apps.messaging.shared.datamodel.action.M.<init>(SourceFile:445)
at com.google.android.apps.messaging.shared.datamodel.action.X.US(SourceFile:119)
at com.google.android.apps.messaging.shared.datamodel.action.SyncMessagesAction.Uz(SourceFile:285)
at com.google.android.apps.messaging.shared.datamodel.action.SyncMessagesAction.Sn(SourceFile:236)
at com.google.android.apps.messaging.shared.datamodel.action.BackgroundWorkerService.Wi(SourceFile:134)
at com.google.android.apps.messaging.shared.datamodel.action.BackgroundWorkerService.onHandleIntent(SourceFile:111)
at android.app.IntentService$ServiceHandler.handleMessage(IntentService.java:65)
at android.os.Handler.dispatchMessage(Handler.java:102)
at android.os.Looper.loop(Looper.java:135)
at android.os.HandlerThread.run(HandlerThread.java:61)
07-29 10:14:34.997 12393-12482/? A/BugleDataModel﹕ SyncMessagesAction: unexpected failure in scan
java.lang.RuntimeException: Null cursor from remote SMS query
at com.google.android.apps.messaging.shared.datamodel.action.M.<init>(SourceFile:445)
at com.google.android.apps.messaging.shared.datamodel.action.X.US(SourceFile:119)
at com.google.android.apps.messaging.shared.datamodel.action.SyncMessagesAction.Uz(SourceFile:285)
at com.google.android.apps.messaging.shared.datamodel.action.SyncMessagesAction.Sn(SourceFile:236)
at com.google.android.apps.messaging.shared.datamodel.action.BackgroundWorkerService.Wi(SourceFile:134)
at com.google.android.apps.messaging.shared.datamodel.action.BackgroundWorkerService.onHandleIntent(SourceFile:111)
at android.app.IntentService$ServiceHandler.handleMessage(IntentService.java:65)
at android.os.Handler.dispatchMessage(Handler.java:102)
at android.os.Looper.loop(Looper.java:135)
at android.os.HandlerThread.run(HandlerThread.java:61)

···
2016-07-29 09:45:25 +08:00
回复了 moult 创建的主题 云计算 自己有运维能力的情况下,还有云数据库的必要吗
阿里非云盘有丢失的情况,
但是比较好奇,云盘、云数据库有人碰到丢失数据的情况吗?
丢失后怎么赔偿?
不知道什么安全限制, messenger 无法发送短信。
已经确认 messenger 是默认短信应用,并且安全软件没有拦截 messenger 的权限。

系统是 android 5.1
2016-07-23 11:51:05 +08:00
回复了 macroideal 创建的主题 生活 来来, 讨论一下买 8848 手机的心态
@zaishanfeng 黄金至少能保值,但是这个就...
2016-07-23 10:05:56 +08:00
回复了 zlawliet 创建的主题 问与答 各位神人,带电源线的串口如何连接笔记本?
那种接口能够提供 5V 、 12V 电源。

接口上面有几根线?红色的是 5V ,黄色的是 12V 。
自己对一下接口标准看看设备用的是几 V 电,如果 5V 并且功率不大可以直接改个 usb 线, 12V 的另加个电源即可。
记得之前看过对不同的频率支持需要增加专利费用,所以一些时候即使硬件支持厂家都会关闭掉来减少费用。
2016-07-22 07:47:34 +08:00
回复了 t895 创建的主题 问与答 如何在家访问公司的内网(局域网) PPTP 之类的可以搞定吗?
zerotier
@geektony 封号
2016-07-20 12:03:49 +08:00
回复了 zetaoouyang 创建的主题 生活 请教问题:如果下雨 40 天,我们该是反思什么尼?
@otakustay 请教一下,洗衣机烘干的会不会全是皱子?
2016-07-19 12:41:39 +08:00
回复了 466934322 创建的主题 程序员 坐标:中国银行科兴科学园!《深圳》
无图无真相。
2016-07-19 12:01:44 +08:00
回复了 Okonkwo2016 创建的主题 动物 怎样看待素食主义和动物权益保护?
2016-07-18 16:47:13 +08:00
回复了 rekulas 创建的主题 分享创造 想了一个低成本降温风扇,不知道有没人做过
效果应该不如空调扇吧?
看空调扇的评价 /t/72851
2016-07-17 23:26:52 +08:00
回复了 qcloud 创建的主题 分享发现 绕过百度云恶心的网页下载限速
我前几天下载一个文件,存浏览器下载,结果跑到了 1m 以上。
没发现限速,被劫持了?
2016-07-17 20:38:57 +08:00
回复了 binaryer 创建的主题 程序员 草根码农的第一个创业项目 大家看有没有搞头
Opentap ?
刚刚写了一个 vpn ,多 tcp 连接承载,为了尽可能降低 vpn 内快速重传,快折腾死了。
差点在应用层实现 tcp 重传。
1 ... 195  196  197  198  199  200  201  202  203  204 ... 290  
关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   实用小工具   ·   1419 人在线   最高记录 6679   ·     Select Language
创意工作者们的社区
World is powered by solitude
VERSION: 3.9.8.5 · 73ms · UTC 17:25 · PVG 01:25 · LAX 10:25 · JFK 13:25
Developed with CodeLauncher
♥ Do have faith in what you're doing.