User Tag List

Results 1 to 7 of 7

Thread: How image (Picture.jpg) pack for android

  1. #1
    Clicker

    Fusion 2.5 MacFusion 2.5 DeveloperFusion 2.5+ DLCAndroid Export ModuleHTML5 Export ModuleiOS Export ModuleUniversal Windows Platform Export ModuleSWF Export ModuleInstall Creator Pro
    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)
    pradeep's Avatar
    Join Date
    Dec 2013
    Location
    India
    Posts
    238
    Mentioned
    4 Post(s)
    Tagged
    0 Thread(s)

    How image (Picture.jpg) pack for android

    I want some picture in my app. When apk build, these image are pack in apk.
    When app run and Select any picture are open in Active Picture how?

  2. #2
    Clicker Fusion 2.5 (Steam)Fusion 2.5 Developer (Steam)Android Export Module (Steam)
    alexexhowl's Avatar
    Join Date
    Jan 2015
    Location
    RU, YKT
    Posts
    348
    Mentioned
    5 Post(s)
    Tagged
    0 Thread(s)
    1. Android runtime includes all external data as one binary-file,
    2. Android runtime doesn't allow to extract files and release files from binary file. Here is rises problem #3 from from it:
    3. You can't scan android file-system to make filelist at runtime to search what you've uncluded. You must manually store somewhere what you've included in binary file, like "1.png", "2.png", "3.png"
    4. Probably obb-extension allows you to extract, release and scan. But, you must have google developer account and app wich released in google playstore to download obb file.

    here example for you -> android fs image.mfa

  3. #3
    Clicker Fusion 2.5 (Steam)Fusion 2.5 Developer (Steam)Android Export Module (Steam)
    alexexhowl's Avatar
    Join Date
    Jan 2015
    Location
    RU, YKT
    Posts
    348
    Mentioned
    5 Post(s)
    Tagged
    0 Thread(s)
    btw @Fernando why expression DataStorageDirectory$( "Android object" ) + "1.png" doesn't work? but apppath$ + "1.png" works?
    afaik appath$ doens't work on android-runtime, even pre-build error pops up, and engine doens't allows you to choose apppath$ via action - special - filenames. That is confusing.

  4. #4
    Clickteam Clickteam
    Fernando's Avatar
    Join Date
    Dec 2006
    Posts
    5,913
    Mentioned
    116 Post(s)
    Tagged
    2 Thread(s)
    because you need to add a separator for the folder

    DataStorageDirectory$( "Android object" ) + "/"+ "1.png"
    Regards,


    Fernando Vivolo

    ... new things are coming ...

  5. #5
    Clicker

    Fusion 2.5 MacFusion 2.5 DeveloperFusion 2.5+ DLCAndroid Export ModuleHTML5 Export ModuleiOS Export ModuleUniversal Windows Platform Export ModuleSWF Export ModuleInstall Creator Pro
    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)
    pradeep's Avatar
    Join Date
    Dec 2013
    Location
    India
    Posts
    238
    Mentioned
    4 Post(s)
    Tagged
    0 Thread(s)
    Thanks alexexhowl and Fernando

  6. #6
    Clicker

    Fusion 2.5 MacFusion 2.5 DeveloperFusion 2.5+ DLCAndroid Export ModuleHTML5 Export ModuleiOS Export ModuleUniversal Windows Platform Export ModuleSWF Export ModuleInstall Creator Pro
    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)
    pradeep's Avatar
    Join Date
    Dec 2013
    Location
    India
    Posts
    238
    Mentioned
    4 Post(s)
    Tagged
    0 Thread(s)
    alexexhowl, android fs image.mfa not work for more then 3 image

  7. #7
    Clicker Fusion 2.5 (Steam)Fusion 2.5 Developer (Steam)Android Export Module (Steam)
    alexexhowl's Avatar
    Join Date
    Jan 2015
    Location
    RU, YKT
    Posts
    348
    Mentioned
    5 Post(s)
    Tagged
    0 Thread(s)
    @pradeep
    3.
    You must manually store somewhere what you've included in binary file, like "1.png", "2.png", "3.png" to get file-name and load it.

Similar Threads

  1. Get image orientation for Active Picture
    By StingRay in forum Android Export Module 2.5
    Replies: 2
    Last Post: 25th January 2017, 10:23 PM
  2. Replies: 2
    Last Post: 14th December 2016, 03:47 PM
  3. Replies: 0
    Last Post: 25th April 2015, 05:01 PM
  4. Active Picture Crashes App when getting image from URL
    By Puff_N_Stuff in forum Android Export Module Version 2.0
    Replies: 6
    Last Post: 2nd March 2013, 04:38 PM
  5. BUG: Active Picture > New Picture from Selector doesn't wait for image - Beta9
    By AyreGuitar in forum iOS Export Module Version 2.0
    Replies: 5
    Last Post: 27th January 2013, 03:09 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
  •