User Tag List

Page 1 of 2 1 2 LastLast
Results 1 to 10 of 11

Thread: Android Object: "Save screenshot" not working

  1. #1
    Clicker Fusion 2.5 DeveloperAndroid Export ModuleiOS Export ModuleSWF Export ModuleInstall Creator ProPatch Maker

    Join Date
    Jun 2006
    Location
    Norway
    Posts
    528
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Android Object: "Save screenshot" not working

    I am attempting to share a screenshot. I am following the example that is included with the android exporter, "TestAndroidPlus.mfa".

    It seems the "Save screenshot" action is not working.
    This expression is used in the example:
    PublicStorageDirectory( "Android object", "Pictures" ) + "/" + "myScreenCapture.jpg"
    That should save the screenshot to "/mnt/sdcard/Pictures/myScreenCapture.jpg".
    But when I browse "My files" on my android device, the image is not there. "Pictures" is not an existing folder, my images are stored in "/mnt/sdcard/Image" so I tried changing the expression to
    PublicStorageDirectory( "Android object", "Image" ) + "/" + "myScreenCapture.jpg"
    The screenshot is not showing up in the "Image" folder either.

    I've also tried the expression
    TempPath$( "Android object" ) + "myScreenCapture.jpg"
    That doesn't seem to work either.

    Am I doing something wrong here?

  2. #2
    Clicker

    Fusion 2.5 MacFusion 2.5 DeveloperAndroid Export ModuleHTML5 Export ModuleiOS Export ModuleSWF Export ModuleInstall Creator ProUnicode Add-on
    StingRay's Avatar
    Join Date
    Nov 2006
    Location
    Austria
    Posts
    1,020
    Mentioned
    5 Post(s)
    Tagged
    0 Thread(s)
    please take care that this feature isnt supported by every android device

  3. #3
    Clicker Fusion 2.5 (Steam)Fusion 2.5 Developer (Steam)Android Export Module (Steam)
    CG_action's Avatar
    Join Date
    Sep 2014
    Location
    Minsk
    Posts
    109
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    also does not work((

    mobile - ZTE garand era

  4. #4
    Clickteam Clickteam
    Fernando's Avatar
    Join Date
    Dec 2006
    Posts
    6,051
    Mentioned
    131 Post(s)
    Tagged
    3 Thread(s)
    btw did you try publicstorage with "Pictures"


    LOL answering old post.
    Regards,


    Fernando Vivolo

    ... new things are coming ...

  5. #5
    Clicker Fusion 2.5 DeveloperAndroid Export ModuleiOS Export ModuleSWF Export ModuleInstall Creator ProPatch Maker

    Join Date
    Jun 2006
    Location
    Norway
    Posts
    528
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    What do you mean exactly, Fernando? How do I do that?
    I'm currently using this expression from the example: Save screenshot to file: PublicStorageDirectory( "Android object", "Pictures" ) + "/" + "myScreenCapture.jpg"

    I've got an Samsung YP-G70CW. I'm following the share example, but the screenshot won't store on my device.
    I've released an app with this feature in anyway. If anyone has time to test if they can share an image to twitter I'd be super thankful!
    https://play.google.com/store/apps/d...kandroid&hl=en

  6. #6
    Clickteam Clickteam
    Fernando's Avatar
    Join Date
    Dec 2006
    Posts
    6,051
    Mentioned
    131 Post(s)
    Tagged
    3 Thread(s)
    ok, the correction was against the word: image

    so there is no crash actually and no save the screen.

    this is a samsung young right, mm actually is working with an ace 4 weird.
    Regards,


    Fernando Vivolo

    ... new things are coming ...

  7. #7
    Clicker Fusion 2.5 DeveloperAndroid Export ModuleiOS Export ModuleSWF Export ModuleInstall Creator ProPatch Maker

    Join Date
    Jun 2006
    Location
    Norway
    Posts
    528
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    I think it goes by "Galaxy S WiFi5". It's some old thing that comes with the Samsung TV.
    http://www.gsmarena.com/samsung_gala...i_5_0-3838.php

    I've tried this expression as well, doesn't work:
    PublicStorageDirectory( "Android object", "Image" ) + "/" + "myScreenCapture.jpg"

    Are you saying that you are able to share a screenshot of your score from my game to twitter, with your device?
    It's OK that it doesn't work on all devices, I just like to know if I am doing the code right or not.

  8. #8
    Clickteam Clickteam
    Fernando's Avatar
    Join Date
    Dec 2006
    Posts
    6,051
    Mentioned
    131 Post(s)
    Tagged
    3 Thread(s)
    no, i try your game and get stuck in calibration
    Regards,


    Fernando Vivolo

    ... new things are coming ...

  9. #9
    Clicker Fusion 2.5 DeveloperAndroid Export ModuleiOS Export ModuleSWF Export ModuleInstall Creator ProPatch Maker

    Join Date
    Jun 2006
    Location
    Norway
    Posts
    528
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Hehe yeah, try placing the device flat on your table and tap and hold to calibrate.

  10. #10
    Clickteam Clickteam
    Fernando's Avatar
    Join Date
    Dec 2006
    Posts
    6,051
    Mentioned
    131 Post(s)
    Tagged
    3 Thread(s)
    Regards,


    Fernando Vivolo

    ... new things are coming ...

Page 1 of 2 1 2 LastLast

Similar Threads

  1. "Object A is not overlapping Object B" event not working correctly.
    By animdude in forum iOS Export Module 2.5
    Replies: 10
    Last Post: 2nd February 2018, 06:20 PM
  2. Center Display not working with "Window Object"
    By EdibleWare in forum Multimedia Fusion 2 - Technical Support
    Replies: 0
    Last Post: 16th July 2013, 11:07 PM
  3. Surface Object: Take "screenshot" of section on screen
    By Bipolar_Games in forum Multimedia Fusion 2 - Technical Support
    Replies: 6
    Last Post: 4th March 2013, 05:24 PM
  4. [BUG RC1] ScreenHeight("Android object") is not actual screen height
    By Bipolar_Games in forum Android Export Module Version 2.0
    Replies: 0
    Last Post: 11th October 2012, 06:56 PM
  5. Issues with "Clickteam Movement Controller" and "Runtime" Object
    By jimmyorpheus in forum iOS Export Module Version 2.0
    Replies: 1
    Last Post: 29th November 2011, 07:10 AM

Posting Permissions

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