User Tag List

Results 1 to 3 of 3

Thread: Active image not downloading On android 5.1 and 6.0

  1. #1
    Clicker Fusion 2.5 (Steam)Fusion 2.5 Developer (Steam)Fusion 2.5+ DLC (Steam)Android Export Module (Steam)HTML5 Export Module (Steam)iOS Export Module (Steam)Universal Windows Platform Export Module (Steam)

    Join Date
    May 2017
    Location
    Nantes
    Posts
    173
    Mentioned
    12 Post(s)
    Tagged
    0 Thread(s)

    Question Active image not downloading On android 5.1 and 6.0

    Hi @Fernando ,

    I have a bizar behavior of the Active image object that i can't resolve.
    I use Active Image to download and show formated images from AWS and Facebook.

    Here is an example of photo i call from AWS:
    https://d1yud1pqtec2i8.cloudfront.ne...5nIg0KICB9DQp9

    When tested on real and virtual devices it is downloaded and showed as expected on android 7.0 / 7.1.1 / 9.0 /10.0

    But on android 5.1 / 6.0 it doesn't download and in the logs i get this error message :

    kcpica filename: https://d1yud1pqtec2i8.cloudfront.ne...gtN2I1MC00MDMy
    I/MMFRuntime( 3795): LWI1ODMtNTMwYWEyOGEzZmM4X2JmMmUxMGNkLTQ2ZWEtNGQwMS 04OTYyLWYwZjM5MDRmMjFjNS5q
    I/MMFRuntime( 3795): cGciLA0KICAiZWRpdHMiOiB7DQogICAgInJlc2l6ZSI6IHsNCi AgICAgICJ3aWR0aCI6IDEyOCwN
    I/MMFRuntime( 3795): CiAgICAgICJoZWlnaHQiOiAxMjgsDQogICAgICAiZml0IjogIm NvdmVyIg0KICAgIH0sDQogICAg
    I/MMFRuntime( 3795): ImNpcmNsZSI6IHt9LA0KInRvRm9ybWF0IjoicG5nIg0KICB9DQ p9
    I/MMFRuntime( 3795): java.io.FileNotFoundException: ew0KICAiYnVja2V0IjogIndlbWlhbWRldiIsDQogICJrZXkiOi AiNDE5NWFkZTgtN2I1MC00MDMy
    I/MMFRuntime( 3795): LWI1ODMtNTMwYWEyOGEzZmM4X2JmMmUxMGNkLTQ2ZWEtNGQwMS 04OTYyLWYwZjM5MDRmMjFjNS5q
    I/MMFRuntime( 3795): cGciLA0KICAiZWRpdHMiOiB7DQogICAgInJlc2l6ZSI6IHsNCi AgICAgICJ3aWR0aCI6IDEyOCwN
    I/MMFRuntime( 3795): CiAgICAgICJoZWlnaHQiOiAxMjgsDQogICAgICAiZml0IjogIm NvdmVyIg0KICAgIH0sDQogICAg
    I/MMFRuntime( 3795): ImNpcmNsZSI6IHt9LA0KInRvRm9ybWF0IjoicG5nIg0KICB9DQ p9
    I/MMFRuntime( 3795): kcpica: Failure w/ async image download


    This error is fired only for AWS photos, the facebook urls work fine, like this one:
    https://scontent-bru2-1.xx.fbcdn.net...8e&oe=5F201AF3


    I'm building my app with API 29, minimum android version 5.0 and target version 9.0

    I can't find on google any one complaining about this problem, so it's maybe related to Fusion ? maybe a filename length limit ? Can you check please ?

    Thanks
    Haoujey

  2. #2
    Clickteam Clickteam
    Fernando's Avatar
    Join Date
    Dec 2006
    Posts
    6,650
    Mentioned
    281 Post(s)
    Tagged
    4 Thread(s)
    Sorry you need to post a mfa to check

    ============================================

    it fails here in android 10, something is wrong with your URL

    it clearly stae in teh log that the file is not found in teh server, also teh response from serve in json clear you this.
    Regards,


    Fernando Vivolo

    ... new things are coming ...

  3. #3
    Clicker Fusion 2.5 (Steam)Fusion 2.5 Developer (Steam)Fusion 2.5+ DLC (Steam)Android Export Module (Steam)HTML5 Export Module (Steam)iOS Export Module (Steam)Universal Windows Platform Export Module (Steam)

    Join Date
    May 2017
    Location
    Nantes
    Posts
    173
    Mentioned
    12 Post(s)
    Tagged
    0 Thread(s)
    @Fernando ,

    Finaly problem solved, 3 days wasted on this stupid problem caused by an invisible bit added by android.Base64.Encode in android prior to 7.0 ...

    That's why the strings were visualy identical, but the behavior was different.

    To solve the problem i added a NO_WRAP flag in my extension encode function. (I was confident in SAFE_URL flag but it's useless in this case ! )

    Thanks for your help, i was focused on string truncation and didn't imagine a hidden bit.

Similar Threads

  1. Downloading SDK Platform Android 8.1.0, API 27, revision 1
    By Janette5 in forum Android Export Module 2.5
    Replies: 2
    Last Post: 20th February 2018, 09:57 AM
  2. Replies: 0
    Last Post: 25th April 2015, 05:01 PM
  3. [BUG] Active Picture URL downloading not working
    By UrbanMonk in forum Multimedia Fusion 2 - Technical Support
    Replies: 7
    Last Post: 29th September 2013, 07:09 PM
  4. Downloading an image
    By Game_Master in forum iOS Export Module Version 2.0
    Replies: 3
    Last Post: 18th May 2012, 11:02 PM
  5. Objet Image (ou Image Active) et rayures
    By volgot in forum Multimedia Fusion 2 - Technical Support
    Replies: 3
    Last Post: 20th April 2011, 04:10 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •