In AIR/AS3 Flex Mobile for Android project.
How can I capture an “image” of whats visible on the view
then just save that image as anything like jpg/pdf to the SD card?
Basically a screenshot on Android using AS3.
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Create the byte array using
JPEGEncoderand save this to Your sd card. In some case if the width and height of the target is not working, You can use thegetboundsmethod to get the bounds of the object and from the bounds take thewidthandheight.