Recent

Author Topic: New laz4android 1.7 !  (Read 10206 times)

truetom

  • Jr. Member
  • **
  • Posts: 73
    • http://sourceforge.net/projects/laz4android/
New laz4android 1.7 !
« on: November 20, 2016, 11:24:11 am »
Hello all,

New version laz4android1.7.0-FPC3.1.1 released.

You can download from here:
http://sourceforge.net/projects/laz4android/

Laz4Android is a Lazarus for Android Package.
Thanks the FreePascal team and the Lazarus team.
Now Laz4Android is only run on Windows.Sorry for this!

---------------------------------------------------------

Last update:2016-11-20
FPC: 3.1.1 trunk svn 34924 (win32/arm-android/i386-android/jvm-android)
Lazarus:1.7.0 trunk svn 53387
Android NDK: r10e (arm-linux-androideabi-4.9 + x86-4.9)

1.Since the fpc trunk fixed some android bugs,we updated too.
2.Update to Lazarus 1.7.0 trunk svn 53387 + FPC 3.1.1 trunk svn 34924 .

=========================================================
How to install Laz4Android?

1.You can download a installer file from here:
http://sourceforge.net/projects/laz4android/files/?source=navbar
- Double click the installer file
- Next , Next to finished.

---------------------------------------------------------
2.You can download a 7z compressed file from here:
http://sourceforge.net/projects/laz4android/files/?source=navbar
- Unzip 7z file to e.g.  c:\laz4android
- Please run build.bat (double click it), it will compile and build laz4android.

=========================================================

Thanks and best regards!
« Last Edit: November 20, 2016, 11:35:38 am by truetom »
laz4android : a Lazarus for Android Package.
http://sourceforge.net/projects/laz4android/

tk

  • Sr. Member
  • ****
  • Posts: 361
Re: New laz4android 1.7 !
« Reply #1 on: November 20, 2016, 11:41:05 am »
Hi truetom,

been using first Laz4Android 1.5 with LAMW and then both trunks of Lazarus 1.7 + FPC 3.1.1, managed with fpcupdeluxe.
I needed the FPC trunk because of the newest Android target related changes.

Is there some significant difference between Laz4Android 1.7 and these trunks now?

FYI:
I can use LAMW even with the trunks.
I've now sent a LAMW patch to jmpessoa that fixes some things for 1.7, eg. proper output capture for [LAMW] Build Android APK and Run.

truetom

  • Jr. Member
  • **
  • Posts: 73
    • http://sourceforge.net/projects/laz4android/
Re: New laz4android 1.7 !
« Reply #2 on: November 20, 2016, 12:03:07 pm »
Hi truetom,

been using first Laz4Android 1.5 with LAMW and then both trunks of Lazarus 1.7 + FPC 3.1.1, managed with fpcupdeluxe.
I needed the FPC trunk because of the newest Android target related changes.

Is there some significant difference between Laz4Android 1.7 and these trunks now?

FYI:
I can use LAMW even with the trunks.
I've now sent a LAMW patch to jmpessoa that fixes some things for 1.7, eg. proper output capture for [LAMW] Build Android APK and Run.

Hello tk!
laz4android is only a out of the box package for lazarus users.
the laz4anroid 1.7 is  the latest lazarus trunk + fpc trunk.

Thanks!
laz4android : a Lazarus for Android Package.
http://sourceforge.net/projects/laz4android/

tk

  • Sr. Member
  • ****
  • Posts: 361
Re: New laz4android 1.7 !
« Reply #3 on: November 20, 2016, 12:22:29 pm »
laz4android is only a out of the box package for lazarus users.

I see. It is definitely good for starters. Everything works out of the box.

tudi_x

  • Hero Member
  • *****
  • Posts: 532
Re: New laz4android 1.7 !
« Reply #4 on: November 20, 2016, 02:39:02 pm »
Please advise if everything in http://wiki.lazarus.freepascal.org/Android_tutorial is still valid with the only new referral to laz4android 1.7.

Thank you!
Lazarus 2.0.2 64b on Debian LXDE 10

kris

  • Jr. Member
  • **
  • Posts: 59
Re: New laz4android 1.7 !
« Reply #5 on: August 25, 2017, 10:40:53 am »
Also, is the wiki still applicable to Linux environment? Or is it now ONLY possible to create Android apps with Lazarus on Windows??

The wiki tutorial at: http://wiki.lazarus.freepascal.org/Android_tutorial
under the Linux chapter suddently has the subchapter called "Rebuild Lazarus IDE" which starts with this instruction: "Run ~\Android\lazarus", although nowhere in this tutorial (Linux chapter) it is explained how did the ~/Android/lazarus folder came to be or what does it contain. I could only be guessing it was maybe Lazarus source from SVN or Laz4Android package, but just guessing. And besides, Laz4Android supposedly ONLY works on WIndows now, so is there or is there not a way to follow the tutorial for Linux? Can I create Linux version of Laz4Android by myself? How?

jmpessoa

  • Hero Member
  • *****
  • Posts: 2296
Re: New laz4android 1.7 !
« Reply #6 on: August 26, 2017, 12:36:23 am »
Lamw: Lazarus Android Module Wizard
https://github.com/jmpessoa/lazandroidmodulewizard

Chronos

  • Full Member
  • ***
  • Posts: 240
    • PascalClassLibrary
Re: New laz4android 1.7 !
« Reply #7 on: August 29, 2017, 07:25:40 pm »
Also, is the wiki still applicable to Linux environment? Or is it now ONLY possible to create Android apps with Lazarus on Windows??

The wiki tutorial at: http://wiki.lazarus.freepascal.org/Android_tutorial
under the Linux chapter suddently has the subchapter called "Rebuild Lazarus IDE" which starts with this instruction: "Run ~\Android\lazarus", although nowhere in this tutorial (Linux chapter) it is explained how did the ~/Android/lazarus folder came to be or what does it contain. I could only be guessing it was maybe Lazarus source from SVN or Laz4Android package, but just guessing. And besides, Laz4Android supposedly ONLY works on WIndows now, so is there or is there not a way to follow the tutorial for Linux? Can I create Linux version of Laz4Android by myself? How?

In fact this page was original inserted as wiki page by me from one forum post of another user in hope that I can get some simple enough instructions to be able to create Android applications first on windows and then also on Linux. But main problem is that Android + Lazarus is still no go. Same was true tree years ago and still applies today. There are few complicated ways to setup kind of working environment but it is basically PITA. You can imagine how it should work. You should just install android cross-compile package with simple windows setup and everything should work out of the box. Just check Delphi where you can create Multi-Device application and select for which target you want to build your application. Yes, there is some complication with downloading Android SDK and related stuff but Delphi itself is just ready to use for Android. No need to compile latest development non-released version and to install some external extension which may not work and isn't native for Lazarus or FPC. It's just mess.

Back to wiki tutorial. I think even windows part is not up-to-date anymore. And I lost motivation thanks to too much obstacles in the way. Linux part is basically Windows part modified partially for Linux environment. I mainly use Xubuntu. So you can improve that tutorial with latest simplest approach to develop Android applications under Windows/Linux/OSX. I still need development environment to develop Android/iOS/Windows/Linux/OSX/Web applications and I didn't decided yet which one I should use. There are some cross-platform tools like Python, Java, C#, Node.js, Haxe and many more. But each has its own problems and limitations. There is possible to create android application even in Lua. So there are many possible solutions. I would rather prefer some clean strong typed language without virtual machine dependency and garbage collection. But coding in C#/.NET is pretty pleasant experience thanks to many language advanced features and syntactic sugar.

So please somebody revise android tutorial and make some easy all-in-one installer so we can create android apps without spending hours with configuration and recompilation of trunk Lazarus and FPC. We don't wont to recompile compiler and IDE. We just want to develop applications.

And yes, this is free & open source project where people devoting their own free time so we can't expect quality and short schedules. But it has to be much simple for new comers to create their first Android GUI application. Something similar like starting Delphi, hitting F9 and seeing running application with empty form.

Rodrigo Robles

  • New Member
  • *
  • Posts: 24
Re: New laz4android 1.7 !
« Reply #8 on: December 21, 2017, 05:15:29 pm »

So please somebody revise android tutorial and make some easy all-in-one installer so we can create android apps without spending hours with configuration and recompilation of trunk Lazarus and FPC. We don't wont to recompile compiler and IDE. We just want to develop applications.

And yes, this is free & open source project where people devoting their own free time so we can't expect quality and short schedules. But it has to be much simple for new comers to create their first Android GUI application. Something similar like starting Delphi, hitting F9 and seeing running application with empty form.

I've been working in free software projects for more than 10 years and even looking from far I can see that the problem is lack of resources (financial and manpower). And there is no miracle that can solve this kind of problem (except if you consider the possibility of some developer win the lottery  :D

As a user of FreePascal/Lazarus, I totally agree that the Android support should improve a lot. So, for the devs that define the priorities/roadmap of freepascal/lazarus, I suggest that the priority of android support be raised.

And at last I simply can't accept the lack of Linux support. FreePascal and Lazarus are Free Software projects. Develop versions for proprietary OS is acceptable, but develop only for proprietary OS is unacceptable.

 

TinyPortal © 2005-2018