I’m trying to use Enterprise to include a 3rd party library into my app, but I can’t even get the most basic things working. I’m probably misunderstanding how this works, but the documentation doesn’t help me one bit. This is for Android only, so I’ll limit my questions to Android.
First question: How do I connect things from Java to the Corona app I already have when running on the simulator? I mean, even running the included samples doesn’t seem to work as expected. The CustomErrorHandler sample complaints about a missing ‘callNonExistingFunction’ which makes sense to me as it doesn’t seem to be anything with that name on the java files. Do I have to build and install on a device every time I want to test if my code is working? That seems ridiculous.
Second question: debugging. How to do it? The most useful function for doing it on a standard Corona app is print(), and the equivalent on Android seems to be System.out.println(). I tried modifying the CoronaApplication.java file of my application to do some prints during init, loading main.lua, etc and nothing happens. No prints.
Third question: How would an application running on the simulator even know what the package name of my app is and so know where to look for the files to begin with? It probably doesn’t even know if it’s supposed to be an Android or iOS app. [import]uid: 61899 topic_id: 34210 reply_id: 334210[/import]