9
Views
1
Comments
[Camera Plugin] Issues with Camera Capture, PackageHistory Add Button, and Navigation in Mobile App
camera-plugin
Mobile icon
Forge asset by OutSystems
Service Studio Version
11.55.40 (Build 64353)
Platform Version
11.38.0 (Build 45971)

Hi everyone,

I’m building a Reactive Web App where:

  • The user can take a photo using the Camera Plugin (TakePicture action).

  • The photo is then converted to Base64 and sent to Google Cloud Vision API for detection.

  • The results are displayed and also stored in a PackageHistory UI, where the user can add/view past captures.

So far, I managed to set up the Google Vision API integration and I can send images to it successfully.

  1. Camera Action / Base64 Conversion

    • I created local variables LocalImageBinary (Binary Data) and CapturedImageBase64 in TakePictureOnClick (Text).

    • When I try to assign CapturedImageBase64 = BinaryData.BinaryToBase64(LocalImageBinary), I keep getting syntax or “unknown function” errors.

    • Sometimes TakePicture.MediaResult.Thumbnail is not recognized, even though I dragged the TakePicture action into my flow.

  2. Feature Not Implemented (Navigation / Add Button)

    • On my Products screen and PackageHistory screen, when I add a button and run the app, I get this error:

      Feature not implemented: Create a new action or navigate to another screen

    • I want the button to either:

      • Trigger my TakePictureOnClick client action, OR

      • Navigate to another screen (e.g., PackageHistoryDetail).

    • But I can’t get it working.

  3. PackageHistory Add Button

    • I want to have an “Add” button in my PackageHistory screen where users can add the captured photo + detection results into the history list.

    • Right now I’m not sure how to properly bind the data so that new items get stored and displayed.

    • Any advice on fixing the TakePicture + Base64 assignment, the navigation error, or setting up the PackageHistory Add button would be a huge help 🙏 

UserImage.jpg
Silly Tisao

This is the oml file.

PackageSorterApp.oml
Community GuidelinesBe kind and respectful, give credit to the original source of content, and search for duplicates before posting.