Lazarus

Programming => Operating Systems => Android => Topic started by: DanielTimelord on May 10, 2019, 11:20:56 pm

Title: LAMW Manager
Post by: DanielTimelord on May 10, 2019, 11:20:56 pm
LAMW Manager
   version 0.3.0 

"A  installer  to  generate Lazarus IDE [and all equirements!] ready to develop for Android!"

(I) LAMW4Linux-installer

   A complete installer and manager of LAMW for Linux
      ref. https://github.com/DanielOliveiraSouza/LAMW4Linux-installer

   1) Download [and unzip]:
      https://github.com/DanielOliveiraSouza/LAMW4Linux-installer/archive/master.zip

   2) Install LAzarus + LAMW and all dependencies:

      Go to directory lamw_manager and run:
         ./lamw_manager
   
   3) Install LAzarus + LAMW and dependencies and Run Android  GUI SDK Manager

      Go to directory lamw_manager and run:      
         ./lamw_manager --sdkmanager

   4) Update LAMW framework from github   [warning: close the Lazarus IDE]
      Go to directory lamw_manager and run:
         ./lamw_manager --update_lamw


   Important Note:
      Always launcher  Lazarus IDE using the icon LAMW4Linux on Start Menu.
   
      For more info read "LAMW Manager v0.3.0 Manual"
              https://github.com/DanielOliveiraSouza/LAMW4Linux-installer/blob/master/lamw_manager/docs/man.md

(II) LAMW4Windows-installer

   A complete installer and manager of LAMW for Windows
      ref https://github.com/DanielOliveiraSouza/LAMW4Windows-installer

   1) Download "lamw_manager_setup.exe" here:

      https://raw.githubusercontent.com/DanielTimelord/Laz4LAMW-win-installer/master/lamw_manager/lamw_manager_setup.exe

      [Optional]
      https://github.com/DanielOliveiraSouza/LAMW4Windows-installer/archive/master.zip

   2) Install Laz4Android + LAMW and all dependencies:
   
          Double-click "lamw_manager_setup.exe"

          [Optional]
          Go to folder C:\lamw_manager
          Right-click "lamw_manager.bat" and "Run as administrator"

   3) Update LAMW from github [warning: close the Lazarus IDE]
       
      Go to folder C:\lamw_manager
          Right-click "lamw_manager.bat" and "Run as administrator"

   Important Note:
      Always launcher  Lazarus IDE using the icon LAMW4Windows on Start Menu.

      For more info read "LAMW Manager v0.3.0 Manual"
              https://github.com/DanielOliveiraSouza/LAMW4Windows-installer/blob/master/lamw_manager/docs/man.md
 (https://github.com/DanielOliveiraSouza/LAMW4Windows-installer/blob/master/lamw_manager/docs/man.md)

Congratulations!!

   You are now a Lazarus for Android developer!
      Building Android application with LAMW is RAD!

Have fun!
Title: Re: LAMW Manager
Post by: nouzi on May 11, 2019, 12:15:02 am
Thank for all nice job
Title: Re: LAMW Manager
Post by: jmpessoa on May 11, 2019, 06:40:37 pm
Hi, DanielTimelord!

You solved a central problem to reach the goal of taking the lazarus programming for android  a possibility for all!

LAMW Manager is "LAMW for the masses"!

Thanks for your great job!
Title: Re: LAMW Manager
Post by: WayneSherman on May 20, 2019, 02:19:01 am
      Go to directory lamw_manager and run:
         ./lamw_manager

Thanks for your work on this.  I tested on a Xubuntu 16.04.  lamw_manager runs to completion, but when I launch Lazarus, I get several error messages of "Package file not found".  Example attached.
Title: Re: LAMW Manager
Post by: Saylo_49 on May 20, 2019, 03:10:53 am
Hello
Is it possible to create a self contained installation of (LAMW+Laz4android) on Windows
to not corrupt my current lazarus windows-targeting installation
Title: Re: LAMW Manager
Post by: jmpessoa on May 20, 2019, 03:30:51 am

Hi, Saylo_49!

Yes!

The section

"(II) LAMW4Windows-installer"  above is just about  fresh  "LAMW+Laz4android" install...
Title: Re: LAMW Manager
Post by: Saylo_49 on May 20, 2019, 03:35:42 am
Hi, jmpessoa

can you show me how to create a self contained installation

P.s: I have already the Android SDK tools and platforms installed
Title: Re: LAMW Manager
Post by: jmpessoa on May 20, 2019, 03:46:09 am
Quote
can you show me how to create a self contained installation...

A monolithic "bundle"?  No,  but "lamw_manager_setup.exe"  will take care of all install process...

   https://raw.githubusercontent.com/DanielTimelord/Laz4LAMW-win-installer/master/lamw_manager/lamw_manager_setup.exe

alternatively, you can try the original/ordinary LAMW "how to":

https://github.com/jmpessoa/lazandroidmodulewizard/blob/master/LAMW%20Getting%20Started.txt
Title: Re: LAMW Manager
Post by: jmpessoa on May 20, 2019, 04:47:13 am

Hi,  WayneSherman!

You can try

./lamw_manager   

again! 

so, "lamw_manager" will try auto-repair your system ....

otherwise: 

./lamw_manager --reset

[from  ./lamw_manager --help ]

will do a new "clean up" install....
Title: Re: LAMW Manager
Post by: WayneSherman on May 20, 2019, 09:02:15 pm

...try ./lamw_manager again
so, "lamw_manager" will try auto-repair your system ....

otherwise:  ./lamw_manager --reset
will do a new "clean up" install....

Thanks for the suggestions.  I tried both, but had the same problem.  The LAMW Lazarus packages are not installed.
Title: Re: LAMW Manager
Post by: DanielTimelord on May 20, 2019, 10:04:32 pm
Hi, Mr. Wayne,

What version [tag] of Lamw_Manager did you use?
Title: Re: LAMW Manager
Post by: WayneSherman on May 21, 2019, 12:13:41 am
What version of LAMW did you use?

The installer didn't ask to choose a version.  Assuming lamw_manager downloads LAMW trunk from GIT then it was the latest version since I tried a couple hours ago.
My first attempt was on May 19 which had the same result.  I tested with both Xubuntu 16.04 and 18.04 with same result.

Thanks
Title: Re: LAMW Manager
Post by: DanielTimelord on May 21, 2019, 12:42:17 am
What version of LAMW did you use?

The installer didn't ask to choose a version.  Assuming lamw_manager downloads LAMW trunk from GIT then it was the latest version since I tried a couple hours ago.
My first attempt was on May 19 which had the same result.  I tested with both Xubuntu 16.04 and 18.04 with same result.

Thanks
Wayne, have you started applying the LAMW 4Linux launcher (start menu)?
I just ran ./lamw_manager on a virtual machine (virgin) with ubuntu 16.04 and it ran normally!
Title: Re: LAMW Manager
Post by: WayneSherman on May 21, 2019, 01:35:43 am
Wayne, have you started applying the LAMW 4Linux launcher (start menu)?

That was the problem.  I wasn't launching it correctly.  I saw the lamw4linux symlink in the lazarus folder (which points directly to the lazarus binary) and it doesn't launch correctly.  But after searching in my program menu, I found the LAMW4Linux launcher which starts Lazarus without any errors. (sorry I didn't read your instructions carefully  :-[ ) Thank you for your help.
Title: Re: LAMW Manager
Post by: PeterEvans on May 21, 2019, 01:59:12 am
How does the LAMW Manager work under the hood?
There is the third party tool Fpcupdeluxe which "It will ease the install of FPC and Lazarus.".

Does LAMW Manager do everything Fpcupdeluxe does plus do the Android side of things as well?

Is it possible to use Fpcupdeluxe, which has been tried and tested over more than two years, and then  run LAMW Manager?

Is that even a viable option?

I just need to clarify how LAMW manager is intended to be used.
Title: Re: LAMW Manager
Post by: DanielTimelord on May 21, 2019, 03:17:29 am
How does the LAMW Manager work under the hood?
There is the third party tool Fpcupdeluxe which "It will ease the install of FPC and Lazarus.".

Does LAMW Manager do everything Fpcupdeluxe does plus do the Android side of things as well?

Is it possible to use Fpcupdeluxe, which has been tried and tested over more than two years, and then  run LAMW Manager?

Is that even a viable option?

I just need to clarify how LAMW manager is intended to be used.
Hello PeterEvans,
LAMW Manager performs all the installation and configuration of a complete and functional LAMW environment (including the Android APIs)
It is not necessary to use FPCupdeluxe! LAMW Manager performs all the service while you drink coffee! Just download LAMW Manager and run the ./lamw_manager
Good luck!
Title: Re: LAMW Manager
Post by: PeterEvans on May 22, 2019, 06:33:30 am
Hello DanielTimelord,

Let us say that I have used Fpcupdeluxe to install Lazarus etc.

Can I now  run LAMW Manager without it affecting Lazarus?
Title: Re: LAMW Manager
Post by: DonAlfredo on May 22, 2019, 07:01:54 am
Fpcupdeluxe should make an isolated install of FPC and Lazarus in a directory of your preference. No system path are added or changed.

So I guess you can use (one or) both methods to install a programming environment to cross-compile towards Android. The choice is yours.
Title: Re: LAMW Manager
Post by: DanielTimelord on May 22, 2019, 06:33:04 pm
Hello DanielTimelord,

Let us say that I have used Fpcupdeluxe to install Lazarus etc.

Can I now  run LAMW Manager without it affecting Lazarus?
The development environment created by LAMW Manager does not affect previously installed Lazarus IDEs. Lazarus installed by FPCupdeluxe will not be affected.
Title: Re: LAMW Manager
Post by: PeterEvans on May 23, 2019, 02:11:04 am
Hello DanielTimelord,
That is very good news.
Title: Re:LAMW Manager
Post by: DanielTimelord on August 01, 2019, 08:01:29 am
LAMW Manager v0.3.1-devel (for Linux) now supports AARCH64-Android

    1) Download [and unzip]:
https://github.com/DanielOliveiraSouza/LAMW4Linux-installer/archive/0.3.1-devel.zip

    2) Install LAzarus + LAMW and all dependencies
:

       Go to directory lamw_manager and run:
          ./lamw_manager


If you want a clean install (or in case of failure) run:
2) ./lamw_manager --reset

Note:

1) First Boot (after upgrading LAMW Manager from v0.3.0 to v0.3.1-devel)

click on "Update-Info" on the first boot of the Lazarus IDE and then click on "Upgrade"

Ready!
Now you have a LAMW environment (on Linux) ready to develop on Android 32 and 64 bit!
Title: Re: LAMW Manager
Post by: jmpessoa on August 02, 2019, 04:36:22 am

Hello, Daniel!!

Thank you very much!!!
Title: Re: LAMW Manager
Post by: xinyiman on August 02, 2019, 08:37:39 am
Hello Daniel! Yesterday evening I used your LAMW Manager on Ubuntu 19.04 (64 bit). And run correctly.

Thank you in next day test on windows.
Title: Re: LAMW Manager
Post by: Manlio on August 02, 2019, 10:27:22 am
Does it (64-bit) also work for Windows? And if not, can we expect that to be implemented at some point?
Title: Re: LAMW Manager
Post by: DanielTimelord on August 02, 2019, 07:35:09 pm
Does it (64-bit) also work for Windows? And if not, can we expect that to be implemented at some point?
There is no implementation on Windows yet, as it depends on external factors. No release forecast yet at this time.
Title: Re: LAMW Manager
Post by: DanielTimelord on August 10, 2019, 08:48:31 pm
The 0.3.1-devel branch (LAMW Manager with AARCH64 support) is stable and was merged into master (trunk) on 08/06/2019. Please download LAMW Manager from the Master branch.

LAMW Manager (for Linux)
   version 0.3.1

"A  installer  to  generate Lazarus IDE [and all equirements!] ready to develop for Android!"

(I) LAMW4Linux-installer

   A complete installer and manager of LAMW for Linux
      ref. https://github.com/DanielOliveiraSouza/LAMW4Linux-installer

   1) Download [and unzip]:
      https://github.com/DanielOliveiraSouza/LAMW4Linux-installer/archive/master.zip

   2) Install LAzarus + LAMW and all dependencies:

      Go to directory lamw_manager and run:
         ./lamw_manager
Title: Re: LAMW Manager
Post by: DanielTimelord on August 20, 2019, 11:56:57 pm
LAMW Manager v.0.3.2 (to Linux) has has been released with important fixes for FPC and Lazarus.
  For information on new features and bug fixes read the Release Notes https://github.com/DanielOliveiraSouza/LAMW4Linux-installer/blob/master/lamw_manager/docs/release_notes.md (https://github.com/DanielOliveiraSouza/LAMW4Linux-installer/blob/master/lamw_manager/docs/release_notes.md)
Title: Re: LAMW Manager
Post by: jmpessoa on August 23, 2019, 02:25:18 am

Nice work!

Thank you!
Title: Re: LAMW Manager
Post by: DanielTimelord on November 27, 2019, 05:43:39 am
LAMW Manager v0.3.3 (for Linux) has been Released!

For information on new features and bug fixes read the Release Notes: https://github.com/DanielOliveiraSouza/LAMW4Linux-installer/blob/master/lamw_manager/docs/release_notes.md#v033---november-26-2019 (https://github.com/DanielOliveiraSouza/LAMW4Linux-installer/blob/master/lamw_manager/docs/release_notes.md#v033---november-26-2019)

This version include a new Installer Procedure : read   tutorial in: https://drive.google.com/open?id=1B6fvTgJ-W7OS7I4mGCZ4sH0U3GqyAeUg (https://drive.google.com/open?id=1B6fvTgJ-W7OS7I4mGCZ4sH0U3GqyAeUg) ,fixs and update tools.

Notes:
Remember to read the docs:
README: https://github.com/DanielOliveiraSouza/LAMW4Linux-installer/blob/master/README.md (https://github.com/DanielOliveiraSouza/LAMW4Linux-installer/blob/master/README.md)
Title: Re: LAMW Manager
Post by: jmpessoa on December 09, 2019, 04:50:26 pm

Great!!!!

Thank you!
Title: Re: LAMW Manager
Post by: josh on January 18, 2020, 02:13:56 am
Hi

Thought I would try playing around with Android, and this windows util looks interesting.

However it seems to install everything to the C Drive.

Can this be changed as my C drive is a 250GB M.2 drive, and I wish to keep this for windows OS.

I have 1TB SSD that I wish to install it on.

It would be ideal if it created a 'sandboxed' install of everything in a Drive and Folder of My Choosing.

Thanks in advance.

ps. I started the Installer before I realized, so what folders does it create in C Drive; so I can remove them.
Found it created a folder with application in called chocolatey; which I have removed.

Title: Re: LAMW Manager
Post by: DanielTimelord on January 18, 2020, 08:53:07 pm
Hello,
I'm sorry, this functionality isn't not  yet available,try manual install (good luck) : https://github.com/jmpessoa/lazandroidmodulewizard/blob/master/LAMW_Getting_Started.txt (https://github.com/jmpessoa/lazandroidmodulewizard/blob/master/LAMW_Getting_Started.txt).Maybe will be implemented in release future.
The command (run as admin) c:\lamw_manager\lamw_mananager.bat uninstall uninstall LAMW enviroment. (it's in the official LAMW Manager Docs)
Follow this steps:
One: get the uninstall.ps1.zip and unzip (as attchment)
Two: open powershell as admin:
three: run command: powershell.exe Set-ExecutionPolicy Bypass
four: go to unzipped folder. (sample cd: $env:homepath\Downloads)
five: run command  .\uninstall.ps1

Note: chocolatey is a package manager, part essential to this tool to work.
Title: Re: LAMW Manager
Post by: DanielTimelord on March 10, 2020, 01:27:51 pm
LAMW Manager v0.3.4 (Linux Only) has been Released!

For information on new features and bug fixes read the Release Notes: https://github.com/DanielOliveiraSouza/LAMW4Linux-installer/blob/v0.3.4/lamw_manager/docs/release_notes.md#v034---march-10-2020
 (https://github.com/DanielOliveiraSouza/LAMW4Linux-installer/blob/v0.3.4/lamw_manager/docs/release_notes.md#v034---march-10-2020)

Warning: Users of v0.3.3 should migrate as soon as possible to version v0.3.4!

Notes:
Remember to read the docs:
README: https://github.com/DanielOliveiraSouza/LAMW4Linux-installer/blob/master/README.md
Title: Re: LAMW Manager
Post by: DanielTimelord on March 25, 2020, 07:36:53 am
LAMW Manager v0.3.1 (Windows) has been Released!

For information on new features and bug fixes read the Release Notes:
https://github.com/DanielOliveiraSouza/LAMW4Windows-installer/blob/master/lamw_manager/docs/releases_notes.md#v031---march-25-2020 (https://github.com/DanielOliveiraSouza/LAMW4Windows-installer/blob/master/lamw_manager/docs/releases_notes.md#v031---march-25-20)

Notes:
Remember to read the docs:
README: https://github.com/DanielOliveiraSouza/LAMW4Windows-installer/blob/master/README.md
Title: Re: LAMW Manager
Post by: DanielTimelord on May 23, 2020, 06:42:27 pm
LAMW Manager v0.3.4 - R1 (to Linux) has has been released with important fixes.

  For information on new features and bug fixes read the Release Notes: https://github.com/DanielOliveiraSouza/LAMW4Linux-installer/blob/v0.3.4/lamw_manager/docs/release_notes.md#v034---r1---may-20-2020 (https://github.com/DanielOliveiraSouza/LAMW4Linux-installer/blob/v0.3.4/lamw_manager/docs/release_notes.md#v034---r1---may-20-2020)

Notes:
Remember to read the docs:
README: https://github.com/DanielOliveiraSouza/LAMW4Linux-installer/blob/master/README.md (https://github.com/DanielOliveiraSouza/LAMW4Linux-installer/blob/master/README.md)
Title: Re: LAMW Manager
Post by: kqha on May 25, 2020, 08:47:18 am
LAMW Manager
   version 0.3.0 

"A  installer  to  generate Lazarus IDE [and all equirements!] ready to develop for Android!"

(I) LAMW4Linux-installer

   A complete installer and manager of LAMW for Linux
      ref. https://github.com/DanielOliveiraSouza/LAMW4Linux-installer

   1) Download [and unzip]:
      https://github.com/DanielOliveiraSouza/LAMW4Linux-installer/archive/master.zip

   2) Install LAzarus + LAMW and all dependencies:

      Go to directory lamw_manager and run:
         ./lamw_manager
   
   3) Install LAzarus + LAMW and dependencies and Run Android  GUI SDK Manager

      Go to directory lamw_manager and run:      
         ./lamw_manager --sdkmanager

   4) Update LAMW framework from github   [warning: close the Lazarus IDE]
      Go to directory lamw_manager and run:
         ./lamw_manager --update_lamw


   Important Note:

      Always launcher  Lazarus IDE using the icon LAMW4Linux on Start Menu.


   For more info read "LAMW Manager v0.3.0 Manual"
        https://github.com/DanielOliveiraSouza/LAMW4Linux-installer/blob/master/lamw_manager/docs/man.md

(II) LAMW4Windows-installer

   A complete installer and manager of LAMW for Windows
      ref https://github.com/DanielOliveiraSouza/LAMW4Windows-installer

   1) Download "lamw_manager_setup.exe" here:

      https://raw.githubusercontent.com/DanielTimelord/Laz4LAMW-win-installer/master/lamw_manager/lamw_manager_setup.exe

      [Optional]
      https://github.com/DanielOliveiraSouza/LAMW4Windows-installer/archive/master.zip

   2) Install Laz4Android + LAMW and all dependencies:
   
          Double-click "lamw_manager_setup.exe"

          [Optional]
          Go to folder C:\lamw_manager
          Right-click "lamw_manager.bat" and "Run as administrator"

   3) Update LAMW from github [warning: close the Lazarus IDE]
       
      Go to folder C:\lamw_manager
          Right-click "lamw_manager.bat" and "Run as administrator"

   Important Note:
      Always launcher  Lazarus IDE using the icon LAMW4Windows on Start Menu.


Congratulations!!

   You are now a Lazarus for Android developer!
      Building Android application with LAMW is RAD!

Have fun!

I don't know where I did wrong, but running preinstall.bat in lamw_manager always fail in msys2 install. It just run to 4-5% progress and failed. I don't think it's a network connectivity issue since my connection runs just fine, I even try to download and install msys2 manually into C:\tools\msys2 but apparently msys2 setup must be processed through lamw_manager script(s) because manual msys2 installation is not recognized even though I install it into c:\tools\msys2

One thing that you should mention though, that "C:\tools" folder will be deleted during install/reinstall. I peek somewhere in your script that it completely deleted that folder. You should at least make it a warning in readme or popup message. "C:\tools" folder IMO is a pretty generic name, and for my case I used same folder before to put all my portable apps, and I lost them all because of it. You can also modify the script to purge only the folder that supposed to be created by lamw_manager instead of purging entire C:\tools
Title: Re: LAMW Manager
Post by: DanielTimelord on May 25, 2020, 09:59:31 pm
So sorry!
Error: delete C:\tools has been fixed!
LAMW Manager uses  chocolatey package manager (https://chocolatey.org)  that
install in c:\tools\msys32 or c:\ tools\msys64.

In next release, this method of install has been descontinued and the msys2 will be installed in lamw_manager folder!
Title: Re: LAMW Manager
Post by: amartitegui on June 13, 2020, 01:12:20 pm
Hi, I just tried LAMW manager. In Windows.
Install fails when (in cmd) gets to :
start compiling package utils-fpcm for target i386-win32
It stays foreverr at that point.
See copy of the point where it stays "forever" or at least more than 90 minutes:
Start compiling package utils for target i386-win32.
       Compiling BuildUnit_utils.pp
       Compiling usubst.pp
       Compiling ptopu.pp
       Compiling ptop.pp
       Linking bin\i386-win32\ptop.exe
       Compiling ppdep.pp
       Linking bin\i386-win32\ppdep.exe
       Compiling rstconv.pp
       Linking bin\i386-win32\rstconv.exe
       Compiling data2inc.pp
       Linking bin\i386-win32\data2inc.exe
       Compiling delp.pp
       Linking bin\i386-win32\delp.exe
       Compiling bin2obj.pp
       Linking bin\i386-win32\bin2obj.exe
       Compiling mkinsadd.pp
       Linking bin\i386-win32\mkinsadd.exe
       Compiling postw32.pp
       Linking bin\i386-win32\postw32.exe
       Compiling rmcvsdir.pp
       Linking bin\i386-win32\rmcvsdir.exe
       Compiling fpcsubst.pp
       Linking bin\i386-win32\fpcsubst.exe
[  5%] Compiled package utils
[ 10%] Skipped package utils-dxegen which has been disabled for target i386-win32
Start compiling package utils-fpcm for target i386-win32.
                                                                                                                     
Any suggestions?
Thanks, and good job.                                                               
Title: Re: LAMW Manager
Post by: DanielTimelord on July 19, 2020, 06:42:03 pm
This error is not related to LAMW Manager, but to the windows command prompt. The "Quick Edition" mode pauses the screen to copy the content to the clipboard.
Press enter and the process will continue ...
Disable "quick edition" in the cmd / powershell settings.
Read more in:
https://stackoverflow.com/questions/13599822/command-prompt-gets-stuck-and-continues-on-enter-key-press (https://stackoverflow.com/questions/13599822/command-prompt-gets-stuck-and-continues-on-enter-key-press)
Title: Re: LAMW Manager
Post by: DanielTimelord on July 19, 2020, 06:45:46 pm
LAMW Manager - Linux v0.3.5 Released

LAMW Manager v0.3.5 (to Linux) has has been released with important fixes for FPC and Lazarus.
  For information on new features and bug fixes read the Release Notes https://github.com/DanielOliveiraSouza/LAMW4Linux-installer/blob/master/lamw_manager/docs/release_notes.md (https://github.com/DanielOliveiraSouza/LAMW4Linux-installer/blob/master/lamw_manager/docs/release_notes.md)

Notes:
Remember the official LAMW Manager (to Linux) documentation is only on https://github.com/danieloliveirasouza/lamw4linux-installer (https://github.com/danieloliveirasouza/lamw4linux-installer)

README: https://github.com/DanielOliveiraSouza/LAMW4Linux-installer/blob/master/README.md (https://github.com/DanielOliveiraSouza/LAMW4Linux-installer/blob/master/README.md)
Manual:https://github.com/DanielOliveiraSouza/LAMW4Linux-installer/blob/master/lamw_manager/docs/man.md (https://github.com/DanielOliveiraSouza/LAMW4Linux-installer/blob/master/lamw_manager/docs/man.md)

Title: Re: LAMW Manager
Post by: mdalacu on July 19, 2020, 11:49:31 pm
I have installed in Ubuntu Mate 20.04 and it is working great!!!
First time creating a test project pascal for Android. Fun! I need to see how layout works in app.. :-[
Thanks!
Title: Re: LAMW Manager
Post by: jmpessoa on July 20, 2020, 01:27:18 am

from LAMW "docs":

Quote
[FAQ 2]: [Thanks to Ahmad Bohloolbandi (a.k.a. @developing) ]

#Question: How do we can design a layout that shown same in real device?

[Answer]: You should use the component properties:

      "Anchor",
      "PosRelativeToParent",
      "PosRelativeToAnchor",
      "LayoutParamHeight",
      "LayoutParamWhidth"
         
Example:

1-Put a "jTextView" component on your AndroidModule form:

   Set "PosRelativeToParent"
      "rpCenterHorizontal" [True]
      "rpTop" [True]

2-Put a "jButton" component on AndroidModule form:

   Set "Anchor" to "jTextView" (Because you should set position relative with "jTextView")
   set "PosRelativeToAnchor"
      "raBelow" [True]

3-Put a "jEditText" component on form:

   Set "Anchor" to "jButton".
   Set "PosRelativeToAnchor"
      "raBelow" [True]

NOTE:    Anchor setting is most important section of this design,
   because your component position depends on this property.
   And for change width and/or height of each components you should
   change/configure "LayoutParamWhidth" and/or "LayoutParamHeight".
Title: Re: LAMW Manager
Post by: DanielTimelord on August 08, 2020, 06:19:42 pm
LAMW Manager - Linux v0.3.5 -R1 Released

LAMW Manager v0.3.5 R1 (to Linux) has has been released with important fixes.
  For information on new features and bug fixes read the Release Notes https://github.com/DanielOliveiraSouza/LAMW4Linux-installer/blob/master/lamw_manager/docs/release_notes.md#v035--r1--august-6-2020 (https://github.com/DanielOliveiraSouza/LAMW4Linux-installer/blob/master/lamw_manager/docs/release_notes.md#v035--r1--august-6-2020)

Users should update the tool as soon as possible!

Notes:
Remember the official LAMW Manager (to Linux) documentation is only on https://github.com/danieloliveirasouza/lamw4linux-installer (https://github.com/danieloliveirasouza/lamw4linux-installer)

README: https://github.com/DanielOliveiraSouza/LAMW4Linux-installer/blob/master/README.md (https://github.com/DanielOliveiraSouza/LAMW4Linux-installer/blob/master/README.md)
Manual:https://github.com/DanielOliveiraSouza/LAMW4Linux-installer/blob/master/lamw_manager/docs/man.md (https://github.com/DanielOliveiraSouza/LAMW4Linux-installer/blob/master/lamw_manager/docs/man.md)
Title: Re: LAMW Manager.
Post by: DanielTimelord on August 08, 2020, 06:24:00 pm
LAMW Manager v0.3.1 Fixes 06/08/2020 (Windows) has been Released! with important fixes!

For information on new features and bug fixes read the Release Notes:
https://github.com/DanielOliveiraSouza/LAMW4Windows-installer/blob/master/lamw_manager/docs/releases_notes.md#v031-fixes---august-6-2020 (https://github.com/DanielOliveiraSouza/LAMW4Windows-installer/blob/master/lamw_manager/docs/releases_notes.md#v031-fixes---august-6-2020)

Users should update the tool as soon as possible!

Notes:
Remember to read the docs:
README: https://github.com/DanielOliveiraSouza/LAMW4Windows-installer/blob/master/README.md
TinyPortal © 2005-2018