U++ Forum - RDF feed
https://www.ultimatepp.org/forums/
android theide javac options
https://www.ultimatepp.org/forums/index.php?t=rview&goto=58339&th=11803#msg_58339
to manually specify additional options for javac.
Sometimes this is needed to compile sources properly(eg to support older phones,etc),
or for other things. This could be added somewhere after "<< -g:none" option.
It could be a simple support: eg if(fileexists(android-javac.txt))ReadOptionsAndPutInto-javac LineOptions.
Or: it could be added to theide somewhere where Android build method ui is specified.
I know that there are somewhere also external Script sample build file,
but i can't find it.
~~~~
Also, i don't think theide supports layouts for android,
but a simple support for this could potentionally also be added into SUniGuiCreator:
1) add compile-android.bat into tools folder
2) add proper files into android(snippets folder)
3) add sample demo of using those android snippets(also premade widgets scripts: buttons, edit, ...)
And voila - there would be a simple android layout support.
Output for compiling and jumping to potential c/c++ errors does work,
but for javac - i didn't test it yet.
Adding support for other langs/uiToolkits(eg python tkinter) is the same.]]>luoganda2022-05-01T07:30:45-00:00Re: android theide javac options
https://www.ultimatepp.org/forums/index.php?t=rview&goto=59253&th=11803#msg_59253
At the moment I do not see much value of adding this. Could you be more specify about compiler parameters you want to pass to Android builder? In the context of supporting old phones, everything is configurable through AndroidManifest.xml and uses-sdk statement:
As, you see minSdkVersion determine the target on which your application will work. It is also propagated to ndk, so you have consistency between Java code and native C/C++. If we make decision to support javac parameters it should be done through build method configuration. It is consistent with C/C++ builders.
For GUI programming it is not supported yet. Android Builder is just a first step. It translate our build system to Android one.