Thank you for all of your responses! I'll try to respond in the correct order now. For some verbose logcat, scroll down :)
Darren: The wildcard subscription was a last resort when I was unable to get any messages. Today I actually noticed what you meant for the first time about getting your own messages back, which I think is a good thing because that never happened before (even when I was wildcard subscribed). The scary thing is, I didn't change anything, just started the app a couple of days later...As for debugging through my init, do you mean the setup that I posted in my original e-mail? Everything seems to be happening in order, and the client connects successfully.
private void publishMessage(TransmissionType p_type, TransmissionPayload p_payload){
if (!_mqttClient.isConnected()){
try {
IMqttToken token = _mqttClient.connect(_mqttOptions);
token.waitForCompletion();
} catch (MqttException e) { handleMqttException(e); }
}
Transmission tx = new Transmission(p_type, p_payload);
ByteArrayOutputStream outputStream = new ByteArrayOutputStream();
try{
ObjectOutputStream writeStream = new ObjectOutputStream(outputStream);
writeStream.writeObject(tx);
writeStream.flush();
}catch(IOException e){ e.printStackTrace(); }
try {
_mqttClient.publish(_topic, outputStream.toByteArray(), 2, false);
} catch (MqttException e) { handleMqttException(e); }
}
In posting this code I just noticed that if the client isn't connected and I reconnect at the beginning...do I also need to re-subscribe?
My broker is indiscriminate in allowing connections for the purpose of me getting this to work, so any client ID is accepted and there are no restrictions in place for access.
As I said earlier, here's the logcat for a short run of the app. I sent a few messages, had my partner send a few, none were received. There was a time-out in the middle, but after that I tried sending a message again and it went through so I'm assuming my re-connect logic in my publish method took care of that. I haven't implemented a connectionLost override as I wasn't sure how that might tie into the lifecycle of the service, is that critical to receiving messages? Thanks again for all of your help!
11-26 18:17:02.620 30903-30903/com.mill_e.ustwo D/dalvikvm﹕ Late-enabling CheckJNI
11-26 18:17:03.370 30903-30903/com.mill_e.ustwo D/libEGL﹕ loaded /system/lib/egl/libEGL_mali.so
11-26 18:17:03.395 30903-30903/com.mill_e.ustwo D/libEGL﹕ loaded /system/lib/egl/libGLESv1_CM_mali.so
11-26 18:17:03.400 30903-30903/com.mill_e.ustwo D/libEGL﹕ loaded /system/lib/egl/libGLESv2_mali.so
11-26 18:17:03.400 30903-30903/com.mill_e.ustwo D/﹕ Device driver API match
Device driver API version: 10
User space API version: 10
11-26 18:17:03.400 30903-30903/com.mill_e.ustwo D/﹕ mali: REVISION=Linux-r2p4-02rel0 BUILD_DATE=Tue Oct 16 15:37:13 KST 2012
11-26 18:17:03.440 30903-30903/com.mill_e.ustwo D/OpenGLRenderer﹕ Enabling debug mode 0
11-26 18:17:03.490 30903-30905/com.mill_e.ustwo D/dalvikvm﹕ GC_CONCURRENT freed 173K, 6% free 12439K/13127K, paused 13ms+2ms, total 30ms
11-26 18:17:03.615 30903-30905/com.mill_e.ustwo D/dalvikvm﹕ GC_CONCURRENT freed 300K, 7% free 12653K/13511K, paused 14ms+17ms, total 66ms
11-26 18:17:03.715 30903-30905/com.mill_e.ustwo D/dalvikvm﹕ GC_CONCURRENT freed 260K, 6% free 12912K/13703K, paused 11ms+1ms, total 40ms
11-26 18:17:04.280 30903-30903/com.mill_e.ustwo I/Choreographer﹕ Skipped 48 frames! The application may be doing too much work on its main thread.
11-26 18:17:04.360 30903-30903/com.mill_e.ustwo D/AbsListView﹕ Get MotionRecognitionManager
11-26 18:17:04.560 30903-30905/com.mill_e.ustwo D/dalvikvm﹕ GC_CONCURRENT freed 242K, 6% free 13109K/13895K, paused 20ms+18ms, total 66ms
11-26 18:17:12.840 30903-30903/com.mill_e.ustwo W/System.err﹕ Client is not connected (32104)
11-26 18:17:12.840 30903-30903/com.mill_e.ustwo W/System.err﹕ at org.eclipse.paho.client.mqttv3.internal.ExceptionHelper.createMqttException(ExceptionHelper.java:27)
11-26 18:17:12.840 30903-30903/com.mill_e.ustwo W/System.err﹕ at org.eclipse.paho.client.mqttv3.internal.ClientComms.sendNoWait(ClientComms.java:132)
11-26 18:17:12.840 30903-30903/com.mill_e.ustwo W/System.err﹕ at org.eclipse.paho.client.mqttv3.MqttAsyncClient.publish(MqttAsyncClient.java:785)
11-26 18:17:12.840 30903-30903/com.mill_e.ustwo W/System.err﹕ at org.eclipse.paho.client.mqttv3.MqttAsyncClient.publish(MqttAsyncClient.java:750)
11-26 18:17:12.840 30903-30903/com.mill_e.ustwo W/System.err﹕ at org.eclipse.paho.client.mqttv3.MqttAsyncClient.publish(MqttAsyncClient.java:757)
11-26 18:17:12.840 30903-30903/com.mill_e.ustwo W/System.err﹕ at com.mill_e.ustwo.UsTwoService.pingServer(UsTwoService.java:388)
11-26 18:17:12.840 30903-30903/com.mill_e.ustwo W/System.err﹕ at com.mill_e.ustwo.UsTwoService.access$000(UsTwoService.java:39)
11-26 18:17:12.840 30903-30903/com.mill_e.ustwo W/System.err﹕ at com.mill_e.ustwo.UsTwoService$1.onReceive(UsTwoService.java:52)
11-26 18:17:12.840 30903-30903/com.mill_e.ustwo W/System.err﹕ at android.app.LoadedApk$ReceiverDispatcher$Args.run(LoadedApk.java:755)
11-26 18:17:12.840 30903-30903/com.mill_e.ustwo W/System.err﹕ at android.os.Handler.handleCallback(Handler.java:615)
11-26 18:17:12.840 30903-30903/com.mill_e.ustwo W/System.err﹕ at android.os.Handler.dispatchMessage(Handler.java:92)
11-26 18:17:12.840 30903-30903/com.mill_e.ustwo W/System.err﹕ at android.os.Looper.loop(Looper.java:137)
11-26 18:17:12.840 30903-30903/com.mill_e.ustwo W/System.err﹕ at android.app.ActivityThread.main(ActivityThread.java:4898)
11-26 18:17:12.840 30903-30903/com.mill_e.ustwo W/System.err﹕ at java.lang.reflect.Method.invokeNative(Native Method)
11-26 18:17:12.840 30903-30903/com.mill_e.ustwo W/System.err﹕ at java.lang.reflect.Method.invoke(Method.java:511)
11-26 18:17:12.840 30903-30903/com.mill_e.ustwo W/System.err﹕ at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1008)
11-26 18:17:12.840 30903-30903/com.mill_e.ustwo W/System.err﹕ at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:775)
11-26 18:17:12.840 30903-30903/com.mill_e.ustwo W/System.err﹕ at dalvik.system.NativeStart.main(Native Method)
11-26 18:18:46.575 30903-30903/com.mill_e.ustwo D/GestureDetector﹕ [Surface Touch Event] mSweepDown False, mLRSDCnt : -1 mTouchCnt : 2 mFalseSizeCnt:0
11-26 18:18:46.580 30903-30903/com.mill_e.ustwo E/SensorManager﹕ thread start
11-26 18:18:46.580 30903-30903/com.mill_e.ustwo D/SensorManager﹕ registerListener :: handle = 0 name= LSM330DLC Acceleration Sensor delay= 200000 Listener= android.view.OrientationEventListener$SensorEventListenerImpl@41ff9170
11-26 18:18:46.740 30903-30903/com.mill_e.ustwo E/SpannableStringBuilder﹕ SPAN_EXCLUSIVE_EXCLUSIVE spans cannot have a zero length
11-26 18:18:46.740 30903-30903/com.mill_e.ustwo E/SpannableStringBuilder﹕ SPAN_EXCLUSIVE_EXCLUSIVE spans cannot have a zero length
11-26 18:18:46.750 30903-30903/com.mill_e.ustwo E/SpannableStringBuilder﹕ SPAN_EXCLUSIVE_EXCLUSIVE spans cannot have a zero length
11-26 18:18:46.750 30903-30903/com.mill_e.ustwo E/SpannableStringBuilder﹕ SPAN_EXCLUSIVE_EXCLUSIVE spans cannot have a zero length
11-26 18:22:12.115 30903-30903/com.mill_e.ustwo D/SensorManager﹕ unregisterListener:: Listener= android.view.OrientationEventListener$SensorEventListenerImpl@41ff9170
11-26 18:22:12.115 30903-30903/com.mill_e.ustwo D/Sensors﹕ Remain listener = Sending .. normal delay 200ms
11-26 18:22:12.115 30903-30903/com.mill_e.ustwo I/Sensors﹕ sendDelay --- 200000000
11-26 18:22:12.115 30903-30903/com.mill_e.ustwo D/SensorManager﹕ JNI - sendDelay
11-26 18:22:12.115 30903-30903/com.mill_e.ustwo I/SensorManager﹕ Set normal delay = true
11-26 18:22:14.260 30903-30903/com.mill_e.ustwo D/SensorManager﹕ registerListener :: handle = 0 name= LSM330DLC Acceleration Sensor delay= 200000 Listener= android.view.OrientationEventListener$SensorEventListenerImpl@41ff9170
11-26 18:24:01.160 30903-30903/com.mill_e.ustwo D/GestureDetector﹕ [Surface Touch Event] mSweepDown False, mLRSDCnt : -1 mTouchCnt : 2 mFalseSizeCnt:0
11-26 18:24:02.560 30903-30903/com.mill_e.ustwo E/SpannableStringBuilder﹕ SPAN_EXCLUSIVE_EXCLUSIVE spans cannot have a zero length
11-26 18:24:02.560 30903-30903/com.mill_e.ustwo E/SpannableStringBuilder﹕ SPAN_EXCLUSIVE_EXCLUSIVE spans cannot have a zero length
11-26 18:24:02.560 30903-30903/com.mill_e.ustwo E/SpannableStringBuilder﹕ SPAN_EXCLUSIVE_EXCLUSIVE spans cannot have a zero length
11-26 18:24:02.560 30903-30903/com.mill_e.ustwo E/SpannableStringBuilder﹕ SPAN_EXCLUSIVE_EXCLUSIVE spans cannot have a zero length
11-26 18:24:02.605 30903-30903/com.mill_e.ustwo E/SpannableStringBuilder﹕ SPAN_EXCLUSIVE_EXCLUSIVE spans cannot have a zero length
11-26 18:24:02.605 30903-30903/com.mill_e.ustwo E/SpannableStringBuilder﹕ SPAN_EXCLUSIVE_EXCLUSIVE spans cannot have a zero length
11-26 18:24:03.130 30903-30903/com.mill_e.ustwo E/SpannableStringBuilder﹕ SPAN_EXCLUSIVE_EXCLUSIVE spans cannot have a zero length
11-26 18:24:03.130 30903-30903/com.mill_e.ustwo E/SpannableStringBuilder﹕ SPAN_EXCLUSIVE_EXCLUSIVE spans cannot have a zero length
11-26 18:24:03.750 30903-30903/com.mill_e.ustwo E/SpannableStringBuilder﹕ SPAN_EXCLUSIVE_EXCLUSIVE spans cannot have a zero length
11-26 18:24:03.750 30903-30903/com.mill_e.ustwo E/SpannableStringBuilder﹕ SPAN_EXCLUSIVE_EXCLUSIVE spans cannot have a zero length
11-26 18:24:04.165 30903-30903/com.mill_e.ustwo E/SpannableStringBuilder﹕ SPAN_EXCLUSIVE_EXCLUSIVE spans cannot have a zero length
11-26 18:24:04.165 30903-30903/com.mill_e.ustwo E/SpannableStringBuilder﹕ SPAN_EXCLUSIVE_EXCLUSIVE spans cannot have a zero length
11-26 18:24:04.700 30903-30903/com.mill_e.ustwo D/GestureDetector﹕ [Surface Touch Event] mSweepDown False, mLRSDCnt : -1 mTouchCnt : 4 mFalseSizeCnt:0
11-26 18:24:34.755 30903-30903/com.mill_e.ustwo W/System.err﹕ MqttException (0) - MqttException (0) - java.net.SocketTimeoutException: failed to connect to /
173.75.0.159 (port 1883) after 30000ms
11-26 18:24:34.755 30903-30903/com.mill_e.ustwo W/System.err﹕ at org.eclipse.paho.client.mqttv3.internal.ConnectActionListener.onFailure(ConnectActionListener.java:103)
11-26 18:24:34.755 30903-30903/com.mill_e.ustwo W/System.err﹕ at org.eclipse.paho.client.mqttv3.internal.CommsCallback.fireActionEvent(CommsCallback.java:260)
11-26 18:24:34.755 30903-30903/com.mill_e.ustwo W/System.err﹕ at org.eclipse.paho.client.mqttv3.internal.CommsCallback.handleActionComplete(CommsCallback.java:195)
11-26 18:24:34.755 30903-30903/com.mill_e.ustwo W/System.err﹕ at org.eclipse.paho.client.mqttv3.internal.CommsCallback.asyncOperationComplete(CommsCallback.java:362)
11-26 18:24:34.755 30903-30903/com.mill_e.ustwo W/System.err﹕ at org.eclipse.paho.client.mqttv3.internal.ClientComms.shutdownConnection(ClientComms.java:334)
11-26 18:24:34.755 30903-30903/com.mill_e.ustwo W/System.err﹕ at org.eclipse.paho.client.mqttv3.internal.ClientComms$ConnectBG.run(ClientComms.java:557)
11-26 18:24:34.755 30903-30903/com.mill_e.ustwo W/System.err﹕ at java.lang.Thread.run(Thread.java:856)
11-26 18:24:34.755 30903-30903/com.mill_e.ustwo W/System.err﹕ Caused by: MqttException (0) - java.net.SocketTimeoutException: failed to connect to /
173.75.0.159 (port 1883) after 30000ms
11-26 18:24:34.755 30903-30903/com.mill_e.ustwo W/System.err﹕ at org.eclipse.paho.client.mqttv3.internal.ExceptionHelper.createMqttException(ExceptionHelper.java:34)
11-26 18:24:34.755 30903-30903/com.mill_e.ustwo W/System.err﹕ at org.eclipse.paho.client.mqttv3.internal.ClientComms$ConnectBG.run(ClientComms.java:553)
11-26 18:24:34.755 30903-30903/com.mill_e.ustwo W/System.err﹕ ... 1 more
11-26 18:24:34.760 30903-30903/com.mill_e.ustwo W/System.err﹕ Caused by: java.net.SocketTimeoutException: failed to connect to /
173.75.0.159 (port 1883) after 30000ms
11-26 18:24:34.765 30903-30903/com.mill_e.ustwo W/System.err﹕ at libcore.io.IoBridge.connectErrno(IoBridge.java:159)
11-26 18:24:34.765 30903-30903/com.mill_e.ustwo W/System.err﹕ at libcore.io.IoBridge.connect(IoBridge.java:112)
11-26 18:24:34.765 30903-30903/com.mill_e.ustwo W/System.err﹕ at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:192)
11-26 18:24:34.765 30903-30903/com.mill_e.ustwo W/System.err﹕ at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:459)
11-26 18:24:34.765 30903-30903/com.mill_e.ustwo W/System.err﹕ at java.net.Socket.connect(Socket.java:842)
11-26 18:24:34.765 30903-30903/com.mill_e.ustwo W/System.err﹕ at org.eclipse.paho.client.mqttv3.internal.TCPNetworkModule.start(TCPNetworkModule.java:66)
11-26 18:24:34.765 30903-30903/com.mill_e.ustwo W/System.err﹕ at org.eclipse.paho.client.mqttv3.internal.ClientComms$ConnectBG.run(ClientComms.java:538)
11-26 18:24:34.765 30903-30903/com.mill_e.ustwo W/System.err﹕ ... 1 more
11-26 18:24:34.770 30903-30905/com.mill_e.ustwo D/dalvikvm﹕ GC_CONCURRENT freed 384K, 7% free 13198K/14087K, paused 1ms+2ms, total 17ms
11-26 18:24:34.775 30903-30903/com.mill_e.ustwo W/System.err﹕ Client is not connected (32104)
11-26 18:24:34.780 30903-30903/com.mill_e.ustwo W/System.err﹕ at org.eclipse.paho.client.mqttv3.internal.ExceptionHelper.createMqttException(ExceptionHelper.java:27)
11-26 18:24:34.780 30903-30903/com.mill_e.ustwo W/System.err﹕ at org.eclipse.paho.client.mqttv3.internal.ClientComms.sendNoWait(ClientComms.java:132)
11-26 18:24:34.780 30903-30903/com.mill_e.ustwo W/System.err﹕ at org.eclipse.paho.client.mqttv3.MqttAsyncClient.publish(MqttAsyncClient.java:785)
11-26 18:24:34.780 30903-30903/com.mill_e.ustwo W/System.err﹕ at org.eclipse.paho.client.mqttv3.MqttAsyncClient.publish(MqttAsyncClient.java:750)
11-26 18:24:34.780 30903-30903/com.mill_e.ustwo W/System.err﹕ at org.eclipse.paho.client.mqttv3.MqttAsyncClient.publish(MqttAsyncClient.java:757)
11-26 18:24:34.780 30903-30903/com.mill_e.ustwo W/System.err﹕ at com.mill_e.ustwo.UsTwoService.publishMessage(UsTwoService.java:343)
11-26 18:24:34.780 30903-30903/com.mill_e.ustwo W/System.err﹕ at com.mill_e.ustwo.UsTwoService.addMessage(UsTwoService.java:227)
11-26 18:24:34.780 30903-30903/com.mill_e.ustwo W/System.err﹕ at com.mill_e.ustwo.MessagingFragment.sendMessage(MessagingFragment.java:123)
11-26 18:24:34.780 30903-30903/com.mill_e.ustwo W/System.err﹕ at com.mill_e.ustwo.MessagingFragment$1.onClick(MessagingFragment.java:37)
11-26 18:24:34.780 30903-30903/com.mill_e.ustwo W/System.err﹕ at android.view.View.performClick(View.java:4223)
11-26 18:24:34.780 30903-30903/com.mill_e.ustwo W/System.err﹕ at android.view.View$PerformClick.run(View.java:17275)
11-26 18:24:34.780 30903-30903/com.mill_e.ustwo W/System.err﹕ at android.os.Handler.handleCallback(Handler.java:615)
11-26 18:24:34.780 30903-30903/com.mill_e.ustwo W/System.err﹕ at android.os.Handler.dispatchMessage(Handler.java:92)
11-26 18:24:34.780 30903-30903/com.mill_e.ustwo W/System.err﹕ at android.os.Looper.loop(Looper.java:137)
11-26 18:24:34.780 30903-30903/com.mill_e.ustwo W/System.err﹕ at android.app.ActivityThread.main(ActivityThread.java:4898)
11-26 18:24:34.780 30903-30903/com.mill_e.ustwo W/System.err﹕ at java.lang.reflect.Method.invokeNative(Native Method)
11-26 18:24:34.780 30903-30903/com.mill_e.ustwo W/System.err﹕ at java.lang.reflect.Method.invoke(Method.java:511)
11-26 18:24:34.780 30903-30903/com.mill_e.ustwo W/System.err﹕ at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1008)
11-26 18:24:34.780 30903-30903/com.mill_e.ustwo W/System.err﹕ at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:775)
11-26 18:24:34.780 30903-30903/com.mill_e.ustwo W/System.err﹕ at dalvik.system.NativeStart.main(Native Method)
11-26 18:24:34.790 30903-30903/com.mill_e.ustwo D/GestureDetector﹕ [Surface Touch Event] mSweepDown False, mLRSDCnt : -1 mTouchCnt : 3 mFalseSizeCnt:0
11-26 18:24:34.795 30903-30903/com.mill_e.ustwo I/Choreographer﹕ Skipped 1743 frames! The application may be doing too much work on its main thread.
11-26 18:24:34.820 30903-30903/com.mill_e.ustwo D/AbsListView﹕ Get MotionRecognitionManager
11-26 18:24:34.890 30903-30903/com.mill_e.ustwo D/SensorManager﹕ unregisterListener:: Listener= android.view.OrientationEventListener$SensorEventListenerImpl@41ff9170
11-26 18:24:34.890 30903-30903/com.mill_e.ustwo D/Sensors﹕ Remain listener = Sending .. normal delay 200ms
11-26 18:24:34.890 30903-30903/com.mill_e.ustwo I/Sensors﹕ sendDelay --- 200000000
11-26 18:24:34.890 30903-30903/com.mill_e.ustwo D/SensorManager﹕ JNI - sendDelay
11-26 18:24:34.890 30903-30903/com.mill_e.ustwo I/SensorManager﹕ Set normal delay = true
11-26 18:24:34.905 30903-30903/com.mill_e.ustwo E/SpannableStringBuilder﹕ SPAN_EXCLUSIVE_EXCLUSIVE spans cannot have a zero length
11-26 18:24:34.905 30903-30903/com.mill_e.ustwo E/SpannableStringBuilder﹕ SPAN_EXCLUSIVE_EXCLUSIVE spans cannot have a zero length
11-26 18:24:34.920 30903-30903/com.mill_e.ustwo E/SpannableStringBuilder﹕ SPAN_EXCLUSIVE_EXCLUSIVE spans cannot have a zero length
11-26 18:24:34.920 30903-30903/com.mill_e.ustwo E/SpannableStringBuilder﹕ SPAN_EXCLUSIVE_EXCLUSIVE spans cannot have a zero length
11-26 18:24:35.020 30903-30903/com.mill_e.ustwo E/SpannableStringBuilder﹕ SPAN_EXCLUSIVE_EXCLUSIVE spans cannot have a zero length
11-26 18:24:35.020 30903-30903/com.mill_e.ustwo E/SpannableStringBuilder﹕ SPAN_EXCLUSIVE_EXCLUSIVE spans cannot have a zero length
11-26 18:24:36.270 30903-30903/com.mill_e.ustwo W/InputEventReceiver﹕ Attempted to finish an input event but the input event receiver has already been disposed.
11-26 18:24:36.270 30903-30903/com.mill_e.ustwo D/SensorManager﹕ registerListener :: handle = 0 name= LSM330DLC Acceleration Sensor delay= 200000 Listener= android.view.OrientationEventListener$SensorEventListenerImpl@41ff9170
11-26 18:24:57.235 30903-30903/com.mill_e.ustwo D/GestureDetector﹕ [Surface Touch Event] mSweepDown False, mLRSDCnt : -1 mTouchCnt : 2 mFalseSizeCnt:0
11-26 18:24:57.700 30903-30903/com.mill_e.ustwo E/SpannableStringBuilder﹕ SPAN_EXCLUSIVE_EXCLUSIVE spans cannot have a zero length
11-26 18:24:57.700 30903-30903/com.mill_e.ustwo E/SpannableStringBuilder﹕ SPAN_EXCLUSIVE_EXCLUSIVE spans cannot have a zero length
11-26 18:24:57.710 30903-30903/com.mill_e.ustwo E/SpannableStringBuilder﹕ SPAN_EXCLUSIVE_EXCLUSIVE spans cannot have a zero length
11-26 18:24:57.710 30903-30903/com.mill_e.ustwo E/SpannableStringBuilder﹕ SPAN_EXCLUSIVE_EXCLUSIVE spans cannot have a zero length
11-26 18:24:57.740 30903-30903/com.mill_e.ustwo E/SpannableStringBuilder﹕ SPAN_EXCLUSIVE_EXCLUSIVE spans cannot have a zero length
11-26 18:24:57.740 30903-30903/com.mill_e.ustwo E/SpannableStringBuilder﹕ SPAN_EXCLUSIVE_EXCLUSIVE spans cannot have a zero length
11-26 18:24:57.895 30903-30905/com.mill_e.ustwo D/dalvikvm﹕ GC_CONCURRENT freed 355K, 7% free 13236K/14151K, paused 11ms+2ms, total 26ms
11-26 18:24:58.025 30903-16517/com.mill_e.ustwo E/SQLiteDatabase﹕ Error inserting LIST_NAME=null CHECKED=0 LIST_ITEM=Things I miss about u
android.database.sqlite.SQLiteConstraintException: Lists.LIST_NAME may not be NULL (code 19)
at android.database.sqlite.SQLiteConnection.nativeExecuteForLastInsertedRowId(Native Method)
at android.database.sqlite.SQLiteConnection.executeForLastInsertedRowId(SQLiteConnection.java:905)
at android.database.sqlite.SQLiteSession.executeForLastInsertedRowId(SQLiteSession.java:788)
at android.database.sqlite.SQLiteStatement.executeInsert(SQLiteStatement.java:86)
at android.database.sqlite.SQLiteDatabase.insertWithOnConflict(SQLiteDatabase.java:1469)
at android.database.sqlite.SQLiteDatabase.insert(SQLiteDatabase.java:1339)
at com.mill_e.ustwo.Lists.addItem(Lists.java:133)
at com.mill_e.ustwo.Lists.addItem(Lists.java:103)
at com.mill_e.ustwo.UsTwoService.handleMessage(UsTwoService.java:373)
at com.mill_e.ustwo.UsTwoService.messageArrived(UsTwoService.java:321)
at org.eclipse.paho.client.mqttv3.internal.CommsCallback.handleMessage(CommsCallback.java:336)
at org.eclipse.paho.client.mqttv3.internal.CommsCallback.run(CommsCallback.java:148)
at java.lang.Thread.run(Thread.java:856)
11-26 18:24:58.465 30903-30905/com.mill_e.ustwo D/dalvikvm﹕ GC_CONCURRENT freed 434K, 7% free 13232K/14215K, paused 12ms+2ms, total 27ms
11-26 18:25:00.270 30903-30903/com.mill_e.ustwo D/GestureDetector﹕ [Surface Touch Event] mSweepDown False, mLRSDCnt : -1 mTouchCnt : 12 mFalseSizeCnt:0
11-26 18:25:01.510 30903-30903/com.mill_e.ustwo D/GestureDetector﹕ [Surface Touch Event] mSweepDown False, mLRSDCnt : -1 mTouchCnt : 24 mFalseSizeCnt:0
11-26 18:25:02.350 30903-30903/com.mill_e.ustwo D/GestureDetector﹕ [Surface Touch Event] mSweepDown False, mLRSDCnt : -1 mTouchCnt : 30 mFalseSizeCnt:0
11-26 18:25:03.325 30903-30903/com.mill_e.ustwo D/GestureDetector﹕ [Surface Touch Event] mSweepDown False, mLRSDCnt : -1 mTouchCnt : 20 mFalseSizeCnt:0
11-26 18:25:03.930 30903-30903/com.mill_e.ustwo D/GestureDetector﹕ [Surface Touch Event] mSweepDown False, mLRSDCnt : -1 mTouchCnt : 9 mFalseSizeCnt:0
11-26 18:25:04.665 30903-30905/com.mill_e.ustwo D/dalvikvm﹕ GC_CONCURRENT freed 260K, 6% free 13406K/14215K, paused 13ms+2ms, total 30ms
11-26 18:25:04.710 30903-30903/com.mill_e.ustwo D/GestureDetector﹕ [Surface Touch Event] mSweepDown False, mLRSDCnt : -1 mTouchCnt : 20 mFalseSizeCnt:0
11-26 18:25:05.550 30903-30903/com.mill_e.ustwo D/GestureDetector﹕ [Surface Touch Event] mSweepDown False, mLRSDCnt : -1 mTouchCnt : 6 mFalseSizeCnt:0
11-26 18:25:06.765 30903-30903/com.mill_e.ustwo D/GestureDetector﹕ [Surface Touch Event] mSweepDown False, mLRSDCnt : -1 mTouchCnt : 24 mFalseSizeCnt:0
11-26 18:25:07.070 30903-30903/com.mill_e.ustwo D/GestureDetector﹕ [Surface Touch Event] mSweepDown False, mLRSDCnt : -1 mTouchCnt : 8 mFalseSizeCnt:0
11-26 18:26:12.690 30903-30903/com.mill_e.ustwo D/SensorManager﹕ unregisterListener:: Listener= android.view.OrientationEventListener$SensorEventListenerImpl@41ff9170
11-26 18:26:12.690 30903-30903/com.mill_e.ustwo D/Sensors﹕ Remain listener = Sending .. normal delay 200ms
11-26 18:26:12.690 30903-30903/com.mill_e.ustwo I/Sensors﹕ sendDelay --- 200000000
11-26 18:26:12.690 30903-30903/com.mill_e.ustwo D/SensorManager﹕ JNI - sendDelay
11-26 18:26:12.690 30903-30903/com.mill_e.ustwo I/SensorManager﹕ Set normal delay = true
11-26 18:26:13.100 30903-30903/com.mill_e.ustwo W/IInputConnectionWrapper﹕ showStatusIcon on inactive InputConnection
11-26 18:26:30.460 30903-30903/com.mill_e.ustwo D/AbsListView﹕ Get MotionRecognitionManager
11-26 18:26:30.640 30903-30905/com.mill_e.ustwo D/dalvikvm﹕ GC_CONCURRENT freed 135K, 5% free 13747K/14407K, paused 12ms+16ms, total 55ms
11-26 18:26:31.630 30903-30903/com.mill_e.ustwo D/GestureDetector﹕ [Surface Touch Event] mSweepDown False, mLRSDCnt : -1 mTouchCnt : 10 mFalseSizeCnt:0
11-26 18:26:36.200 30903-30903/com.mill_e.ustwo D/GestureDetector﹕ [Surface Touch Event] mSweepDown False, mLRSDCnt : -1 mTouchCnt : 5 mFalseSizeCnt:0
11-26 18:26:36.200 30903-30903/com.mill_e.ustwo D/SensorManager﹕ registerListener :: handle = 0 name= LSM330DLC Acceleration Sensor delay= 200000 Listener= android.view.OrientationEventListener$SensorEventListenerImpl@420e6dd8
11-26 18:26:36.235 30903-30903/com.mill_e.ustwo E/SpannableStringBuilder﹕ SPAN_EXCLUSIVE_EXCLUSIVE spans cannot have a zero length
11-26 18:26:36.235 30903-30903/com.mill_e.ustwo E/SpannableStringBuilder﹕ SPAN_EXCLUSIVE_EXCLUSIVE spans cannot have a zero length
11-26 18:26:36.245 30903-30903/com.mill_e.ustwo E/SpannableStringBuilder﹕ SPAN_EXCLUSIVE_EXCLUSIVE spans cannot have a zero length
11-26 18:26:36.245 30903-30903/com.mill_e.ustwo E/SpannableStringBuilder﹕ SPAN_EXCLUSIVE_EXCLUSIVE spans cannot have a zero length
11-26 18:26:38.290 30903-30903/com.mill_e.ustwo E/SpannableStringBuilder﹕ SPAN_EXCLUSIVE_EXCLUSIVE spans cannot have a zero length
11-26 18:26:38.290 30903-30903/com.mill_e.ustwo E/SpannableStringBuilder﹕ SPAN_EXCLUSIVE_EXCLUSIVE spans cannot have a zero length
11-26 18:26:38.440 30903-30903/com.mill_e.ustwo E/SpannableStringBuilder﹕ SPAN_EXCLUSIVE_EXCLUSIVE spans cannot have a zero length
11-26 18:26:38.440 30903-30903/com.mill_e.ustwo E/SpannableStringBuilder﹕ SPAN_EXCLUSIVE_EXCLUSIVE spans cannot have a zero length
11-26 18:26:39.795 30903-30903/com.mill_e.ustwo D/GestureDetector﹕ [Surface Touch Event] mSweepDown False, mLRSDCnt : -1 mTouchCnt : 2 mFalseSizeCnt:0
11-26 18:26:40.130 30903-30905/com.mill_e.ustwo D/dalvikvm﹕ GC_CONCURRENT freed 293K, 6% free 13914K/14727K, paused 12ms+4ms, total 33ms
11-26 18:26:40.160 30903-30903/com.mill_e.ustwo E/SpannableStringBuilder﹕ SPAN_EXCLUSIVE_EXCLUSIVE spans cannot have a zero length
11-26 18:26:40.160 30903-30903/com.mill_e.ustwo E/SpannableStringBuilder﹕ SPAN_EXCLUSIVE_EXCLUSIVE spans cannot have a zero length
11-26 18:26:40.180 30903-30903/com.mill_e.ustwo E/SpannableStringBuilder﹕ SPAN_EXCLUSIVE_EXCLUSIVE spans cannot have a zero length
11-26 18:26:40.180 30903-30903/com.mill_e.ustwo E/SpannableStringBuilder﹕ SPAN_EXCLUSIVE_EXCLUSIVE spans cannot have a zero length
11-26 18:26:40.305 30903-30903/com.mill_e.ustwo E/SpannableStringBuilder﹕ SPAN_EXCLUSIVE_EXCLUSIVE spans cannot have a zero length
11-26 18:26:40.305 30903-30903/com.mill_e.ustwo E/SpannableStringBuilder﹕ SPAN_EXCLUSIVE_EXCLUSIVE spans cannot have a zero length
11-26 18:28:08.475 30903-30903/com.mill_e.ustwo E/SpannableStringBuilder﹕ SPAN_EXCLUSIVE_EXCLUSIVE spans cannot have a zero length
11-26 18:28:08.475 30903-30903/com.mill_e.ustwo E/SpannableStringBuilder﹕ SPAN_EXCLUSIVE_EXCLUSIVE spans cannot have a zero length
11-26 18:28:09.385 30903-30903/com.mill_e.ustwo E/SpannableStringBuilder﹕ SPAN_EXCLUSIVE_EXCLUSIVE spans cannot have a zero length
11-26 18:28:09.385 30903-30903/com.mill_e.ustwo E/SpannableStringBuilder﹕ SPAN_EXCLUSIVE_EXCLUSIVE spans cannot have a zero length
11-26 18:28:10.040 30903-30903/com.mill_e.ustwo E/SpannableStringBuilder﹕ SPAN_EXCLUSIVE_EXCLUSIVE spans cannot have a zero length
11-26 18:28:10.040 30903-30903/com.mill_e.ustwo E/SpannableStringBuilder﹕ SPAN_EXCLUSIVE_EXCLUSIVE spans cannot have a zero length
11-26 18:28:10.385 30903-30903/com.mill_e.ustwo D/GestureDetector﹕ [Surface Touch Event] mSweepDown False, mLRSDCnt : -1 mTouchCnt : 3 mFalseSizeCnt:0
11-26 18:28:10.885 30903-30903/com.mill_e.ustwo E/SpannableStringBuilder﹕ SPAN_EXCLUSIVE_EXCLUSIVE spans cannot have a zero length
11-26 18:28:10.885 30903-30903/com.mill_e.ustwo E/SpannableStringBuilder﹕ SPAN_EXCLUSIVE_EXCLUSIVE spans cannot have a zero length
11-26 18:28:10.895 30903-30903/com.mill_e.ustwo E/SpannableStringBuilder﹕ SPAN_EXCLUSIVE_EXCLUSIVE spans cannot have a zero length
11-26 18:28:10.895 30903-30903/com.mill_e.ustwo E/SpannableStringBuilder﹕ SPAN_EXCLUSIVE_EXCLUSIVE spans cannot have a zero length
11-26 18:28:11.010 30903-30903/com.mill_e.ustwo E/SpannableStringBuilder﹕ SPAN_EXCLUSIVE_EXCLUSIVE spans cannot have a zero length
11-26 18:28:11.010 30903-30903/com.mill_e.ustwo E/SpannableStringBuilder﹕ SPAN_EXCLUSIVE_EXCLUSIVE spans cannot have a zero length
11-26 18:28:26.270 30903-30903/com.mill_e.ustwo D/GestureDetector﹕ [Surface Touch Event] mSweepDown False, mLRSDCnt : -1 mTouchCnt : 24 mFalseSizeCnt:0
11-26 18:28:27.645 30903-30903/com.mill_e.ustwo D/GestureDetector﹕ [Surface Touch Event] mSweepDown False, mLRSDCnt : -1 mTouchCnt : 26 mFalseSizeCnt:0
11-26 18:28:28.865 30903-30903/com.mill_e.ustwo D/GestureDetector﹕ [Surface Touch Event] mSweepDown False, mLRSDCnt : -1 mTouchCnt : 50 mFalseSizeCnt:0
11-26 18:28:29.355 30903-30903/com.mill_e.ustwo D/GestureDetector﹕ [Surface Touch Event] mSweepDown False, mLRSDCnt : -1 mTouchCnt : 17 mFalseSizeCnt:0
11-26 18:28:30.150 30903-30903/com.mill_e.ustwo D/GestureDetector﹕ [Surface Touch Event] mSweepDown False, mLRSDCnt : -1 mTouchCnt : 26 mFalseSizeCnt:0
11-26 18:28:30.165 30903-30905/com.mill_e.ustwo D/dalvikvm﹕ GC_CONCURRENT freed 484K, 7% free 13938K/14983K, paused 12ms+3ms, total 32ms
11-26 18:28:31.785 30903-30903/com.mill_e.ustwo D/GestureDetector﹕ [Surface Touch Event] mSweepDown False, mLRSDCnt : -1 mTouchCnt : 29 mFalseSizeCnt:0
11-26 18:28:32.345 30903-30903/com.mill_e.ustwo D/GestureDetector﹕ [Surface Touch Event] mSweepDown False, mLRSDCnt : -1 mTouchCnt : 3 mFalseSizeCnt:0
11-26 18:28:32.350 30903-30903/com.mill_e.ustwo D/AbsListView﹕ Get MotionRecognitionManager
11-26 18:28:32.405 30903-30903/com.mill_e.ustwo D/SensorManager﹕ unregisterListener:: Listener= android.view.OrientationEventListener$SensorEventListenerImpl@420e6dd8
11-26 18:28:32.405 30903-30903/com.mill_e.ustwo D/Sensors﹕ Remain listener = Sending .. normal delay 200ms
11-26 18:28:32.405 30903-30903/com.mill_e.ustwo I/Sensors﹕ sendDelay --- 200000000
11-26 18:28:32.405 30903-30903/com.mill_e.ustwo D/SensorManager﹕ JNI - sendDelay
11-26 18:28:32.405 30903-30903/com.mill_e.ustwo I/SensorManager﹕ Set normal delay = true
11-26 18:28:32.970 30903-30903/com.mill_e.ustwo D/GestureDetector﹕ [Surface Touch Event] mSweepDown False, mLRSDCnt : -1 mTouchCnt : 2 mFalseSizeCnt:0
11-26 18:28:33.060 30903-30903/com.mill_e.ustwo D/SensorManager﹕ registerListener :: handle = 0 name= LSM330DLC Acceleration Sensor delay= 200000 Listener= android.view.OrientationEventListener$SensorEventListenerImpl@420e6dd8
11-26 18:28:33.165 30903-30903/com.mill_e.ustwo D/SensorManager﹕ unregisterListener:: Listener= android.view.OrientationEventListener$SensorEventListenerImpl@420e6dd8
11-26 18:28:33.165 30903-30903/com.mill_e.ustwo D/Sensors﹕ Remain listener = Sending .. normal delay 200ms
11-26 18:28:33.165 30903-30903/com.mill_e.ustwo I/Sensors﹕ sendDelay --- 200000000
11-26 18:28:33.165 30903-30903/com.mill_e.ustwo D/SensorManager﹕ JNI - sendDelay
11-26 18:28:33.165 30903-30903/com.mill_e.ustwo I/SensorManager﹕ Set normal delay = true
11-26 18:28:33.175 30903-30903/com.mill_e.ustwo D/AbsListView﹕ Get MotionRecognitionManager
11-26 18:28:34.245 30903-30903/com.mill_e.ustwo D/GestureDetector﹕ [Surface Touch Event] mSweepDown False, mLRSDCnt : -1 mTouchCnt : 2 mFalseSizeCnt:0
11-26 18:28:34.355 30903-30903/com.mill_e.ustwo D/dalvikvm﹕ GC_FOR_ALLOC freed 190K, 7% free 14109K/15047K, paused 16ms, total 16ms
11-26 18:28:34.355 30903-30913/com.mill_e.ustwo D/AbsListView﹕ [unregisterDoubleTapMotionListener]
11-26 18:28:34.355 30903-30913/com.mill_e.ustwo I/MotionRecognitionManager﹕ .unregisterListener : / listener count = 0->0, listener=android.widget.AbsListView$4@4203c800
11-26 18:28:35.520 30903-30903/com.mill_e.ustwo D/GestureDetector﹕ [Surface Touch Event] mSweepDown False, mLRSDCnt : -1 mTouchCnt : 4 mFalseSizeCnt:0
11-26 18:28:35.920 30903-30903/com.mill_e.ustwo D/GestureDetector﹕ [Surface Touch Event] mSweepDown False, mLRSDCnt : -1 mTouchCnt : 2 mFalseSizeCnt:0
11-26 18:28:36.465 30903-30903/com.mill_e.ustwo D/GestureDetector﹕ [Surface Touch Event] mSweepDown False, mLRSDCnt : -1 mTouchCnt : 2 mFalseSizeCnt:0
11-26 18:28:36.475 30903-30903/com.mill_e.ustwo D/AbsListView﹕ Get MotionRecognitionManager
11-26 18:28:36.940 30903-30903/com.mill_e.ustwo D/GestureDetector﹕ [Surface Touch Event] mSweepDown False, mLRSDCnt : -1 mTouchCnt : 2 mFalseSizeCnt:0
11-26 18:28:37.030 30903-30903/com.mill_e.ustwo D/AbsListView﹕ Get MotionRecognitionManager
11-26 18:28:38.195 30903-30903/com.mill_e.ustwo D/GestureDetector﹕ [Surface Touch Event] mSweepDown False, mLRSDCnt : -1 mTouchCnt : 29 mFalseSizeCnt:0
11-26 18:29:23.395 30903-30903/com.mill_e.ustwo D/GestureDetector﹕ [Surface Touch Event] mSweepDown False, mLRSDCnt : -1 mTouchCnt : 9 mFalseSizeCnt:0
11-26 18:29:44.925 30903-30903/com.mill_e.ustwo D/GestureDetector﹕ [Surface Touch Event] mSweepDown False, mLRSDCnt : -1 mTouchCnt : 3 mFalseSizeCnt:0
11-26 18:29:44.930 30903-30903/com.mill_e.ustwo D/SensorManager﹕ registerListener :: handle = 0 name= LSM330DLC Acceleration Sensor delay= 200000 Listener= android.view.OrientationEventListener$SensorEventListenerImpl@42031c90
11-26 18:29:44.970 30903-30903/com.mill_e.ustwo E/SpannableStringBuilder﹕ SPAN_EXCLUSIVE_EXCLUSIVE spans cannot have a zero length
11-26 18:29:44.970 30903-30903/com.mill_e.ustwo E/SpannableStringBuilder﹕ SPAN_EXCLUSIVE_EXCLUSIVE spans cannot have a zero length
11-26 18:29:44.980 30903-30903/com.mill_e.ustwo E/SpannableStringBuilder﹕ SPAN_EXCLUSIVE_EXCLUSIVE spans cannot have a zero length
11-26 18:29:44.980 30903-30903/com.mill_e.ustwo E/SpannableStringBuilder﹕ SPAN_EXCLUSIVE_EXCLUSIVE spans cannot have a zero length
11-26 18:29:45.190 30903-30905/com.mill_e.ustwo D/dalvikvm﹕ GC_CONCURRENT freed 396K, 7% free 14291K/15239K, paused 11ms+9ms, total 39ms
11-26 18:29:45.190 30903-30913/com.mill_e.ustwo D/AbsListView﹕ [unregisterDoubleTapMotionListener]
11-26 18:29:45.190 30903-30913/com.mill_e.ustwo I/MotionRecognitionManager﹕ .unregisterListener : / listener count = 0->0, listener=android.widget.AbsListView$4@420f2120
11-26 18:29:45.190 30903-30913/com.mill_e.ustwo D/AbsListView﹕ [unregisterDoubleTapMotionListener]
11-26 18:29:45.190 30903-30913/com.mill_e.ustwo I/MotionRecognitionManager﹕ .unregisterListener : / listener count = 0->0, listener=android.widget.AbsListView$4@420373d0
11-26 18:29:46.370 30903-30903/com.mill_e.ustwo E/SpannableStringBuilder﹕ SPAN_EXCLUSIVE_EXCLUSIVE spans cannot have a zero length
11-26 18:29:46.370 30903-30903/com.mill_e.ustwo E/SpannableStringBuilder﹕ SPAN_EXCLUSIVE_EXCLUSIVE spans cannot have a zero length
11-26 18:29:47.260 30903-30903/com.mill_e.ustwo D/GestureDetector﹕ [Surface Touch Event] mSweepDown False, mLRSDCnt : -1 mTouchCnt : 2 mFalseSizeCnt:0
11-26 18:29:47.605 30903-30903/com.mill_e.ustwo E/SpannableStringBuilder﹕ SPAN_EXCLUSIVE_EXCLUSIVE spans cannot have a zero length
11-26 18:29:47.605 30903-30903/com.mill_e.ustwo E/SpannableStringBuilder﹕ SPAN_EXCLUSIVE_EXCLUSIVE spans cannot have a zero length
11-26 18:29:47.625 30903-30903/com.mill_e.ustwo E/SpannableStringBuilder﹕ SPAN_EXCLUSIVE_EXCLUSIVE spans cannot have a zero length
11-26 18:29:47.625 30903-30903/com.mill_e.ustwo E/SpannableStringBuilder﹕ SPAN_EXCLUSIVE_EXCLUSIVE spans cannot have a zero length
11-26 18:29:47.740 30903-30903/com.mill_e.ustwo E/SpannableStringBuilder﹕ SPAN_EXCLUSIVE_EXCLUSIVE spans cannot have a zero length
11-26 18:29:47.740 30903-30903/com.mill_e.ustwo E/SpannableStringBuilder﹕ SPAN_EXCLUSIVE_EXCLUSIVE spans cannot have a zero length
11-26 18:30:06.555 30903-30903/com.mill_e.ustwo D/GestureDetector﹕ [Surface Touch Event] mSweepDown False, mLRSDCnt : -1 mTouchCnt : 29 mFalseSizeCnt:0
11-26 18:30:07.390 30903-30903/com.mill_e.ustwo D/GestureDetector﹕ [Surface Touch Event] mSweepDown False, mLRSDCnt : -1 mTouchCnt : 29 mFalseSizeCnt:0