Quantcast
Channel: Appcelerator Developer Center Q&A Unanswered Questions 20
Viewing all articles
Browse latest Browse all 8068

Titanium Android takingPictures ERROR

$
0
0

Hi i'm just trying to take a picture on android and it crashes most of the times... i'm working with titanium sdk 3.5.1rc and i tried this with several android phones with different android versions... does anyone have an idea what i'm doing wrong? :(

this is my test code:

Titanium.Media.showCamera({
        success : function(event) {
        },
        error : function(e) {
        },
        cancel : function(e) {
        },
        saveToPhotoGallery : false,
        allowEditing : true
    });
in the console i get:
[WARN] :   IInputConnectionWrapper: showStatusIcon on inactive InputConnection
[ERROR] :  System: Uncaught exception thrown by finalizer
[ERROR] :  System: java.io.IOException: close failed: EIO (I/O error)
[ERROR] :  System:  at libcore.io.IoUtils.close(IoUtils.java:41)
[ERROR] :  System:  at java.io.FileInputStream.close(FileInputStream.java:121)
[ERROR] :  System:  at java.io.FileInputStream.finalize(FileInputStream.java:142)
[ERROR] :  System:  at java.lang.Daemons$FinalizerDaemon.doFinalize(Daemons.java:186)
[ERROR] :  System:  at java.lang.Daemons$FinalizerDaemon.run(Daemons.java:169)
[ERROR] :  System:  at java.lang.Thread.run(Thread.java:856)
[ERROR] :  System: Caused by: libcore.io.ErrnoException: close failed: EIO (I/O error)
[ERROR] :  System:  at libcore.io.Posix.close(Native Method)
[ERROR] :  System:  at libcore.io.BlockGuardOs.close(BlockGuardOs.java:75)
[ERROR] :  System:  at libcore.io.IoUtils.close(IoUtils.java:38)
[ERROR] :  System:  ... 5 more

Viewing all articles
Browse latest Browse all 8068

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>