Issues with images on Android

5 posts, 0 answers
  1. TJ
    TJ avatar
    58 posts
    Member since:
    Aug 2013

    Posted 15 Jan 2015 Link to this post

    I needed to add an Image to my app so I added this tag to my Page's StackPanel:

    <Image url="https://bs2.cdn.telerik.com/v1/GWfRtXi1Lwt4jcqK/28d417c0-9ccb-11e4-ad75-053ddcb57c52" />

    This displays great on iOS: http://i.imgur.com/1QouHmq.png. But on Android the image not present, and there's also a whole bunch of space randomly added to my layout: http://i.imgur.com/7UdFOmq.png.
     
    Any idea what's going on here?

    Thanks,
    TJ    
  2. Vlad
    Admin
    Vlad avatar
    11100 posts

    Posted 16 Jan 2015 Link to this post

    Hello TJ,

    It seems that https is causing the problem in this case. Here the Android exception:
    01-16 16:23:13.613: W/System.err(7243): javax.net.ssl.SSLException: Fatal alert received handshake_failure
    01-16 16:23:13.613: W/System.err(7243): at com.android.org.conscrypt.SSLEngineImpl.unwrap(SSLEngineImpl.java:484)
    01-16 16:23:13.613: W/System.err(7243): at javax.net.ssl.SSLEngine.unwrap(SSLEngine.java:383)
     
    Please use http instead!

    Regards,
    Vlad
    Telerik
     

    Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.

     
  3. Marko
    Marko avatar
    5 posts
    Member since:
    May 2014

    Posted 16 Jan 2015 Link to this post

    To forgo https on android.... is that a general issue in Android? This sounds really really bad if you can't consume Web APIs that are accessible with HTTPS.
  4. Vlad
    Admin
    Vlad avatar
    11100 posts

    Posted 16 Jan 2015 Link to this post

    Hi,

    There should be no problem with https on Android if the server SSL certificate is valid.

    Regards,
    Vlad
    Telerik
     

    Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.

     
  5. TJ
    TJ avatar
    58 posts
    Member since:
    Aug 2013

    Posted 16 Jan 2015 in reply to Vlad Link to this post

    Hi Vlad,

    Using HTTP worked, but the image itself is hosted in our Backend Services, so I would certainly hope that the associated SSL cert is valid.

    TJ
Back to Top