User Tag List

Page 1 of 4 1 2 3 ... LastLast
Results 1 to 10 of 33

Thread: ANDROID CAMERA DISPLAYED IN APP * Finally figured a way to do it *

  1. #1
    Clicker Fusion 2.5 DeveloperAndroid Export ModuleiOS Export Module
    VBEinc's Avatar
    Join Date
    Oct 2015
    Posts
    1,025
    Mentioned
    12 Post(s)
    Tagged
    0 Thread(s)

    ANDROID CAMERA DISPLAYED IN APP * Finally figured a way to do it *

    For years I have been asking for an object to Have the Android Camera appear in our mmf2.5 dev apps, to no avail.
    For years I have searched this forum for any clue to make it work.
    As Android changed, so did permissions and such. Which ended up making it even harder to figure out a way to do it.

    Well, fellow Clickers. I have found a way to do this. It is a Odd and round about way, but it works flawlessly.

    HOW TO IMPLEMENT A CAMERA DISPLAY INTO YOUR APPS:

    1) You need a URL with Camera Abilities for Android. You can use this one I made for everyone to test with. CAMERA

    2) Use WEBVIEW 2 for your Display Screen in app

    3) Use the ANDROID CAMERA to trigger the Permission needed to use your Camera in your device you are testing on ( Make sure you have the Camera Permission set in your runtime )

    4) Direct WEBVIEW 2 to the url I provided I.E. Start of Frame, Click a button, etc...


    That's about it

    Now just compile your app and run it.

    Below is a sample implemented with buttons and such.



    Hope this helps you out!!!

  2. #2
    Clicker Fusion 2.5 DeveloperAndroid Export ModuleiOS Export Module
    VBEinc's Avatar
    Join Date
    Oct 2015
    Posts
    1,025
    Mentioned
    12 Post(s)
    Tagged
    0 Thread(s)
    Making your own Webpage work for Camera options.

    Your Webpage must be HTTPS compliant with google.
    This will allow HTML Android Camera code to run.

    I have not yet added record features. I am thinking to trigger a screen record function next via a Webpage. Stay tuned...

  3. #3
    Clicker Fusion 2.5 (Steam)Fusion 2.5 Developer (Steam)Fusion 2.5+ DLC (Steam)Android Export Module (Steam)HTML5 Export Module (Steam)iOS Export Module (Steam)Universal Windows Platform Export Module (Steam)

    Join Date
    May 2017
    Location
    Nantes
    Posts
    246
    Mentioned
    12 Post(s)
    Tagged
    0 Thread(s)
    nice work, thanks for sharing

  4. #4
    Clicker Fusion 2.5 DeveloperAndroid Export ModuleiOS Export Module
    VBEinc's Avatar
    Join Date
    Oct 2015
    Posts
    1,025
    Mentioned
    12 Post(s)
    Tagged
    0 Thread(s)
    You're Welcome and Thank you.

  5. #5
    Clicker Fusion 2.5 (Steam)Fusion 2.5 Developer (Steam)Android Export Module (Steam)HTML5 Export Module (Steam)iOS Export Module (Steam)Universal Windows Platform Export Module (Steam)
    Lecherbault's Avatar
    Join Date
    Jul 2016
    Posts
    208
    Mentioned
    9 Post(s)
    Tagged
    0 Thread(s)
    Hi
    I tried to get it to work, but it didn't.
    I can see the elements of the GYRO but no camera ...
    Is there anything that I forgot?
    Thanks
    Alain

  6. #6
    Clicker Fusion 2.5 DeveloperAndroid Export ModuleiOS Export Module
    VBEinc's Avatar
    Join Date
    Oct 2015
    Posts
    1,025
    Mentioned
    12 Post(s)
    Tagged
    0 Thread(s)
    Not sure as I would need an .mfa Example to see.
    Maybe Google changed something again. Ugh...

    Seems to still work on my latest LG device though.

  7. #7
    Clicker Fusion 2.5 DeveloperAndroid Export ModuleiOS Export Module
    VBEinc's Avatar
    Join Date
    Oct 2015
    Posts
    1,025
    Mentioned
    12 Post(s)
    Tagged
    0 Thread(s)
    YUP, Android 10+ Nothing. Android 9 and Prior, still works. Google,why do you constantly make Android worse then it was?

  8. #8
    Clicker Fusion 2.5 DeveloperAndroid Export ModuleiOS Export Module
    VBEinc's Avatar
    Join Date
    Oct 2015
    Posts
    1,025
    Mentioned
    12 Post(s)
    Tagged
    0 Thread(s)
    Crazy part is if I render this with the Latest Fusion and the Latest Android. Nothing. If I Render it with an older Fusion and a older Android. Success!
    Now here is where it gets interesting. If I render it with the latest Fusion and the older android code, that has recently been downloaded. Still doesn't work.

    Something tells me the Older Android downloaded now has been fiddled with from Google to prevent old ways of doing things from happening.

  9. #9
    Clicker Fusion 2.5 DeveloperAndroid Export ModuleiOS Export Module
    VBEinc's Avatar
    Join Date
    Oct 2015
    Posts
    1,025
    Mentioned
    12 Post(s)
    Tagged
    0 Thread(s)
    Anyone Create a Display surface for the Android camera for Fusion yet?
    As stated, I was able to do this for awhile using the WEBVIEW2 Object, until Google changed things yet again.
    So I assume, it wouldn't be that big of a problem to do considering it was already done with extensions already available.

    Thanks in advance!

  10. #10
    Clicker Fusion 2.5
    Gigatron's Avatar
    Join Date
    Jun 2020
    Location
    France
    Posts
    349
    Mentioned
    3 Post(s)
    Tagged
    0 Thread(s)
    Quote Originally Posted by VBEinc View Post
    Anyone Create a Display surface for the Android camera for Fusion yet?
    As stated, I was able to do this for awhile using the WEBVIEW2 Object, until Google changed things yet again.
    So I assume, it wouldn't be that big of a problem to do considering it was already done with extensions already available.

    Thanks in advance!
    Hi,

    This is my internal test camerafx application for android. It use Gl surface to texture and use camera ;
    First of all try to build if it's working for you here it's working nice on Galaxy 21; Waiting for Galaxy 24 to test it

    After copying file on Extensions/Unicode for Acamerafx.mfx file
    And copy Data\Runtime\Android Acamerafx.zip

    Open Fusion and create android poject, insert Acamerafx object ; do nothing with events

    Build options are API 32 , minimum version 4.4 , Target version 12.

    Use opengl2 option , orientation portait...
    Keep Package name to : com.yourcompany.yourapplication

    ** And tell me if it's working.... for you

    Extension:
    Attached files Attached files

Page 1 of 4 1 2 3 ... LastLast

Similar Threads

  1. Finally, first Android game live
    By Tiny in forum Android Released Games & Apps
    Replies: 1
    Last Post: 4th August 2020, 03:44 PM
  2. Dungeon of Minos finally Released! (android & IOS) (FREE & NoADS)
    By soomeeon in forum iOS Released Games & Apps
    Replies: 2
    Last Post: 22nd April 2018, 08:33 AM
  3. Replies: 2
    Last Post: 7th February 2016, 04:22 PM
  4. Finally figured out pathfinding! (with example)
    By rdifuria in forum Fusion 2.5
    Replies: 1
    Last Post: 2nd December 2015, 05:43 AM
  5. anyone figured out object selection?
    By Mook06 in forum Multimedia Fusion 2 - Technical Support
    Replies: 1
    Last Post: 18th December 2013, 06:11 PM

Posting Permissions

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