This seems the most appropriate forum to ask this, as I’m feeling beyond “newbie” right now!
In a nutshell, since Corona doesn’t do camera preview as standard for Android (The fill method is iOS only) but the Android API does ( https://developer.android.com/guide/topics/media/camera#camera-preview ), I figured it’s time to learn Corona Native and re-learn Java…
I THINK I understand the general concept. Write native Android Java code, compile it as a .jar, and include that in as a regular plugin within a Lua project so that Lua can talk to Java methods and Java can do the native Android calls. Is that right?
Unfortunately it’s been a very, very long time since I did anything as native Android. Android Studio didn’t exist at the time (think I used Eclipse) and Gradle wasn’t a thing either.
Following https://docs.coronalabs.com/native/android/index.html I’ve installed Android Studio and copied the template folder. But beyond this, I’m lost. Google is just sending me around in circles and I’ve not yet even figured out how to rename the project in Android Studio, let alone where to start writing code.
Could somebody please point me in the direction of a suitable tutorial? If I can just get to a point where I’ve a Java class with a simple method that returns say, “hello world” to Lua, that would be brilliant.