Weird notices in output window while debugging ios 7.1 application and using camera to capture photos.

2 posts, 0 answers
  1. Dave
    Dave avatar
    8 posts
    Member since:
    Oct 2013

    Posted 23 Apr 2014 Link to this post

    User AppBuilder extension for Visual Studio 2013
    Provision ios Build
    iPhone 5 ios 7.1
    Jquery Mobile: 1.4.2
    Jquery: 1.11.0

    I'm seeing weird comments & behavior in the output log and when taking photos.  I have a modal popup with two buttons that set the SourceType of the
    navigator.camera.getPicture method to either navigator.camera.PictureSourceType.CAMERA or navigator.camera.PictureSourceType.PHOTOLIBRARY i.e.


    on click calls:
    navigator.camera.getPicture(onSuccessUri,onFail, { quality: 50,sourceType: sourceType ,destinationType:destinationType.FILE_URI });

    The onSuccessUri(images) method gets called and I get an output of :
    file:///var/mobile/Applications/80207206-B13F-4D31-B249-1B729ED02FB7/tmp/cdv_photo_002.jpg

    Then I call window.resolveLocalFileSystemURI(imageUri, gotImageURI,
    onFail);
      
    function onSuccessUri(imageUri) {   
        window.resolveLocalFileSystemURI(imageUri, gotImageURI, onFail);
    }

    The method gotImageURI which should get the fileEntry object but doesn't get called.  Thinks go wrong from this point because nothing works until I close popup and go to another page.  -- odd

    Here are some of the output entries that seem odd:

    When I cancel out of taking a photo I see this message:
    The old format of this exec call has been removed (deprecated since 2.1). Change to: cordova.exec(null, null, "","Error",[null,"Notification","alert",["no
    image selected","OK","OK"]]);

    This output too:
    notify name "com.telerik.app.refreshWebView" has been registered 20 times - this may be a leak

    I’ve seen this message with up to 80 as noted registered times.

    Thanks, Dave




  2. Kaloyan
    Admin
    Kaloyan avatar
    872 posts

    Posted 28 Apr 2014 Link to this post

    Hello Dave,

    It is unfortunate that you have come across such issues using AppBuilder.

    Is it possible for you to send us the actual project where these reproduce or even better, a sample project where the issues are isolated? This will help us investigate what could be causing the matters and so, provide possible solutions or workarounds. Please, if you decide to share your work with us, do it in a private support ticket, as the forums are not confidential.

    Further, you can also debug your code and check if there aren't any errors in the console output.

    I am looking forward to your reply.

    Regards,
    Kaloyan
    Telerik
     

    Share what you think about AppBuilder and Telerik Platform with us in our feedback portal, so we can become even better!

     
Back to Top