服务器无法在android应用程序中通过电子邮件发送存储的db数据

服务器无法在android应用程序中通过电子邮件发送存储的db数据,android,android-service,accelerometer,latitude-longitude,gyroscope,Android,Android Service,Accelerometer,Latitude Longitude,Gyroscope,我有一个应用程序,其中加速度计/陀螺仪/线性加速度/ 纬度/经度读数被发送到服务器以跟踪用户 当移动设备没有互联网连接时,我面临的这个问题 数据保存在本地数据库中。但是,当设备进入网络时 数据与服务器同步。一旦服务器接收到读数,用户的 跟踪位置,并将读数与数据(加速计/陀螺仪)一起记录/ 线性加速度/纬度/经度读数)通过电子邮件发送给用户 每1分钟一次。在吃冰淇淋三明治后,即安卓-4及以上版本之后,将面临此问题。 另外,当在DDMS上运行应用程序时,会出现此错误。请参阅下面的logcat文件 1

我有一个应用程序,其中加速度计/陀螺仪/线性加速度/ 纬度/经度读数被发送到服务器以跟踪用户

当移动设备没有互联网连接时,我面临的这个问题 数据保存在本地数据库中。但是,当设备进入网络时 数据与服务器同步。一旦服务器接收到读数,用户的 跟踪位置,并将读数与数据(加速计/陀螺仪)一起记录/ 线性加速度/纬度/经度读数)通过电子邮件发送给用户 每1分钟一次。在吃冰淇淋三明治后,即安卓-4及以上版本之后,将面临此问题。 另外,当在DDMS上运行应用程序时,会出现此错误。请参阅下面的logcat文件

11-29 11:37:37.336: D/Vold(81): Volume sdcard state changing 3 (Checking) -> 4 (Mounted)
11-29 11:37:37.347: E/VoldConnector(250): NDC Command {114 volume mount /storage/sdcard0} took too long (3737ms)
11-29 11:37:37.375: W/ShutdownThread(250): Result code 0 from MountService.shutdown
11-29 11:37:37.715: D/MountService(250): sendStorageIntent Intent { act=android.intent.action.MEDIA_UNSHARED dat=file:///storage/sdcard0 (has extras) }
11-29 11:37:37.730: I/PackageManager(250): Updating external media status from unmounted to unmounted
11-29 11:37:37.730: D/MountService(250): volume state changed for /storage/sdcard0 (shared -> unmounted)
11-29 11:37:37.734: D/MountService(250): sendStorageIntent Intent { act=android.intent.action.MEDIA_UNMOUNTED dat=file:///storage/sdcard0 (has extras) }
11-29 11:37:37.734: I/StorageNotification(336): Media {/storage/sdcard0} state changed from {shared} -> {unmounted}
11-29 11:37:37.738: D/VoldCmdListener(81): volume shared /storage/sdcard0 ums
11-29 11:37:37.765: D/MountService(250): volume state changed for /storage/sdcard0 (unmounted -> checking)
11-29 11:37:37.769: D/MountService(250): sendStorageIntent Intent { act=android.intent.action.MEDIA_CHECKING dat=file:///storage/sdcard0 (has extras) }
11-29 11:37:37.820: I/ActivityManager(250): Start proc android.process.media for broadcast com.android.providers.media/.MediaScannerReceiver: pid=24156 uid=10024 gids={1015, 1023, 1024, 1028, 2001, 3003, 3007}
11-29 11:37:37.820: D/MountService(250): volume state changed for /storage/sdcard0 (checking -> mounted)
11-29 11:37:37.824: I/PackageManager(250): Updating external media status from unmounted to mounted
11-29 11:37:37.832: D/MountService(250): sendStorageIntent Intent { act=android.intent.action.MEDIA_MOUNTED dat=file:///storage/sdcard0 (has extras) }
11-29 11:37:37.863: D/VoldCmdListener(81): asec list
11-29 11:37:37.894: I/StorageNotification(336): Media {/storage/sdcard0} state changed from {unmounted} -> {checking}
11-29 11:37:37.898: I/StorageNotification(336): Media {/storage/sdcard0} state changed from {checking} -> {mounted}
11-29 11:37:38.082: I/ShutdownThread(250): Performing low-level shutdown...
: E/(): Device disconnected