Lazarus

Programming => Operating Systems => Android => Topic started by: Fantablup on June 20, 2021, 07:53:13 pm

Title: Is there any new development for Android in Lazarus?
Post by: Fantablup on June 20, 2021, 07:53:13 pm
Just wonder...

Is there any improvements going on in Lazarus when it comes to develop for Android in Lazarus?

I feel that now, it is not good enough.
Want to use treeviews and TSringgrid.
Title: Re: Is there any new development for Android in Lazarus?
Post by: lucamar on June 20, 2021, 08:07:00 pm
There has been quite a lot of updates and fixes in LAMW, almost weekly ones for some time now. Maybe not show-stoppers but important nevertheless. And IIRC there has been quite a few updates to Laz4Android, though not as many as with LAMW.

All in all, I think Lazarus/FPC is already a very valid tool for Android development; witness, this "bragging" thread (https://forum.lazarus.freepascal.org/index.php/topic,54678.0.html), for example ;D
Title: Re: Is there any new development for Android in Lazarus?
Post by: Fantablup on June 20, 2021, 08:09:23 pm
Thanks Lucamar :)

I will look at it.

I just wondered, because i just wanted to test it for the first time.
Title: Re: Is there any new development for Android in Lazarus?
Post by: rsu333 on June 21, 2021, 03:40:44 pm
Study of LAMW for last five year clearly indicate that it improving day by day than
any other platform ,and it still easy to use as well as free.
I am always thankful to LAMW.
In future hope it will wise alternative to studio.
Title: Re: Is there any new development for Android in Lazarus?
Post by: loaded on June 21, 2021, 05:08:51 pm
In future hope it will wise alternative to studio.

Don't see it as an alternative to Studio. ;D
See it as two halves of a whole.
Because ;
Studio and LAMW are a legendary duo that complement each other.
Title: Re: Is there any new development for Android in Lazarus?
Post by: Fantablup on June 21, 2021, 08:09:40 pm
All in all, I think Lazarus/FPC is already a very valid tool for Android development; witness, this "bragging" thread (https://forum.lazarus.freepascal.org/index.php/topic,54678.0.html), for example ;D

I looked at it.
The design on every app that is in the showcase is just crap compared to ordinary Android apps.
Just have to be 100% honest here ;D
Title: Re: Is there any new development for Android in Lazarus?
Post by: jmpessoa on June 21, 2021, 08:44:36 pm
Quote
The design on every app that is in the showcase.....

But,  You can explore  "modern" design using material themes ....

There are some demos:

AppCompatCollapsingToolbarDemo1
AppCompatContinuousScrollableImageViewDemo1
AppCompatFloatingButtonDemo1
AppCompatNavigationDrawerDemo1
AppCompatNavigationDrawerDemo2
AppCompatRecyclerViewDemo1
AppCompatRecyclerViewDemo2
AppCompatTabLayoutDemo1
AppCompatTabLayoutDemo2
AppCompatViewPagerDemo1
.....
Title: Re: Is there any new development for Android in Lazarus?
Post by: Fantablup on June 21, 2021, 08:53:32 pm
But why are all these apps so bad in design? Don't they use this?

I would never ever use Android apps that looks as bad as these.

Just wonder why apps is created this way. It's a waste of time.

When i see designs like this, i get kind of angry :P
Title: Re: Is there any new development for Android in Lazarus?
Post by: jmpessoa on June 21, 2021, 09:17:51 pm

Well,

If you can create nice android app....

We can all learn from you!

Welcome!
Title: Re: Is there any new development for Android in Lazarus?
Post by: Fantablup on June 21, 2021, 09:22:34 pm
It's not about if i can create nice apps.

It's about the standard look.

These apps just don't look like the standard for any Android app.

I think it's more about the component design in Lazarus when it is ported to android.

Nothing about the users developing in Lazarus, but rather the standard in components.
Title: Re: Is there any new development for Android in Lazarus?
Post by: Fantablup on June 21, 2021, 09:24:55 pm
Look at Flutter.

Just use any widgets, and it is created with super nice design easily.

Just an example.
Title: Re: Is there any new development for Android in Lazarus?
Post by: jmpessoa on June 21, 2021, 09:33:04 pm

Quote
I think ...

Thinking is free ....

you can think anything... even wrong...

What about some practice?
Title: Re: Is there any new development for Android in Lazarus?
Post by: Fantablup on June 21, 2021, 09:37:30 pm
Well...

Another word then. See or look or watch.  :)

When ported to Android, the standard components does not look any good as standard Android design.
Title: Re: Is there any new development for Android in Lazarus?
Post by: jmpessoa on June 21, 2021, 09:49:29 pm
Quote
When ported to Android, the standard components does not look any good as standard Android design.

No. LAMW is not standard components ported to Android .... LAMW is PURE android/java components!

The pascal code is just a wrapper to java android framework.... and you can see the java code being used

in any project created with LAMW and you can even open your project in Android Studio....




Title: Re: Is there any new development for Android in Lazarus?
Post by: Fantablup on June 21, 2021, 09:53:16 pm
Then something is missing to be any good for developing with it.

Because it just looks like 90's design.

This could not be done with Flutter for instance.

It just look bad.

Title: Re: Is there any new development for Android in Lazarus?
Post by: jmpessoa on June 21, 2021, 10:00:39 pm
Quote
Then something is missing to be any good for developing with it.

practice, practice, practice.... someone already wrote:

"the practice is the criterion of truth"

Go on!!!!


Obviously you will find limitations....

LAMW is a project in development and few (but valuable) people have contributed.....

Maybe you can help us! 
Title: Re: Is there any new development for Android in Lazarus?
Post by: Fantablup on June 21, 2021, 10:09:27 pm
It's a great project. I know it's in development stage.

I just say what i see. And i see the apps in the showcase is not showing any good design for Android and for end users.
It was also said in the showcase that without material design it will not be any Youtube videos of the samples. So the creator of the apps know the design was not good for any video showcase i guess.

Then it is a waste time to create a showcase if it is already known that it is not good enough. This is just marketing as a bad product, even if it is good.
This makes users stay away from it.

I don't know if it is the user that have created the apps, or if it is other things.

I just tell what i see.

I have no time to contribute other that good or bad constructive critics.
Title: Re: Is there any new development for Android in Lazarus?
Post by: loaded on June 21, 2021, 10:16:53 pm
If design is your problem, even if it's a little troublesome, LAMW has a solution for that too;
With the NoGUI template, you can Design your Project in Android Studio and your important codes in Lazarus+LAMW.
A study I made with this method has now become much more functional.
https://youtu.be/J58jgWBupzY (https://youtu.be/J58jgWBupzY)
Sometimes it is necessary to go from the specific to the general, something that is very insignificant to you may be very important to others. That's why ;
It would be unfair to compare a small team working with great effort and software with high budget and support.
Title: Re: Is there any new development for Android in Lazarus?
Post by: Fantablup on June 21, 2021, 10:21:00 pm
I'm just telling what i see.

Design and feel is very important to the end users.
It is half of the product.
Title: Re: Is there any new development for Android in Lazarus?
Post by: engkin on June 21, 2021, 10:27:12 pm
No, you are just being rude.
Title: Re: Is there any new development for Android in Lazarus?
Post by: Fantablup on June 21, 2021, 10:30:40 pm
no..

I wish i could give beers to everyone that create anything for Lazarus.
They all do a great job.
Title: Re: Is there any new development for Android in Lazarus?
Post by: jmpessoa on June 21, 2021, 10:34:51 pm
Thanks to @loaded  the "NoGUI" template (other LAMW app model....)

now can show the intensive use of pure FreePascal RTL/FCL library under pure Android Studio GUI....


But there are, yet, two usual areas that "GUI" LAMW is still little explored by users (apps developers):   

Material Design (AppCompat themes)  and pure FreePascal FCL library....
Title: Re: Is there any new development for Android in Lazarus?
Post by: Fantablup on June 21, 2021, 10:38:17 pm
I will look more into the material stuff.
Sorry for if i have affended anyone. It has not been what i intended.

It's just that it looked like the 90's :)
Title: Re: Is there any new development for Android in Lazarus?
Post by: Fantablup on June 21, 2021, 10:47:12 pm
I recommend creating apps for Youtube showcase that uses this material stuff.

Then it will show how nice it can be.

I guess if it's good, it will gain allot of interest from new users.
Title: Re: Is there any new development for Android in Lazarus?
Post by: jmpessoa on June 21, 2021, 10:53:31 pm
Quote
It's just that it looked like the 90's....

Yes you're right.... we are all children of the 90's desktop Apps.....

And even today we think about porting our applications to Android in the same way and with the same components
(that often do not exist or are inadequate in the mobile world)....

And  LAMW(just a tool) suffer from these habits....

But surely we will evolve as "mobile" developers!

Welcome to this old new world!

Title: Re: Is there any new development for Android in Lazarus?
Post by: Fantablup on June 21, 2021, 10:58:41 pm
Yes you're right.... we are all children of the 90's desktop Apps.....

Hehe :)

Only that it's not the 90's anymore  ;D
Title: Re: Is there any new development for Android in Lazarus?
Post by: Mongkey on June 22, 2021, 10:12:13 am
I'm just telling what i see.

Design and feel is very important to the end users.
It is half of the product.

Ha ha, it depends on your creativity, if you r creative enough LAMW is a great tools for building modern apps.  :P

Android 11, real drum clone, built using LAMW  ;D
Title: Re: Is there any new development for Android in Lazarus?
Post by: Guser979 on July 03, 2021, 10:10:39 pm
From the little I've explored so far, I realized that LAMW requires a minimum of developer skill and a minimum of effort to get the desired result. It is recommended to explore the tool before any conclusion. LAMW opens the door to the use of creativity. I can't wait to dedicate more time. So far I can confirm its invaluable value as a tool in my job. It allowed me to integrate desktop and mobile with perfect results and quickly. If you know free pascal and want mobile apps, LAMW is a must. The rest (including design) depends on creativity, a minimum of personal effort and some free time.


I forgot to thank jmpessoa and the few but valuable LAMW developers. You present us with a fantastic tool capable of countless possibilities. It only depends on each one to explore. Grateful for your time dedicated to this.
Title: Re: Is there any new development for Android in Lazarus?
Post by: rsu333 on July 04, 2021, 08:28:41 am
I am totally agree with opinion of guser979.Guser you have told it correctly
what we want to  express .
LAMW has open door ,rest depend on creators skill.
TinyPortal © 2005-2018