Hi All!
There is a MAJOR Android Module Wizard update!
Please, ref:
https://github.com/jmpessoa/lazandroidmodulewizardVersion 0.6 - 15 October 2014 -
1. NEW !!
-->> Android Widgets Fom Designer! //<<--- thanks to LiteZarus by x2nie!
form1 design :
https://jmpessoa.opendrive.com/files?Ml82NTQ0NDMxNl9CV292dg form1 Screen :
https://jmpessoa.opendrive.com/files?Ml82NTQ0NDM2OV9SUVJ1NA form2 design :
https://jmpessoa.opendrive.com/files?Ml82NTQ0Nzk5N19RbXFjVw form2 Screen :
https://jmpessoa.opendrive.com/files?Ml82NTQ0NzQ3NF9wMGhHcQ -->> Windows Users: Get LiteZarus4Android
[Lazarus 1.3 + x2nie patch [No LCLform design] +
TrueTom fpc 2.7.1 cross Arm/x86/android/]
:DOWNLOAD from:
https://onedrive.live.com/redir?resid=78D6F726E8F0C522%21236 [right click to download!]
:To Install, please, read the "LiteZarus4Android_readme.txt"
1. From LiteZarus4Android IDE - Install Wizard Packages
1.1 Package -> Open Package -> "tfpandroidbridge_pack.lpk" [Android Components Bridges!]
Ref. image:
https://www.opendrive.com/files?Ml8zNjMwNDQ3NF83SzhsZg 1.1.1 From Package Wizard
- Compile
- Use -> Install
1.2 Package -> Open Package -> "lazandroidwizardpack.lpk"
1.2.1 From Package Wizard
- Compile
- Use -> Install
HINT: to compile/install/reinstall a package in LiteZarus4Android,
please, open a "dummy" windows project....
you always MUST close the cross compile project!
-->> Linux Users: Get Lazarus 1.3 rev >= 45216,45217 ... and fpc 2.7.1 cross /arm/x86/android ... etc.
2. NEW !!
-->> AppTest1 [eclipse project] :: jPanel and form close/callback demo...
-->> AppTest2 [eclipse project]::Present direct/hack JNI access and a new component implementation
model "laz_and_jni_controls.pas" [not java wrapper at all!]
[--->> A suggestion and request by Stephano]
-->> All Apps Demos [Eclipse projects] was adjusted/updated !
-->> All project now support Ant "build.*" "intall.*" etc..
:warning: if needed change this files according to your system!
3. Guide line for "Old" Projects [Collateral Effects]
-->> Some TAndroidModule Form properties was supressed!
-->> Some jComponents properties was supressed!
Please, no panic! When prompt "Read error" [Unknown Property] just choice "Continue Loading" !
-->> Components conteiners behavior [jPanel e jScrollView] : remove and put [again] yours controls into them!
-->> Now adjust yours widgets, the concept continue the same:
.LayoutParamWidth/LayoutParamHeight
.Anchor
.PosRelativeToAnchor
.PosRelativeToParent
WARNING: android's "wildcards" [WrapContent and lpMatchParent] overlaps the design vision!
and more: if this properties values are achieved, the "Object Inspector" will "freeze"
this value! To "unfreeze" not just change by design, you will need
change the value in OI by hand to any other value, so it will adjust correctly!
-->> Add new "AndroidWidget" unit to uses clauses [*.dpr/*.pas]
4. How to use the Demos:
Change this information to correct one!
"C:\adt32\ndk7" -- just my system NDK path
"C:\adt32\eclipse\workspace" -- just my system eclipse workspace
1. Go to Lazarus IDE
->Project
->Project -> Option
->Path
change/modify paths according to your system ..
2. Open/edit the "controls.lpi" [...\jni], you can use Notepad like editor....
Modify some [piece] of path information
[C:\adt32\eclipse\workspace]
[C:\adt32\ndk7]
according to your system ..
3. For Ant users: Change/edit build.* , intall.* , unistall.*, logcat.* according to your system!
5.FIXs [BUGS]
-->> The form *.lfm parse now is OK !!!
-->> jListView bug fix[check/not checkd]
and new added properties: "HighLightSelectedItem" [True/False] and "HighLightSelectedItemColor"
Thanks to All!