Hi there!
There is a updated revision of "Android Module Wizard"
ref.
https://github.com/jmpessoa/lazandroidmodulewizardVersion 0.6 - rev. 11 - 03 January 2015 -
.Major Code Reorganization/Cleanup [Pascal and Java sides]:
.WARNIG! you need [must] upgrade your existing code/application!
Please, use the IDE "tools" -> "Android Module Wizard" -> "Upgrade Code Templates"
.Reducing the final size of "controls.so" [now less than half!!]
Typical example:
TAndroidModule1 = class(jForm)
jButton1: jButton;
jEditText1: jEditText;
jListView1: jListView;
jSpinner1: jSpinner;
jTextView1: jTextView;
procedure jButton1Click(Sender: TObject);
private
{private declarations}
public
{public declarations}
end;
..............................
Before [Typical example]:
controls.so --------- 2768 KB
After first code reorganization [Typical example]:
controls.so ---------- 1371 KB
Now [Typical example]:
controls.so ---------- 1206 KB [!!]
How it scale? The "AppDemo1" uses 14 forms and many, many components and code:
controls.so ---------- 1379 KB [Added only 14% !!]
FIX/NEW! jEditText
:: New! Added event property "OnChanged"
:: FIX/NEW! Event handles now is OK with help of the news methods
"DispatchOnChangeEvent" and "DispatchOnChangedEvent"!
:: FIX! InputTypeEx property now is ok!
NEW! Demo AppEditTextDemo1 [Eclipse Project...]
WARNIG! jEditText property name "LineMaxLength" changed to the correct "MaxTextLength" !
.Please, no panic! When prompt "Read error" [Unknown Property] just choice "Continue Loading"!
(simulates some component property change e save it!)
WARNIG! jImageView lost the property "IsBackgroundImage"
.Please, no panic! When prompt "Read error" [Unknown Property] just choice "Continue Loading"!
(Simulates some component property change e save it!)
.Just puts the jImageView "first" on jForm and set LayoutParams [H/W] to lpMatchParent
(Form Background Image is done!)
Thanks to All!