Hello,
I am about to build an app for android, its not a game, but, a graphical app, will be viewing pages with graphical elements inside, like circles, texts, images, etc ..
So, there will be two parts for the project:
- The re-usable part, this will be the haxe code that is related directly to the core functionality of the app, this will be re-usable in other targeted platforms, its not platform related, but it will be compiled for each targeted platform.
- The platform related part, and this is what I need to ask about.
Shall I start an android project in Eclipse, and put the reusable part above inside it as a lib? is this a recommended way? if so:
- Can I compile the NME project (re-usable part) to an android lib? is this possible? or shall I compile to java code, and build the library from the resulted java code?
- How would app activities communicate with my android targeted lib that was generated with NME project?
- How would my android targeted lib communicate with methods inside activities?
The other approach is to build the project totally in haxe, using haxe UI libs like YAHUI and StablexUI, if this is the recommended approach:
- How would I communicate with android related logic (ex: entities, services ..) ??
I hope I can get support from others who already built android apps with haxe.
Thanks