User Tag List

Page 2 of 9 FirstFirst 1 2 3 4 ... LastLast
Results 11 to 20 of 83

Thread: Android copy/Load image using file object

  1. #11
    Clickteam Clickteam
    Fernando's Avatar
    Join Date
    Dec 2006
    Posts
    7,054
    Mentioned
    298 Post(s)
    Tagged
    4 Thread(s)
    datastorage is inside data/data/packagename/

    scope storage are located at Android/data/packagename/
    Regards,


    Fernando Vivolo

    ... new things are coming ...

  2. #12
    Clicker Fusion 2.5 (Steam)Fusion 2.5 Developer (Steam)Android Export Module (Steam)HTML5 Export Module (Steam)iOS Export Module (Steam)Universal Windows Platform Export Module (Steam)

    Join Date
    Apr 2020
    Posts
    137
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quote Originally Posted by Fernando View Post
    publicscopestorage create the same external public folder but for application use, whihc btw doesn't need any permission only set read_external_storage
    when you have a chance, can you answer my questions? Thanks!

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

    Join Date
    Apr 2020
    Posts
    137
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    What do I put in this context to create a folder, with m being the folder?

    To make a new folder in public scope storage, I use the file object, directory actions, create a directory?

    what do I put in >Type Name (Pictures, Movies, Documents, DCIM, Downloads, Music, etc.)< to dictate MY public scope storage?

    PublicStorageDirectory$( "Android object", >Type Name (Pictures, Movies, Documents, DCIM, Downloads, Music, etc.)< ) + "/" + "m"

    When making a folder and manipulating files with publicscopestorage, will this do the same actions with locations in android 11 as on a device running android 10?

    In effect, implementing publicscopestorage will be backwards compatible for file locations in 10 and down?

  4. #14
    Clicker Fusion 2.5 (Steam)Fusion 2.5 Developer (Steam)Android Export Module (Steam)HTML5 Export Module (Steam)iOS Export Module (Steam)Universal Windows Platform Export Module (Steam)

    Join Date
    Apr 2020
    Posts
    137
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    for instance doing:
    with my package name being "com.m.n"

    I do not see the folder android/data/com.m.n

    using file object to create directory

    PublicStorageDirectory$( "Android object", "com.m.n" ) + "/" + "m"

    there is no android/data/com.m.n

    How do I target publicscopestorage using android object?

    if it is using publicstoragedirectory$ what do I put for

    >Type Name (Pictures, Movies, Documents, DCIM, Downloads, Music, etc.)< to dictate MY public scope storage?

  5. #15
    Clicker Fusion 2.5 (Steam)Fusion 2.5 Developer (Steam)Android Export Module (Steam)HTML5 Export Module (Steam)iOS Export Module (Steam)Universal Windows Platform Export Module (Steam)

    Join Date
    Apr 2020
    Posts
    137
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    using
    PublicStorageDirectory$( "Android object", "pictures" ) + "/" + "m.jpg"

    places the photo under /storage/emulated/0/pictures/

    when I need the picture to go to:

    android/data/com.m.n/m.jpg

  6. #16
    Clickteam Clickteam
    Fernando's Avatar
    Join Date
    Dec 2006
    Posts
    7,054
    Mentioned
    298 Post(s)
    Tagged
    4 Thread(s)
    are you using latest beta that have public scope storage
    Regards,


    Fernando Vivolo

    ... new things are coming ...

  7. #17
    Clicker Fusion 2.5 (Steam)Fusion 2.5 Developer (Steam)Android Export Module (Steam)HTML5 Export Module (Steam)iOS Export Module (Steam)Universal Windows Platform Export Module (Steam)

    Join Date
    Apr 2020
    Posts
    137
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    I have clickteam fusion 2.5 developer + android on steam. Under steam clickteam fusion properties "betas" it says "none". Under clickteam community passport "beta versions" it says "no downloads found".

    I am on version 2.5 (build r293.1).

    I do not see any beta updates in the software.

    How do I update to beta?

  8. #18
    Clicker Fusion 2.5 (Steam)Fusion 2.5 Developer (Steam)Fusion 2.5+ DLC (Steam)Android Export Module (Steam)HTML5 Export Module (Steam)
    GKProduction's Avatar
    Join Date
    Aug 2017
    Location
    Russia, Kostroma
    Posts
    152
    Mentioned
    8 Post(s)
    Tagged
    0 Thread(s)
    Quote Originally Posted by db251 View Post
    Under steam clickteam fusion properties "betas" it says "none". How do I update to beta?
    You need to enter code for beta access. You can find code here: https://steamcommunity.com/app/24817...5877224218221/

  9. #19
    Clicker Fusion 2.5 (Steam)Fusion 2.5 Developer (Steam)Android Export Module (Steam)HTML5 Export Module (Steam)iOS Export Module (Steam)Universal Windows Platform Export Module (Steam)

    Join Date
    Apr 2020
    Posts
    137
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    I updated to beta.

    I am getting app crash on both datastorage and publicscope storage file copy using this beta.

    Using the previous software (r.293.1), data storage works successfully.

    attached is an mfa tested on both r.293 and newest beta.

    THANK YOU for your response and attention. I am grateful for the work you do.
    Attached files Attached files

  10. #20
    Clicker Fusion 2.5 (Steam)Fusion 2.5 Developer (Steam)Android Export Module (Steam)HTML5 Export Module (Steam)iOS Export Module (Steam)Universal Windows Platform Export Module (Steam)

    Join Date
    Apr 2020
    Posts
    137
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    I noticed in the mfa posted that I did not target android 11, so I then tested and changed properties to:

    target android 11

    I removed permissions:
    write external storage

    I am still having app crash on file load pressed. So no change.

Page 2 of 9 FirstFirst 1 2 3 4 ... LastLast

Similar Threads

  1. WebView2 cannot load image in android
    By pradeep in forum Android Export Module 2.5
    Replies: 3
    Last Post: 5th July 2019, 03:36 PM
  2. Replies: 0
    Last Post: 25th April 2015, 06:01 PM
  3. How to load An Animated Image from file?
    By path in forum Multimedia Fusion 2 - Technical Support
    Replies: 5
    Last Post: 28th August 2012, 07:40 PM
  4. file object won't copy? or create new directory?
    By Skeets in forum Multimedia Fusion 2 - Technical Support
    Replies: 6
    Last Post: 23rd June 2010, 11:37 PM
  5. file object ... Does the copy action...
    By Gibbon in forum Multimedia Fusion 2 - Technical Support
    Replies: 14
    Last Post: 22nd April 2008, 10:13 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
  •