libreliodev / android

Android Customizable Reader - Librelio Digital Publishing Suite
www.librelio.com
226 stars 130 forks source link

Sometimes, assets are not completely downloaded, and empty files are copied to internal storage #184

Closed libreliodev closed 10 years ago

libreliodev commented 10 years ago

When trying to launch slide shows (for example on Wind 355 p25), even if all assets have been downloaded, a black screen with message "Asset downloading" is displayed.

cc @intrications

libreliodev commented 10 years ago

@intrications Here is a copy of the logcat

10-27 06:06:02.560: D/PowerManagerService(338): lightSensorChangedLocked value=88 immediate=false
10-27 06:06:02.560: D/PowerManagerService(338): lcdValue 140
10-27 06:06:02.560: D/PowerManagerService(338): buttonValue 0
10-27 06:06:02.560: D/PowerManagerService(338): keyboardValue 0
10-27 06:06:02.560: D/PowerManagerService(338): lightSensorChangedLocked : mKeyboardLight : 0
10-27 06:06:03.474: I/InputReader(338): Touch event's action is 0x0 (deviceType=0) [pCnt=1, s=0.6884 ]
10-27 06:06:03.474: I/InputDispatcher(338): Delivering touch to current input target: action: 0x0
10-27 06:06:03.474: I/InputDispatcher(338): Delivering touch to current input target: action: 0x0
10-27 06:06:03.474: I/InputDispatcher(338): Delivering touch to current input target: action: 0x0
10-27 06:06:03.481: D/ReaderView(24937): onTouchEvent
10-27 06:06:03.481: D/ReaderView(24937): event.getActionMasked() == MotionEvent.ACTION_DOWN
10-27 06:06:03.591: I/InputReader(338): Touch event's action is 0x1 (deviceType=0) [pCnt=1, s=]
10-27 06:06:03.591: I/InputDispatcher(338): Delivering touch to current input target: action: 0x1
10-27 06:06:03.591: I/InputDispatcher(338): Delivering touch to current input target: action: 0x1
10-27 06:06:03.591: I/InputDispatcher(338): Delivering touch to current input target: action: 0x1
10-27 06:06:03.591: D/ReaderView(24937): onTouchEvent
10-27 06:06:03.599: D/ReaderView(24937): event.getActionMasked() == MotionEvent.ACTION_UP
10-27 06:06:03.599: D/ReaderView(24937): SLIDE
10-27 06:06:03.778: D/MuPDFCore(24937): return http://localhost/Dakhla_Foil.mp4?warect=full
10-27 06:06:03.778: D/MuPDFCore(24937): return http://localhost/FOIL_6.jpg?warect=full
10-27 06:06:03.778: D/MuPDFCore(24937): return http://localhost/Dakhla_Foil.mp4?warect=full
10-27 06:06:03.778: D/MuPDFCore(24937): return http://localhost/FOIL_6.jpg?warect=full
10-27 06:06:03.786: D/MediaHolder(24937): exist file /data/data/com.niveales.wind/app_librelio/wind_355/FOIL_6.jpg? true
10-27 06:06:03.786: D/MediaHolder(24937): onPlaySlideOutside /data/data/com.niveales.wind/app_librelio/wind_355, linkInfo = LinkInfo [isVideoFormat=false, isImageFormat=true, hasVideoData=false, isExternal=true, isFullScreen=true, isAutoPlay=false, uri=http://localhost/FOIL_6.jpg?warect=full]
10-27 06:06:03.786: D/PowerManagerService(338): acquireDVFSLockLocked : type : DVFS_MIN_LIMIT  frequency : 1008000  uid : 1000  pid : 338  tag : ActivityManager
10-27 06:06:03.794: I/power(338): *** acquire_dvfs_lock : lockType : 1  freq : 1008000 
10-27 06:06:03.794: W/ActivityManager(338): mDVFSLock.acquire()
10-27 06:06:03.966: D/dalvikvm(338): GC_FOR_ALLOC freed 1628K, 37% free 25521K/40455K, paused 133ms, total 136ms
10-27 06:06:03.974: D/DocumentReaderView(24937): !openLink http://localhost/FOIL_6.jpg?warect=full
10-27 06:06:03.974: D/DocumentReaderView(24937): localhost path = /FOIL_6.jpg
10-27 06:06:03.974: D/DocumentReaderView(24937): basePath = /FOIL_6.jpg
10-27 06:06:03.974: D/DocumentReaderView(24937): uri = http://localhost/FOIL_6.jpg?warect=full
10-27 06:06:04.020: E/WindowStateAnimator(338): createSurfaceLocked called attrs.flags=25232640
10-27 06:06:04.028: D/STATUSBAR-StatusBarManagerService(338): setSystemUiVisibility(0x0)
10-27 06:06:04.028: D/STATUSBAR-StatusBarManagerService(338): manageDisableList what=0x0 pkg=WindowManager.LayoutParams
10-27 06:06:04.036: E/SurfaceFlinger(313): SurfaceFlinger translucent=0 isOpaque=1 isExternalDisplayLayer=0 isExternalBlockLayer0
10-27 06:06:04.036: E/SurfaceFlinger(313): SurfaceFlinger translucent=0 isOpaque=1 isExternalDisplayLayer=0 isExternalBlockLayer0
10-27 06:06:04.091: I/ClipboardServiceEx(338): Send intent for dismiss clipboard dialog inside hideCurrentInputLocked() !
10-27 06:06:04.106: D/me.grantland.widget.AutoFitTextView(24937): textSize: 0.0
10-27 06:06:04.106: I/System.out(24937): Not a DRM File, opening notmally
10-27 06:06:04.106: I/System.out(24937): buffer returned 
10-27 06:06:04.106: D/skia(24937): --- SkImageDecoder::Factory returned null
10-27 06:06:04.106: I/System.out(24937): Not a DRM File, opening notmally
10-27 06:06:04.106: I/System.out(24937): buffer returned 
10-27 06:06:04.106: D/skia(24937): --- SkImageDecoder::Factory returned null
10-27 06:06:04.114: D/me.grantland.widget.AutoFitTextView(24937): textSize: 0.0
10-27 06:06:04.114: I/System.out(24937): Not a DRM File, opening notmally
10-27 06:06:04.114: I/System.out(24937): buffer returned 
10-27 06:06:04.114: I/System.out(24937): Not a DRM File, opening notmally
10-27 06:06:04.114: I/System.out(24937): buffer returned 
10-27 06:06:04.153: D/dalvikvm(24937): GC_FOR_ALLOC freed 219K, 16% free 33346K/39623K, paused 38ms, total 38ms
10-27 06:06:04.161: I/dalvikvm-heap(24937): Grow heap (frag case) to 35.663MB for 2797584-byte allocation
10-27 06:06:04.200: D/dalvikvm(24937): GC_FOR_ALLOC freed 2787K, 16% free 33290K/39623K, paused 37ms, total 37ms
10-27 06:06:04.270: E/SurfaceFlinger(313): SurfaceFlinger translucent=0 isOpaque=1 isExternalDisplayLayer=0 isExternalBlockLayer0
10-27 06:06:04.270: E/SurfaceFlinger(313): SurfaceFlinger translucent=0 isOpaque=1 isExternalDisplayLayer=0 isExternalBlockLayer0
10-27 06:06:04.310: E/SurfaceFlinger(313): SurfaceFlinger translucent=0 isOpaque=1 isExternalDisplayLayer=0 isExternalBlockLayer0
10-27 06:06:04.310: E/SurfaceFlinger(313): SurfaceFlinger translucent=0 isOpaque=1 isExternalDisplayLayer=0 isExternalBlockLayer0
10-27 06:06:04.310: E/SurfaceFlinger(313): SurfaceFlinger translucent=1 isOpaque=0 isExternalDisplayLayer=0 isExternalBlockLayer0
10-27 06:06:04.317: D/me.grantland.widget.AutoFitTextView(24937): refitting text: Asset
10-27 06:06:04.317: D/me.grantland.widget.AutoFitTextView(24937): Downloading… size: 32.0 width: 1244
10-27 06:06:04.325: D/STATUSBAR-NetworkController(433): refreshSignalCluster: data=0 bt=false
10-27 06:06:04.325: D/STATUSBAR-SignalClusterView(433): mSeparateMobileGroup=8
10-27 06:06:04.325: D/STATUSBAR-SignalClusterView(433): mSeparateMobileGroup=8
10-27 06:06:04.325: D/STATUSBAR-SignalClusterView(433): mSeparateMobileGroup=8
10-27 06:06:04.325: D/STATUSBAR-NetworkController(433): refreshSignalCluster: data=0 bt=false
10-27 06:06:04.325: D/STATUSBAR-SignalClusterView(433): mSeparateMobileGroup=8
10-27 06:06:04.325: D/STATUSBAR-SignalClusterView(433): mSeparateMobileGroup=8
10-27 06:06:04.325: D/STATUSBAR-SignalClusterView(433): mSeparateMobileGroup=8
10-27 06:06:04.333: D/dalvikvm(24937): GC_CONCURRENT freed <1K, 16% free 33292K/39623K, paused 15ms+37ms, total 131ms
10-27 06:06:04.364: E/SurfaceFlinger(313): SurfaceFlinger translucent=0 isOpaque=1 isExternalDisplayLayer=0 isExternalBlockLayer0
10-27 06:06:04.364: E/SurfaceFlinger(313): SurfaceFlinger translucent=0 isOpaque=1 isExternalDisplayLayer=0 isExternalBlockLayer0
10-27 06:06:04.364: E/SurfaceFlinger(313): SurfaceFlinger translucent=0 isOpaque=1 isExternalDisplayLayer=0 isExternalBlockLayer0
10-27 06:06:04.364: E/SurfaceFlinger(313): SurfaceFlinger translucent=1 isOpaque=0 isExternalDisplayLayer=0 isExternalBlockLayer0
10-27 06:06:04.380: E/SpannableStringBuilder(24937): SPAN_EXCLUSIVE_EXCLUSIVE spans cannot have a zero length
10-27 06:06:04.380: E/SurfaceFlinger(313): SurfaceFlinger translucent=0 isOpaque=1 isExternalDisplayLayer=0 isExternalBlockLayer0
libreliodev commented 10 years ago

After working a bit more on this issue, here are 2 additional informations:

cc @suntehnik @moskvin

libreliodev commented 10 years ago

Here is a new logcat after adding a bit of logging. The following actions were performed:

Logcat:

        10-27 10:16:55.225: D/ReaderView(7460): onTouchEvent
        10-27 10:16:55.225: D/ReaderView(7460): event.getActionMasked() == MotionEvent.ACTION_DOWN
        10-27 10:16:55.280: D/ReaderView(7460): onTouchEvent
        10-27 10:16:55.280: D/ReaderView(7460): event.getActionMasked() == MotionEvent.ACTION_UP
        10-27 10:16:55.280: D/ReaderView(7460): SLIDE
        10-27 10:16:55.522: D/MuPDFCore(7460): return http://localhost/Dakhla_Foil.mp4?warect=full
        10-27 10:16:55.522: D/MuPDFCore(7460): return http://localhost/FOIL_6.jpg?warect=full
        10-27 10:16:55.522: D/MuPDFCore(7460): return http://localhost/Dakhla_Foil.mp4?warect=full
        10-27 10:16:55.522: D/MuPDFCore(7460): return http://localhost/FOIL_6.jpg?warect=full
        10-27 10:16:55.545: D/MediaHolder(7460): exist file /data/data/com.niveales.wind/app_librelio/wind_355/FOIL_6.jpg? true
        10-27 10:16:55.553: D/MediaHolder(7460): onPlaySlideOutside /data/data/com.niveales.wind/app_librelio/wind_355, linkInfo = LinkInfo [isVideoFormat=false, isImageFormat=true, hasVideoData=false, isExternal=true, isFullScreen=true, isAutoPlay=false, uri=http://localhost/FOIL_6.jpg?warect=full]
        10-27 10:16:55.600: D/DocumentReaderView(7460): !openLink http://localhost/FOIL_6.jpg?warect=full
        10-27 10:16:55.600: D/DocumentReaderView(7460): localhost path = /FOIL_6.jpg
        10-27 10:16:55.600: D/DocumentReaderView(7460): basePath = /FOIL_6.jpg
        10-27 10:16:55.600: D/DocumentReaderView(7460): uri = http://localhost/FOIL_6.jpg?warect=full
        10-27 10:16:55.858: D/me.grantland.widget.AutoFitTextView(7460): textSize: 0.0
        10-27 10:16:55.866: I/System.out(7460): Not a DRM File, opening notmally
        10-27 10:16:55.866: I/System.out(7460): buffer returned 
        10-27 10:16:55.866: D/me.grantland.widget.AutoFitTextView(7460): textSize: 0.0
        10-27 10:16:55.866: D/skia(7460): --- SkImageDecoder::Factory returned null
        10-27 10:16:55.866: I/System.out(7460): Not a DRM File, opening notmally
        10-27 10:16:55.866: I/System.out(7460): buffer returned 
        10-27 10:16:55.889: D/skia(7460): --- SkImageDecoder::Factory returned null
        10-27 10:16:55.905: I/System.out(7460): Not a DRM File, opening notmally
        10-27 10:16:55.913: I/System.out(7460): buffer returned 
        10-27 10:16:55.928: I/System.out(7460): Not a DRM File, opening notmally
        10-27 10:16:55.936: I/System.out(7460): buffer returned 
        10-27 10:16:55.999: D/dalvikvm(7460): GC_FOR_ALLOC freed 639K, 15% free 30378K/35591K, paused 49ms, total 49ms
        10-27 10:16:56.006: I/dalvikvm-heap(7460): Grow heap (frag case) to 32.762MB for 2797584-byte allocation
        10-27 10:16:56.069: D/dalvikvm(7460): GC_CONCURRENT freed 46K, 14% free 33063K/38343K, paused 13ms+6ms, total 63ms
        10-27 10:16:56.077: D/dalvikvm(7460): WAIT_FOR_CONCURRENT_GC blocked 43ms
        10-27 10:16:56.077: D/dalvikvm(7460): WAIT_FOR_CONCURRENT_GC blocked 44ms
        10-27 10:16:56.108: W/ImageLayout(7460): ViewPager Image Bitmap null
        10-27 10:16:56.108: E/SpannableStringBuilder(7460): SPAN_EXCLUSIVE_EXCLUSIVE spans cannot have a zero length
        10-27 10:16:56.124: D/me.grantland.widget.AutoFitTextView(7460): refitting text: Téléchargement
        10-27 10:16:56.124: D/me.grantland.widget.AutoFitTextView(7460): en cours… size: 32.0 width: 1244
        10-27 10:17:00.163: D/me.grantland.widget.AutoFitTextView(7460): textSize: 0.0
        10-27 10:17:00.163: I/System.out(7460): Not a DRM File, opening notmally
        10-27 10:17:00.170: I/System.out(7460): buffer returned 
        10-27 10:17:00.170: D/skia(7460): --- SkImageDecoder::Factory returned null
        10-27 10:17:00.170: I/System.out(7460): Not a DRM File, opening notmally
        10-27 10:17:00.170: I/System.out(7460): buffer returned 
        10-27 10:17:00.170: D/skia(7460): --- SkImageDecoder::Factory returned null
        10-27 10:17:00.178: W/ImageLayout(7460): ViewPager Image Bitmap null
        10-27 10:17:00.178: D/me.grantland.widget.AutoFitTextView(7460): refitting text: Téléchargement
        10-27 10:17:00.178: D/me.grantland.widget.AutoFitTextView(7460): en cours… size: 32.0 width: 1244
libreliodev commented 10 years ago

I have now understood why the slide shows are only partially displayed (or not at all).

The content of the wind_355 directory on my device is listed below. So, the problem comes from the download module. For some reason (probably because I have a bad connection today), most image downloads fail, but local files are created with a 0 size. @intrications : can you fix this?

-rw------- u0_a151  u0_a151         0 2013-10-27 05:59 AFFCORSE_1.jpg
-rw------- u0_a151  u0_a151         0 2013-10-27 05:59 AFFCORSE_2.jpg
-rw------- u0_a151  u0_a151         0 2013-10-27 05:59 AFFCORSE_3.jpg
-rw------- u0_a151  u0_a151         0 2013-10-27 05:59 AFFCORSE_4.jpg
-rw------- u0_a151  u0_a151         0 2013-10-27 05:59 AFFCORSE_5.jpg
-rw------- u0_a151  u0_a151         0 2013-10-27 05:59 AFFCORSE_6.jpg
-rw------- u0_a151  u0_a151    530274 2013-10-27 05:59 CAPVERT2_1.jpg
-rw------- u0_a151  u0_a151    532261 2013-10-27 05:59 CAPVERT2_2.jpg
-rw------- u0_a151  u0_a151    490894 2013-10-27 05:59 CAPVERT2_3.jpg
-rw------- u0_a151  u0_a151         0 2013-10-27 05:59 CRASH_1.jpg
-rw------- u0_a151  u0_a151         0 2013-10-27 05:59 CRASH_10.jpg
-rw------- u0_a151  u0_a151         0 2013-10-27 05:59 CRASH_11.jpg
-rw------- u0_a151  u0_a151         0 2013-10-27 05:59 CRASH_12.jpg
-rw------- u0_a151  u0_a151         0 2013-10-27 05:59 CRASH_13.jpg
-rw------- u0_a151  u0_a151         0 2013-10-27 05:59 CRASH_14.jpg
-rw------- u0_a151  u0_a151         0 2013-10-27 05:59 CRASH_2.jpg
-rw------- u0_a151  u0_a151         0 2013-10-27 05:59 CRASH_3.jpg
-rw------- u0_a151  u0_a151         0 2013-10-27 05:59 CRASH_4.jpg
-rw------- u0_a151  u0_a151         0 2013-10-27 05:59 CRASH_5.jpg
-rw------- u0_a151  u0_a151         0 2013-10-27 05:59 CRASH_6.jpg
-rw------- u0_a151  u0_a151         0 2013-10-27 05:59 CRASH_7.jpg
-rw------- u0_a151  u0_a151         0 2013-10-27 05:59 CRASH_8.jpg
-rw------- u0_a151  u0_a151         0 2013-10-27 05:59 CRASH_9.jpg
-rw------- u0_a151  u0_a151         0 2013-10-27 05:59 DAKHLA_1.jpg
-rw------- u0_a151  u0_a151         0 2013-10-27 05:59 DAKHLA_2.jpg
-rw------- u0_a151  u0_a151    583088 2013-10-27 05:59 DAKHLA_3.jpg
-rw------- u0_a151  u0_a151         0 2013-10-27 05:59 DAKHLA_4.jpg
-rw------- u0_a151  u0_a151         0 2013-10-27 05:59 DAKHLA_5.jpg
-rw------- u0_a151  u0_a151    724243 2013-10-27 05:59 DAKHLA_6.jpg
-rw------- u0_a151  u0_a151         0 2013-10-27 05:59 DAKHLA_7.jpg
-rw------- u0_a151  u0_a151         0 2013-10-27 05:59 DAKHLA_8.jpg
-rw------- u0_a151  u0_a151         0 2013-10-27 05:59 DAKHLA_9.jpg
-rw------- u0_a151  u0_a151  17549976 2013-10-27 05:59 Dakhla_Foil.mp4
-rw------- u0_a151  u0_a151         0 2013-10-27 05:59 FOIL_1.jpg
-rw------- u0_a151  u0_a151         0 2013-10-27 05:59 FOIL_2.jpg
-rw------- u0_a151  u0_a151         0 2013-10-27 05:59 FOIL_3.jpg
-rw------- u0_a151  u0_a151         0 2013-10-27 05:59 FOIL_4.jpg
-rw------- u0_a151  u0_a151    375513 2013-10-27 05:58 FOIL_5.jpg
-rw------- u0_a151  u0_a151         0 2013-10-27 05:59 FOIL_6.jpg
-rw------- u0_a151  u0_a151  12833642 2013-10-27 06:00 Natsi.mp4
-rw------- u0_a151  u0_a151         0 2013-10-27 05:59 PWAVIETNAM_1.jpg
-rw------- u0_a151  u0_a151    775798 2013-10-27 05:58 PWAVIETNAM_2.jpg
-rw------- u0_a151  u0_a151         0 2013-10-27 05:59 PWAVIETNAM_3.jpg
-rw------- u0_a151  u0_a151         0 2013-10-27 05:59 PWAVIETNAM_4.jpg
drwx------ u0_a151  u0_a151           2013-10-27 06:18 previewcache
-rw------- u0_a151  u0_a151         0 2013-10-27 05:59 weshjaws_1.jpg
-rw------- u0_a151  u0_a151         0 2013-10-27 05:59 weshjaws_2.jpg
-rw------- u0_a151  u0_a151         0 2013-10-27 05:59 weshjaws_3.jpg
-rw------- u0_a151  u0_a151     87876 2013-10-27 05:57 weshjaws_4.jpg
-rw------- u0_a151  u0_a151  32331135 2013-10-27 05:57 wind_355.pdf
-rw------- u0_a151  u0_a151    135934 2013-10-27 05:57 wind_355.png
intrications commented 10 years ago

I'm not sure how to fix it. It's hard to reproduce a flaky connection.

The file should only be copied to internal storage if the download is a success so it seems that the Android DownloadManager is sending incorrect information.

libreliodev commented 10 years ago

@intrications Thanks for looking into this. I have made a new test on a correct connection (I was using a satellite connection yesterday, but I am now using a very decent ADSL connection). Unfortunately, I am still facing the same issue (see below the copy of the wind_355 directory content on my device). So, the issue does not seem to be related with the quality of the connection. The files properly downloaded are not the same as last time, so it does not depend on the nature/size of the files. Also, I noticed when observing the download progress that the progress is very fast when download fails, so there is no "timeout" error.

I would suggest 2 things:

Copy of wind_355 directory content:

-rw------- u0_a151  u0_a151         0 2013-10-28 06:43 AFFCORSE_1.jpg
-rw------- u0_a151  u0_a151    527900 2013-10-28 06:43 AFFCORSE_2.jpg
-rw------- u0_a151  u0_a151    429468 2013-10-28 06:43 AFFCORSE_3.jpg
-rw------- u0_a151  u0_a151         0 2013-10-28 06:43 AFFCORSE_4.jpg
-rw------- u0_a151  u0_a151         0 2013-10-28 06:43 AFFCORSE_5.jpg
-rw------- u0_a151  u0_a151         0 2013-10-28 06:43 AFFCORSE_6.jpg
-rw------- u0_a151  u0_a151    530274 2013-10-28 06:43 CAPVERT2_1.jpg
-rw------- u0_a151  u0_a151         0 2013-10-28 06:43 CAPVERT2_2.jpg
-rw------- u0_a151  u0_a151    490894 2013-10-28 06:43 CAPVERT2_3.jpg
-rw------- u0_a151  u0_a151         0 2013-10-28 06:43 CRASH_1.jpg
-rw------- u0_a151  u0_a151    346883 2013-10-28 06:42 CRASH_10.jpg
-rw------- u0_a151  u0_a151    348765 2013-10-28 06:42 CRASH_11.jpg
-rw------- u0_a151  u0_a151         0 2013-10-28 06:43 CRASH_12.jpg
-rw------- u0_a151  u0_a151         0 2013-10-28 06:43 CRASH_13.jpg
-rw------- u0_a151  u0_a151         0 2013-10-28 06:43 CRASH_14.jpg
-rw------- u0_a151  u0_a151         0 2013-10-28 06:43 CRASH_2.jpg
-rw------- u0_a151  u0_a151    348638 2013-10-28 06:42 CRASH_3.jpg
-rw------- u0_a151  u0_a151         0 2013-10-28 06:43 CRASH_4.jpg
-rw------- u0_a151  u0_a151         0 2013-10-28 06:43 CRASH_5.jpg
-rw------- u0_a151  u0_a151         0 2013-10-28 06:43 CRASH_6.jpg
-rw------- u0_a151  u0_a151         0 2013-10-28 06:43 CRASH_7.jpg
-rw------- u0_a151  u0_a151    362566 2013-10-28 06:42 CRASH_8.jpg
-rw------- u0_a151  u0_a151    347704 2013-10-28 06:42 CRASH_9.jpg
-rw------- u0_a151  u0_a151         0 2013-10-28 06:43 DAKHLA_1.jpg
-rw------- u0_a151  u0_a151    671217 2013-10-28 06:43 DAKHLA_2.jpg
-rw------- u0_a151  u0_a151         0 2013-10-28 06:43 DAKHLA_3.jpg
-rw------- u0_a151  u0_a151         0 2013-10-28 06:43 DAKHLA_4.jpg
-rw------- u0_a151  u0_a151         0 2013-10-28 06:43 DAKHLA_5.jpg
-rw------- u0_a151  u0_a151         0 2013-10-28 06:43 DAKHLA_6.jpg
-rw------- u0_a151  u0_a151         0 2013-10-28 06:43 DAKHLA_7.jpg
-rw------- u0_a151  u0_a151    570473 2013-10-28 06:43 DAKHLA_8.jpg
-rw------- u0_a151  u0_a151         0 2013-10-28 06:43 DAKHLA_9.jpg
-rw------- u0_a151  u0_a151  17549976 2013-10-28 06:45 Dakhla_Foil.mp4
-rw------- u0_a151  u0_a151         0 2013-10-28 06:43 FOIL_1.jpg
-rw------- u0_a151  u0_a151         0 2013-10-28 06:43 FOIL_2.jpg
-rw------- u0_a151  u0_a151         0 2013-10-28 06:43 FOIL_3.jpg
-rw------- u0_a151  u0_a151         0 2013-10-28 06:43 FOIL_4.jpg
-rw------- u0_a151  u0_a151         0 2013-10-28 06:43 FOIL_5.jpg
-rw------- u0_a151  u0_a151    500861 2013-10-28 06:43 FOIL_6.jpg
-rw------- u0_a151  u0_a151         0 2013-10-28 06:44 Natsi.mp4
-rw------- u0_a151  u0_a151    811730 2013-10-28 06:43 PWAVIETNAM_1.jpg
-rw------- u0_a151  u0_a151         0 2013-10-28 06:43 PWAVIETNAM_2.jpg
-rw------- u0_a151  u0_a151         0 2013-10-28 06:43 PWAVIETNAM_3.jpg
-rw------- u0_a151  u0_a151         0 2013-10-28 06:43 PWAVIETNAM_4.jpg
drwx------ u0_a151  u0_a151           2013-10-28 06:46 previewcache
-rw------- u0_a151  u0_a151     59759 2013-10-28 06:42 weshjaws_1.jpg
-rw------- u0_a151  u0_a151         0 2013-10-28 06:43 weshjaws_2.jpg
-rw------- u0_a151  u0_a151         0 2013-10-28 06:43 weshjaws_3.jpg
-rw------- u0_a151  u0_a151         0 2013-10-28 06:43 weshjaws_4.jpg
-rw------- u0_a151  u0_a151  32331135 2013-10-28 06:42 wind_355.pdf
-rw------- u0_a151  u0_a151    135934 2013-10-28 06:42 wind_355.png
suntehnik commented 10 years ago

Just a dumb question: how much free space you have on your SD card and internal storage? cc @intrications

28 îêò. 2013 ã., â 10:00, Librelio Dev Team notifications@github.com íàïèñàë(à):

@intrications Thanks for looking into this. I have made a new test on a correct connection (I was using a satellite connection yesterday, but I am now using a very decent ADSL connection). Unfortunately, I am still facing the same issue (see below the copy of the wind_355 directory content on my device). So, the issue does not seem to be related with the quality of the connection. The files properly downloaded are not the same as last time, so it does not depend on the nature/size of the files. Also, I noticed when observing the download progress that the progress is very fast when download fails, so there is no "timeout" error.

I would suggest 2 things:

if this is a download manager issue, then it must be reported on Sack Overflow and other sites. I am not sure about the terms to use for Googling. if we do not find other solutions, maybe we should detect when empty (0K) files have been downloaded, and relaunch download. Copy of wind_355 directory content:

-rw------- u0_a151 u0_a151 0 2013-10-28 06:43 AFFCORSE_1.jpg -rw------- u0_a151 u0_a151 527900 2013-10-28 06:43 AFFCORSE_2.jpg -rw------- u0_a151 u0_a151 429468 2013-10-28 06:43 AFFCORSE_3.jpg -rw------- u0_a151 u0_a151 0 2013-10-28 06:43 AFFCORSE_4.jpg -rw------- u0_a151 u0_a151 0 2013-10-28 06:43 AFFCORSE_5.jpg -rw------- u0_a151 u0_a151 0 2013-10-28 06:43 AFFCORSE_6.jpg -rw------- u0_a151 u0_a151 530274 2013-10-28 06:43 CAPVERT2_1.jpg -rw------- u0_a151 u0_a151 0 2013-10-28 06:43 CAPVERT2_2.jpg -rw------- u0_a151 u0_a151 490894 2013-10-28 06:43 CAPVERT2_3.jpg -rw------- u0_a151 u0_a151 0 2013-10-28 06:43 CRASH_1.jpg -rw------- u0_a151 u0_a151 346883 2013-10-28 06:42 CRASH_10.jpg -rw------- u0_a151 u0_a151 348765 2013-10-28 06:42 CRASH_11.jpg -rw------- u0_a151 u0_a151 0 2013-10-28 06:43 CRASH_12.jpg -rw------- u0_a151 u0_a151 0 2013-10-28 06:43 CRASH_13.jpg -rw------- u0_a151 u0_a151 0 2013-10-28 06:43 CRASH_14.jpg -rw------- u0_a151 u0_a151 0 2013-10-28 06:43 CRASH_2.jpg -rw------- u0_a151 u0_a151 348638 2013-10-28 06:42 CRASH_3.jpg -rw------- u0_a151 u0_a151 0 2013-10-28 06:43 CRASH_4.jpg -rw------- u0_a151 u0_a151 0 2013-10-28 06:43 CRASH_5.jpg -rw------- u0_a151 u0_a151 0 2013-10-28 06:43 CRASH_6.jpg -rw------- u0_a151 u0_a151 0 2013-10-28 06:43 CRASH_7.jpg -rw------- u0_a151 u0_a151 362566 2013-10-28 06:42 CRASH_8.jpg -rw------- u0_a151 u0_a151 347704 2013-10-28 06:42 CRASH_9.jpg -rw------- u0_a151 u0_a151 0 2013-10-28 06:43 DAKHLA_1.jpg -rw------- u0_a151 u0_a151 671217 2013-10-28 06:43 DAKHLA_2.jpg -rw------- u0_a151 u0_a151 0 2013-10-28 06:43 DAKHLA_3.jpg -rw------- u0_a151 u0_a151 0 2013-10-28 06:43 DAKHLA_4.jpg -rw------- u0_a151 u0_a151 0 2013-10-28 06:43 DAKHLA_5.jpg -rw------- u0_a151 u0_a151 0 2013-10-28 06:43 DAKHLA_6.jpg -rw------- u0_a151 u0_a151 0 2013-10-28 06:43 DAKHLA_7.jpg -rw------- u0_a151 u0_a151 570473 2013-10-28 06:43 DAKHLA_8.jpg -rw------- u0_a151 u0_a151 0 2013-10-28 06:43 DAKHLA_9.jpg -rw------- u0_a151 u0_a151 17549976 2013-10-28 06:45 Dakhla_Foil.mp4 -rw------- u0_a151 u0_a151 0 2013-10-28 06:43 FOIL_1.jpg -rw------- u0_a151 u0_a151 0 2013-10-28 06:43 FOIL_2.jpg -rw------- u0_a151 u0_a151 0 2013-10-28 06:43 FOIL_3.jpg -rw------- u0_a151 u0_a151 0 2013-10-28 06:43 FOIL_4.jpg -rw------- u0_a151 u0_a151 0 2013-10-28 06:43 FOIL_5.jpg -rw------- u0_a151 u0_a151 500861 2013-10-28 06:43 FOIL_6.jpg -rw------- u0_a151 u0_a151 0 2013-10-28 06:44 Natsi.mp4 -rw------- u0_a151 u0_a151 811730 2013-10-28 06:43 PWAVIETNAM_1.jpg -rw------- u0_a151 u0_a151 0 2013-10-28 06:43 PWAVIETNAM_2.jpg -rw------- u0_a151 u0_a151 0 2013-10-28 06:43 PWAVIETNAM_3.jpg -rw------- u0_a151 u0_a151 0 2013-10-28 06:43 PWAVIETNAM_4.jpg drwx------ u0_a151 u0_a151 2013-10-28 06:46 previewcache -rw------- u0_a151 u0_a151 59759 2013-10-28 06:42 weshjaws_1.jpg -rw------- u0_a151 u0_a151 0 2013-10-28 06:43 weshjaws_2.jpg -rw------- u0_a151 u0_a151 0 2013-10-28 06:43 weshjaws_3.jpg -rw------- u0_a151 u0_a151 0 2013-10-28 06:43 weshjaws_4.jpg -rw------- u0_a151 u0_a151 32331135 2013-10-28 06:42 wind_355.pdf -rw------- u0_a151 u0_a151 135934 2013-10-28 06:42 wind_355.png — Reply to this email directly or view it on GitHub.

libreliodev commented 10 years ago

@suntehnik Thanks for the question. The device I am using has 7.74 Gb available on the internal storage, and does not have an SD Card

suntehnik commented 10 years ago

can you do and send the result of adb -d shell df -k

from your PC (you need Android Development Tools installed, which is a part of SDK), while having your device connected.

28 îêò. 2013 ã., â 11:07, Librelio Dev Team notifications@github.com íàïèñàë(à):

@suntehnik Thanks for the question. The device I am using has 7.74 Gb available on the internal storage, and does not have an SD Card

— Reply to this email directly or view it on GitHub.

libreliodev commented 10 years ago

@suntehnik df -k:

Filesystem                        1024-blocks      Used Available Capacity  iused   ifree %iused  Mounted on
/dev/disk0s2                        311731616 276801164  34674452    89% 69264289 8668613   89%   /
devfs                                     184       184         0   100%      638       0  100%   /dev
map -hosts                                  0         0         0   100%        0       0  100%   /net
map auto_home                               0         0         0   100%        0       0  100%   /home
localhost:/MDgEI_GrZ1zKqZGVbPbxPp   311731616 311731616         0   100%        0       0  100%   /Volumes/MobileBackups
suntehnik commented 10 years ago

It's from your mac, not from your Android device. You need to type df -k in adb shell, hot from your mac Terminal.app

Do you have Android SDK installed?

28 îêò. 2013 ã., â 11:52, Librelio Dev Team notifications@github.com íàïèñàë(à):

@suntehnik df -k:

Filesystem 1024-blocks Used Available Capacity iused ifree %iused Mounted on /dev/disk0s2 311731616 276801164 34674452 89% 69264289 8668613 89% / devfs 184 184 0 100% 638 0 100% /dev map -hosts 0 0 0 100% 0 0 100% /net map auto_home 0 0 0 100% 0 0 100% /home localhost:/MDgEI_GrZ1zKqZGVbPbxPp 311731616 311731616 0 100% 0 0 100% /Volumes/MobileBackups — Reply to this email directly or view it on GitHub.

libreliodev commented 10 years ago

Yes, sorry, I had opened an adb shell session, but not realized it was no longer opened.

shell@android:/ $ df -k
Filesystem             Size   Used   Free   Blksize
-k: No such file or directory
1|shell@android:/ $ df
Filesystem             Size   Used   Free   Blksize
/dev                   379M    84K   379M   4096
/mnt/asec              379M     0K   379M   4096
/mnt/obb               379M     0K   379M   4096
/system                  1G   958M   246M   4096
/cache                 688M    11M   677M   4096
/efs                    19M     4M    15M   4096
/data                   11G     4G     7G   4096
/storage/sdcard0        11G     4G     7G   4096
libreliodev commented 10 years ago

New logcat after additional logging was added: https://gist.github.com/libreliodev/7216431

cc @intrications

intrications commented 10 years ago

That logcat doesn't show the right part. I need the parts that say something like "file size on external storage".

The plist parser library dumps loads of junk into the logcat every time it parses the plist so most of the logcat is just that. (If you leave the app while the download continues in the background, then the plist parser won't be running and you'll just get the important part of the logcat).

You could also try using pidcat (https://github.com/JakeWharton/pidcat) so you only get the logcat for the app by running:

pidcat.py com.niveales.wind

On 29 October 2013 15:09, Librelio Dev Team notifications@github.comwrote:

New logcat after additional logging was added: https://gist.github.com/libreliodev/7216431

cc @intrications https://github.com/intrications

— Reply to this email directly or view it on GitHubhttps://github.com/libreliodev/android/issues/184#issuecomment-27311132 .

libreliodev commented 10 years ago

Here is a more compact logcat, which includes all the download session: https://gist.github.com/libreliodev/7219519

intrications commented 10 years ago

That logcat only shows successful downloads. I've added more logging to see if failed download statuses are being sent by DownloadManager.

libreliodev commented 10 years ago

New logcat: https://gist.github.com/libreliodev/7236624

intrications commented 10 years ago

That logcat confirms the zero byte files are being marked as successful by DownloadManager for some reason.

I've push a commit that restarts the download if the file size is zero.

libreliodev commented 10 years ago

Thank you for the new commit.

Unfortunately, the app crashed when downloading assets (see crash report at https://gist.github.com/libreliodev/7238364 )

Also, after restarting, the app crashed when playing the test slide show (see crash report at https://gist.github.com/libreliodev/7238413)

Lastly, a disturbing message was displayed on the screen, inside the app, and on the home screen after quitting the app 2013-10-30 20 11 28 2013-10-30 20 11 33

intrications commented 10 years ago

I don't think either crash is to do with the changes I've made. The first one is because of a missing plist file - don't know how that happened. The second one was just another out-of-memory error.

The message on screen is just a temporary debugging message so you can see when an asset has a file size of zero and retries. It is possible that the same asset will just be retried over and over and the toasts are to warn you of this.

Please try restarting the app again. Wiping the app data if necessary to get rid of the unrelated crashes.

On 30 October 2013 19:18, Librelio Dev Team notifications@github.comwrote:

Thank you for the new commit.

Unfortunately, the app crashed when downloading assets (see crash report at https://gist.github.com/libreliodev/7238364 )

Also, after restarting, the app crashed when playing the test slide show (see crash report at https://gist.github.com/libreliodev/7238413)

Lastly, a disturbing message was displayed on the screen, inside the app, and on the home screen after quitting the app [image: 2013-10-30 20 11 28]https://f.cloud.github.com/assets/3107052/1440336/e2e590ac-4197-11e3-9e9d-1c0567e98ec2.png [image: 2013-10-30 20 11 33]https://f.cloud.github.com/assets/3107052/1440335/e2e19d9e-4197-11e3-8638-0fc856f69b75.png

— Reply to this email directly or view it on GitHubhttps://github.com/libreliodev/android/issues/184#issuecomment-27429617 .

libreliodev commented 10 years ago

This seems to be fixed. After a while, below is a copy of the wind_355 directory. Please remove the message displayed for debugging. Many thanks!

-rw------- u0_a151  u0_a151    509481 2013-10-30 21:42 AFFCORSE_1.jpg
-rw------- u0_a151  u0_a151    527900 2013-10-30 21:41 AFFCORSE_2.jpg
-rw------- u0_a151  u0_a151    429468 2013-10-30 21:42 AFFCORSE_3.jpg
-rw------- u0_a151  u0_a151    601893 2013-10-30 21:40 AFFCORSE_4.jpg
-rw------- u0_a151  u0_a151    599582 2013-10-30 21:39 AFFCORSE_5.jpg
-rw------- u0_a151  u0_a151    536172 2013-10-30 21:37 AFFCORSE_6.jpg
-rw------- u0_a151  u0_a151    530274 2013-10-30 21:38 CAPVERT2_1.jpg
-rw------- u0_a151  u0_a151    532261 2013-10-30 21:38 CAPVERT2_2.jpg
-rw------- u0_a151  u0_a151    490894 2013-10-30 21:40 CAPVERT2_3.jpg
-rw------- u0_a151  u0_a151    356243 2013-10-30 21:40 CRASH_1.jpg
-rw------- u0_a151  u0_a151    346883 2013-10-30 21:38 CRASH_10.jpg
-rw------- u0_a151  u0_a151    348765 2013-10-30 21:40 CRASH_11.jpg
-rw------- u0_a151  u0_a151    347255 2013-10-30 21:38 CRASH_12.jpg
-rw------- u0_a151  u0_a151    375848 2013-10-30 21:40 CRASH_13.jpg
-rw------- u0_a151  u0_a151    392061 2013-10-30 21:40 CRASH_14.jpg
-rw------- u0_a151  u0_a151    337479 2013-10-30 21:39 CRASH_2.jpg
-rw------- u0_a151  u0_a151    348638 2013-10-30 21:38 CRASH_3.jpg
-rw------- u0_a151  u0_a151    349013 2013-10-30 21:39 CRASH_4.jpg
-rw------- u0_a151  u0_a151    347321 2013-10-30 21:38 CRASH_5.jpg
-rw------- u0_a151  u0_a151    351320 2013-10-30 21:40 CRASH_6.jpg
-rw------- u0_a151  u0_a151    343987 2013-10-30 21:36 CRASH_7.jpg
-rw------- u0_a151  u0_a151    362566 2013-10-30 21:38 CRASH_8.jpg
-rw------- u0_a151  u0_a151    347704 2013-10-30 21:41 CRASH_9.jpg
-rw------- u0_a151  u0_a151    606282 2013-10-30 21:41 DAKHLA_1.jpg
-rw------- u0_a151  u0_a151    671217 2013-10-30 21:42 DAKHLA_2.jpg
-rw------- u0_a151  u0_a151    583088 2013-10-30 21:41 DAKHLA_3.jpg
-rw------- u0_a151  u0_a151    348790 2013-10-30 21:41 DAKHLA_4.jpg
-rw------- u0_a151  u0_a151    380751 2013-10-30 21:42 DAKHLA_5.jpg
-rw------- u0_a151  u0_a151    724243 2013-10-30 21:41 DAKHLA_6.jpg
-rw------- u0_a151  u0_a151    384606 2013-10-30 21:38 DAKHLA_7.jpg
-rw------- u0_a151  u0_a151    570473 2013-10-30 21:38 DAKHLA_8.jpg
-rw------- u0_a151  u0_a151    670250 2013-10-30 21:42 DAKHLA_9.jpg
-rw------- u0_a151  u0_a151  17549976 2013-10-30 21:41 Dakhla_Foil.mp4
-rw------- u0_a151  u0_a151    599769 2013-10-30 21:41 FOIL_1.jpg
-rw------- u0_a151  u0_a151    520977 2013-10-30 21:42 FOIL_2.jpg
-rw------- u0_a151  u0_a151    484511 2013-10-30 21:41 FOIL_3.jpg
-rw------- u0_a151  u0_a151    472081 2013-10-30 21:37 FOIL_4.jpg
-rw------- u0_a151  u0_a151    375513 2013-10-30 21:42 FOIL_5.jpg
-rw------- u0_a151  u0_a151    500861 2013-10-30 21:37 FOIL_6.jpg
-rw------- u0_a151  u0_a151  12833642 2013-10-30 21:41 Natsi.mp4
-rw------- u0_a151  u0_a151    811730 2013-10-30 21:41 PWAVIETNAM_1.jpg
-rw------- u0_a151  u0_a151    775798 2013-10-30 21:41 PWAVIETNAM_2.jpg
-rw------- u0_a151  u0_a151    870743 2013-10-30 21:42 PWAVIETNAM_3.jpg
-rw------- u0_a151  u0_a151    585665 2013-10-30 21:40 PWAVIETNAM_4.jpg
-rw------- u0_a151  u0_a151     59759 2013-10-30 21:36 weshjaws_1.jpg
-rw------- u0_a151  u0_a151     92726 2013-10-30 21:40 weshjaws_2.jpg
-rw------- u0_a151  u0_a151    163843 2013-10-30 21:38 weshjaws_3.jpg
-rw------- u0_a151  u0_a151     87876 2013-10-30 21:41 weshjaws_4.jpg
-rw------- u0_a151  u0_a151  32331135 2013-10-30 21:36 wind_355.pdf
-rw------- u0_a151  u0_a151    135934 2013-10-30 21:36 wind_355.png
intrications commented 10 years ago

Logging removed.

On 30 October 2013 20:57, Librelio Dev Team notifications@github.comwrote:

This seems to be fixed. After a while, below is a copy of the wind_355 directory. Please remove the message displayed for debugging. Many thanks!

-rw------- u0_a151 u0_a151 509481 2013-10-30 21:42 AFFCORSE_1.jpg -rw------- u0_a151 u0_a151 527900 2013-10-30 21:41 AFFCORSE_2.jpg -rw------- u0_a151 u0_a151 429468 2013-10-30 21:42 AFFCORSE_3.jpg -rw------- u0_a151 u0_a151 601893 2013-10-30 21:40 AFFCORSE_4.jpg -rw------- u0_a151 u0_a151 599582 2013-10-30 21:39 AFFCORSE_5.jpg -rw------- u0_a151 u0_a151 536172 2013-10-30 21:37 AFFCORSE_6.jpg -rw------- u0_a151 u0_a151 530274 2013-10-30 21:38 CAPVERT2_1.jpg -rw------- u0_a151 u0_a151 532261 2013-10-30 21:38 CAPVERT2_2.jpg -rw------- u0_a151 u0_a151 490894 2013-10-30 21:40 CAPVERT2_3.jpg -rw------- u0_a151 u0_a151 356243 2013-10-30 21:40 CRASH_1.jpg -rw------- u0_a151 u0_a151 346883 2013-10-30 21:38 CRASH_10.jpg -rw------- u0_a151 u0_a151 348765 2013-10-30 21:40 CRASH_11.jpg -rw------- u0_a151 u0_a151 347255 2013-10-30 21:38 CRASH_12.jpg -rw------- u0_a151 u0_a151 375848 2013-10-30 21:40 CRASH_13.jpg -rw------- u0_a151 u0_a151 392061 2013-10-30 21:40 CRASH_14.jpg -rw------- u0_a151 u0_a151 337479 2013-10-30 21:39 CRASH_2.jpg -rw------- u0_a151 u0_a151 348638 2013-10-30 21:38 CRASH_3.jpg -rw------- u0_a151 u0_a151 349013 2013-10-30 21:39 CRASH_4.jpg -rw------- u0_a151 u0_a151 347321 2013-10-30 21:38 CRASH_5.jpg -rw------- u0_a151 u0_a151 351320 2013-10-30 21:40 CRASH_6.jpg -rw------- u0_a151 u0_a151 343987 2013-10-30 21:36 CRASH_7.jpg -rw------- u0_a151 u0_a151 362566 2013-10-30 21:38 CRASH_8.jpg -rw------- u0_a151 u0_a151 347704 2013-10-30 21:41 CRASH_9.jpg -rw------- u0_a151 u0_a151 606282 2013-10-30 21:41 DAKHLA_1.jpg -rw------- u0_a151 u0_a151 671217 2013-10-30 21:42 DAKHLA_2.jpg -rw------- u0_a151 u0_a151 583088 2013-10-30 21:41 DAKHLA_3.jpg -rw------- u0_a151 u0_a151 348790 2013-10-30 21:41 DAKHLA_4.jpg -rw------- u0_a151 u0_a151 380751 2013-10-30 21:42 DAKHLA_5.jpg -rw------- u0_a151 u0_a151 724243 2013-10-30 21:41 DAKHLA_6.jpg -rw------- u0_a151 u0_a151 384606 2013-10-30 21:38 DAKHLA_7.jpg -rw------- u0_a151 u0_a151 570473 2013-10-30 21:38 DAKHLA_8.jpg -rw------- u0_a151 u0_a151 670250 2013-10-30 21:42 DAKHLA_9.jpg -rw------- u0_a151 u0_a151 17549976 2013-10-30 21:41 Dakhla_Foil.mp4 -rw------- u0_a151 u0_a151 599769 2013-10-30 21:41 FOIL_1.jpg -rw------- u0_a151 u0_a151 520977 2013-10-30 21:42 FOIL_2.jpg -rw------- u0_a151 u0_a151 484511 2013-10-30 21:41 FOIL_3.jpg -rw------- u0_a151 u0_a151 472081 2013-10-30 21:37 FOIL_4.jpg -rw------- u0_a151 u0_a151 375513 2013-10-30 21:42 FOIL_5.jpg -rw------- u0_a151 u0_a151 500861 2013-10-30 21:37 FOIL_6.jpg -rw------- u0_a151 u0_a151 12833642 2013-10-30 21:41 Natsi.mp4 -rw------- u0_a151 u0_a151 811730 2013-10-30 21:41 PWAVIETNAM_1.jpg -rw------- u0_a151 u0_a151 775798 2013-10-30 21:41 PWAVIETNAM_2.jpg -rw------- u0_a151 u0_a151 870743 2013-10-30 21:42 PWAVIETNAM_3.jpg -rw------- u0_a151 u0_a151 585665 2013-10-30 21:40 PWAVIETNAM_4.jpg -rw------- u0_a151 u0_a151 59759 2013-10-30 21:36 weshjaws_1.jpg -rw------- u0_a151 u0_a151 92726 2013-10-30 21:40 weshjaws_2.jpg -rw------- u0_a151 u0_a151 163843 2013-10-30 21:38 weshjaws_3.jpg -rw------- u0_a151 u0_a151 87876 2013-10-30 21:41 weshjaws_4.jpg -rw------- u0_a151 u0_a151 32331135 2013-10-30 21:36 wind_355.pdf -rw------- u0_a151 u0_a151 135934 2013-10-30 21:36 wind_355.png

— Reply to this email directly or view it on GitHubhttps://github.com/libreliodev/android/issues/184#issuecomment-27438396 .

libreliodev commented 10 years ago

OK. Many thanks @intrications