Hi, Simon
Program tell me file move successful but it not correct. File does not move to my target folder. Please see my Logcat below
root@android:/data/data/xxx.xxx.xxx/photo/1 # ls -al
<empty result>
Again. File will appear here if I use copyTo().
Thanks,
Tanin
11-02 09:52:35.416: I/Web Console(905): Capture photo at null:54
11-02 09:52:35.566: D/DroidGap(905): Paused the application!
11-02 09:52:35.566: D/CordovaWebView(905): Handle the pause
11-02 09:52:35.575: D/CordovaWebView(905): >>> loadUrlNow()
11-02 09:52:38.605: W/IInputConnectionWrapper(905): showStatusIcon on inactive InputConnection
11-02 09:52:42.376: D/dalvikvm(905): GC_FOR_ALLOC freed 3026K, 32% free 6835K/9927K, paused 64ms, total 88ms
11-02 09:52:42.376: I/dalvikvm-heap(905): Grow heap (frag case) to 7.893MB for 1228816-byte allocation
11-02 09:52:42.466: D/dalvikvm(905): GC_FOR_ALLOC freed 625K, 26% free 7410K/9927K, paused 84ms, total 84ms
11-02 09:52:42.486: W/CursorWrapperInner(905): Cursor finalized without prior close()
11-02 09:52:42.586: D/dalvikvm(905): GC_CONCURRENT freed 0K, 26% free 7410K/9927K, paused 23ms+19ms, total 125ms
11-02 09:52:42.835: D/dalvikvm(905): WAIT_FOR_CONCURRENT_GC blocked 0ms
11-02 09:52:42.926: W/CursorWrapperInner(905): Cursor finalized without prior close()
11-02 09:52:42.936: D/dalvikvm(905): GC_EXPLICIT freed 1251K, 38% free 6172K/9927K, paused 10ms+12ms, total 101ms
11-02 09:52:42.936: D/DroidGap(905): Resuming the App
11-02 09:52:42.936: D/CordovaWebView(905): >>> loadUrlNow()
11-02 09:52:43.096: W/EGL_emulation(905): eglSurfaceAttrib not implemented
11-02 09:52:43.486: D/CordovaLog(905): file:///mnt/sdcard/Android/data/xxx.xxx.xxx/cache/1351824762265.jpg
11-02 09:52:43.486: D/CordovaLog(905): null: Line 90 : file:///mnt/sdcard/Android/data/xxx.xxx.xxx/cache/1351824762265.jpg
11-02 09:52:43.486: I/Web Console(905): file:///mnt/sdcard/Android/data/xxx.xxx.xxx/cache/1351824762265.jpg at null:90
11-02 09:52:44.126: D/CordovaLog(905): [object Object]
11-02 09:52:44.126: D/CordovaLog(905): null: Line 108 : [object Object]
11-02 09:52:44.126: I/Web Console(905): [object Object] at null:108
11-02 09:52:44.546: D/CordovaLog(905): File move successful
11-02 09:52:44.546: D/CordovaLog(905): null: Line 126 : File move successful
11-02 09:52:44.546: I/Web Console(905): File move successful at null:126
11-02 09:52:44.775: W/EGL_emulation(905): eglSurfaceAttrib not implemented