facebook

How to save screenshots from App

  1. MyEclipse IDE
  2.  > 
  3. Mobile Tooling
Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #353710 Reply

    EmilioZorzi
    Participant

    Hello,
    can anyone help me?
    I have to take a screen shot of my app, save it to the photo roll and set it as a “lock screen”.
    In conclusion: I would like to do what I can do manually, with one command inside the app.
    We have this opportunity?

    Thank You

    Emilio

    #353713 Reply

    Hi,

    I know there is a screen shot plugin that can be used but have not tested it myself so I can’t offer any clue to how well it works or the functionality that it offers.

    https://build.phonegap.com/plugins/1055

    #353717 Reply

    EmilioZorzi
    Participant

    Hello,
    I used the plugin but when I send a Phonegap I find this error.
    Thank You

    [/url]

    #353718 Reply

    I was able to build for Android and iOS, both local and remotely with the plugin added.

    For the local build I installed the git repo listed on the page: https://github.com/gitawego/cordova-screenshot.git

    For remote I added the recommended line to the config file:
    <gap:plugin name=”com.darktalker.cordova.screenshot” version=”0.1.0″ />

    I did not run any tests using the plugin though.

    #353724 Reply

    EmilioZorzi
    Participant

    Thanks Brandon,
    I followed your instructions and the screenshot is saved within the app.
    How can I save in the photo film now?
    You have a suggestion? Or I have not done everything correctly?

    Thanks for your help

    Emilio

    #353728 Reply

    Hi,

    I have not worked with the plugin, but off the top of my head if you have the path of the file you could use the File Transfer API and pass that path as a download, since downloaded images are saved into the camera roll this should basically copy it over.

    Another choice is to contact the developer of the plugin as see if they have plans or a an easier way. I have noticed some third party plugins have features built in that are not documented.

    Thanks,

Viewing 6 posts - 1 through 6 (of 6 total)
Reply To: How to save screenshots from App

You must be logged in to post in the forum log in