Active Picture and Android Camera problem

Welcome to our brand new Clickteam Community Hub! We hope you will enjoy using the new features, which we will be further expanding in the coming months.

A few features including Passport are unavailable initially whilst we monitor stability of the new platform, we hope to bring these online very soon. Small issues will crop up following the import from our old system, including some message formatting, translation accuracy and other things.

Thank you for your patience whilst we've worked on this and we look forward to more exciting community developments soon!

Clickteam.
  • As many of you know. You can use the Android Camera to take a picture then see that picture in Fusion using the Active Picture object by getting the path from the Android Camera Object.

    What I noticed today using this tried and true method is the Active picture no longer shows the Image to the Camera object's Picture Dimensions.

    Taking a Portrait image made the image show up as Landscape.
    Taking a Landscape image made the Image show up as Portrait.

    Currently I have the Active Picture object on screen in a Horizontal Position at 620x360 so that when you snap a picture in portrait mode, the photo shows up in Portrait 360x620 style.

    I have never noticed this prior to 294.14

    Obviously prior if you had any sized Active picture with Fast Resize. Any picture you took fit that size.
    Now not only does it not resize it. It actually does the opposite style of picture ( Landscape or Portrait ) and will flip the active picture to the opposite of the picture you took.

    Am I missing something? Not sure why this is happening as it never happened before.
    I.E. Active picture is set to 10w X 10T and however you snapped a picture would fit inside of the 10x10 block size ( PRIOR to 294.14 )

    Thanks in advance.

  • need a small MFA to see what you are doing, also, which device you use and how you take the images in portrait or landscape.

    Regards,


    Fernando Vivolo

    ... new things are coming ...

  • need a small MFA to see what you are doing, also, which device you use and how you take the images in portrait or landscape.


    Currently using this on the following devices:
    1) Samsung Galaxy S22 Ultra
    2) Samsung Galaxy S10 Verizon
    3) LG Stylo 5
    4) Moto G4

    Was never an issue before and is not an issue with Windows if you use ( New Picture from Selector ) option.
    Just Android and just when you use the Path from the Camera to load a new picture automatically after you return from taking a picture.

    Issue is Resizing kind of works, but flips the image automatically from Horizontal to Vertical.
    If you take a Portrait image the Active picture will flip 90 degrees and show horizontal. = Active picture is setup for Portrait
    If you take a Landscape it will flip 90 degrees to Vertical. = Active Picture is Setup for Landscape

    Currently ( Quick fix ) I have the Active picture setup for Horizontal as the app requires a Portrait image.
    So when users snap a portrait image the Active picture shows a Portrait image. However in the Editor the Active image is setup for Landscape dimensions.

    I made 3 different ways to resize in the .mfa below. Also included is a .apk

    .MFA Link: Please login to see this link.

    Video of Glitch: [video]Please login to see this media element.]

    Thank you.

    Edited 4 times, last by VBEinc (October 10, 2023 at 2:18 PM).

  • Quote

    Issue is Resizing kind of works, but flips the image automatically from Horizontal to Vertical.
    If you take a Portrait image the Active picture will flip 90 degrees and show horizontal. = Active picture is setup for Portrait
    If you take a Landscape it will flip 90 degrees to Vertical. = Active Picture is Setup for Landscape

    Please explain me more, with steps, what do you mean apo is set for portrait?, how do you take the picture in each case?

    Regards,


    Fernando Vivolo

    ... new things are coming ...

  • Please explain me more, with steps, what do you mean apo is set for portrait?, how do you take the picture in each case?

    ACTIVE WINDOW Size in Portrait
    I.E. Phone is Held to take a Portrait style picture then Active Picture is Scaled down in Portrait scaling.
    720 x 1280 phone resolution = 360 x 640 Active Picture Size in app.

    Issue is, if you take a picture holding the phone in portrait mode ( Not landscape ) Active picture flips the picture to Landscape when you return to the app.

    ( Above reply ) Has the .mfa you asked for and a .apk to test for yourself on your device.

    The .apk has 3 different modes to test.
    Portrait
    Landscape
    BOX

    Box works and scales the image to the shape, however Portrait and Landscape both Flip the image.
    It is almost like the code within the ACTIVE IMAGE Object is backwards on Android versus Windows.

    Prior, to 294.14. No issues! You could snap a picture however you wanted and Active picture would scale to the Active Picture Object's Size in app.

    Thanks

    Edited 4 times, last by VBEinc (October 10, 2023 at 8:19 PM).

  • i will check, but iirc windows doesn't consider the EXIF angle information.

    =================

    where are the flip actions, maybe I am doing something wrong with your mfa

    Regards,


    Fernando Vivolo

    ... new things are coming ...

    Edited once, last by Fernando (October 10, 2023 at 10:09 PM).

  • i will check, but iirc windows doesn't consider the EXIF angle information.

    =================

    where are the flip actions, maybe I am doing something wrong with your mfa

    I am not flipping it. There is no Flip actions.
    The flip is happening in the app on Android only. Please watch the video as it shows what happens.
    On Android only, the Active picture is flipping the image on it's own.

    Thanks

  • i will check, but iirc windows doesn't consider the EXIF angle information.

    =================

    where are the flip actions, maybe I am doing something wrong with your mfa

    No, using the .mfa on the PC causes no issues.
    Building a .apk or .aab is where you will see the issue on your device.

    If you take a portrait image, on Android it will flip the Active Picture to Landscape, even though there is no events in the .mfa to cause that flip.

  • No, using the .mfa on the PC causes no issues.
    Building a .apk or .aab is where you will see the issue on your device.

    If you take a portrait image, on Android it will flip the Active Picture to Landscape, even though there is no events in the .mfa to cause that flip.

    Yes this is related on how the device is natural defined, portrait or landscape, I need to do some code changes and i will put this on my to-do list.

    Regards,


    Fernando Vivolo

    ... new things are coming ...

  • I finish with these changes, now images are rotated according the EXIF prior to be a texture, so no need or any kind of rotation. Please find me in Discord if you want to test this change.


    Well, the new object works with the new runtime but the new runtime is effecting other objects.
    So, I just reverted back to 294.14 then to 298.8.
    This brought everything back to working again with the glitch the active picture object had.
    Thank you for your help, but I'd rather deal with the way I made the glitch work then to redo the entire app trying to figure which other objects are now effected enough to crash the new android runtime.
    Google has gotten on my last nerve, so whatever they change in the next hour. No longer concerns me.
    I have no problem not making another app for google again.
    Beats the weekly," You need to change everything about your apps to meet the latest google runtime" nonsense.

    Thanks again for your time. Maybe someone else whom still wants to do Google's bidding will work with you to figure out the various objects that could be effected by the latest Runtime version.

    Edited 3 times, last by VBEinc (October 27, 2023 at 5:07 AM).

Participate now!

Don’t have an account yet? Register yourself now and be a part of our community!