Is it possible to access the local camera via java code to Android platform

:information_source: Attention Topic was automatically imported from the old Question2Answer platform.
:bust_in_silhouette: Asked By Kevin
:warning: Old Version Published before Godot 3 was released.

Hi ! Guys ,
I want to access android native camera by Godot, but it looks like has been not supported.
One day , I found some java codes at “godot/platform/android/java”, so I have an idea, may be I can create some java codes to access the native camera, and then called by Godot.
Is it possible ?

:bust_in_silhouette: Reply From: jospic

It’s possible creating an appropriate custom module

http://docs.godotengine.org/en/stable/reference/creating_android_modules.html

-j

I create android module as the tutorial,just change nothing, then get two files:android_debug.apk and android_release.apk.But when run as a empty project to my android phone, the screen shining with the Godot logo all the time, I don’t know why. so sad.

Kevin | 2016-11-30 19:10