Recent

Author Topic: [Closed] LazToApk 0.9.39 is available now.  (Read 11640 times)

turrican

  • Full Member
  • ***
  • Posts: 133
  • Pascal is my life.
    • Homepage
Re: LazToApk 0.9.39 is available now.
« Reply #15 on: December 18, 2017, 09:44:48 am »
Well, after some testing the original problem which made it  impossible to start the apps is solved. But the general state of  CustomDrawn controls for Android  does not look good at all. Slow screen refresh ... very unstable ... simple things like touch event on an image is not working...   

This requires quite some time to work on which I do not have right now.

Which framework customdrawn components are based on? Native JNI Android components?

kupferstecher

  • Hero Member
  • *****
  • Posts: 583
Re: LazToApk 0.9.39 is available now.
« Reply #16 on: December 18, 2017, 10:42:00 am »
According the Lazarus wiki:

http://wiki.freepascal.org/Custom_Drawn_Interface/Android#Architecture

Quote
LCL-CustomDrawn-Android utilizes a minimal Java application which communicates with our Pascal library and sends all events to it and also obeys commands from it. The communication is done via JNI as supported by Google. The controls are not native, instead they are all drawing using TRawImage+TLazIntfImage+TLazCanvas and events and the painting are clipped using LazRegions. The drawing itself is done in Pascal using jnigraphics to draw on a Bitmap Java object which is then drawn by the minimal Java activity on a SurfaceView.

turrican

  • Full Member
  • ***
  • Posts: 133
  • Pascal is my life.
    • Homepage
Re: LazToApk 0.9.39 is available now.
« Reply #17 on: December 18, 2017, 10:45:40 am »
Thank you very much! So the performance it's near to native Android components?

CC

  • Full Member
  • ***
  • Posts: 149
Re: LazToApk 0.9.39 is available now.
« Reply #18 on: December 18, 2017, 01:21:10 pm »
turrican

The screen generation is visibly slower - for my taste it is too slow. Maybe it can be optimized.

At its current state it seems to be far from production ready. I would say it is somewhere between alpha and beta stage. Lots of work has been done, all the foundations are there but it is not finished.


kupferstecher

  • Hero Member
  • *****
  • Posts: 583
Re: LazToApk 0.9.39 is available now.
« Reply #19 on: December 20, 2017, 10:44:26 pm »
Well, after some testing the original problem which made it  impossible to start the apps is solved.

Hello CC,

did you fix the problem in the official sources, or only locally? You said it was an Lazarus-IDE issue?

CC

  • Full Member
  • ***
  • Posts: 149
Re: LazToApk 0.9.39 is available now.
« Reply #20 on: December 21, 2017, 12:19:51 am »
There was a long standing issue which caused  that apps with custom drawn controls could not be started  on devices with Android 5+.  (More precisely they are  aborted while rendering the screen.)  For this I have a fix locally. 

Right now I have an important deadline, but I will send in the bug fix to the Lazarus team when time allows.

kupferstecher

  • Hero Member
  • *****
  • Posts: 583
Re: LazToApk 0.9.39 is available now.
« Reply #21 on: December 21, 2017, 01:32:18 pm »
OK, thats good. Perhaps you can notify us when you sent the fix.

Regards~

OldMan

  • New member
  • *
  • Posts: 7
  • Lazarus 1.2.4 r45510 FPC 2.6.4 i386
Re: LazToApk 0.9.39 is available now.
« Reply #22 on: April 19, 2018, 08:09:51 am »
Hello

I get an error during the download process.
What am I doing wrong?

Thank you for reading
OldMan

ramdhani

  • New member
  • *
  • Posts: 7
Re: LazToApk 0.9.39 is available now.
« Reply #23 on: December 21, 2018, 04:55:56 am »
How to connect LazToApk 0.9.39 with Nox App Player for Android development and debug?

dbannon

  • Hero Member
  • *****
  • Posts: 2778
    • tomboy-ng, a rewrite of the classic Tomboy
Re: LazToApk 0.9.39 is available now.
« Reply #24 on: December 21, 2018, 11:57:32 pm »
...
The documentation:
https://sourceforge.net/projects/laztoapk/files/Lazarus%20and%20Android.pdf/download

'The "/Lazarus and Android..arus and Android.pdf" file could not be found or is not available. Please select another file.'

Davo
Lazarus 2, Linux (and reluctantly Win10, OSX)
My Project - https://github.com/tomboy-notes/tomboy-ng and my github - https://github.com/davidbannon

lucamar

  • Hero Member
  • *****
  • Posts: 4219
Re: LazToApk 0.9.39 is available now.
« Reply #25 on: December 22, 2018, 12:15:51 am »
dbannon, you'll have to look inside the repository (folder ./doc/). There doesn't seem to be released docs (unless they are inside the install exe).
« Last Edit: December 22, 2018, 12:18:33 am by lucamar »
Turbo Pascal 3 CP/M - Amstrad PCW 8256 (512 KB !!!) :P
Lazarus/FPC 2.0.8/3.0.4 & 2.0.12/3.2.0 - 32/64 bits on:
(K|L|X)Ubuntu 12..18, Windows XP, 7, 10 and various DOSes.

DelphiFreak

  • Sr. Member
  • ****
  • Posts: 255
    • Fresh sound.
Re: LazToApk 0.9.39 is available now.
« Reply #26 on: December 31, 2018, 06:11:02 am »
Hello,

you "re-opened" an old post.
Please look at: http://forum.lazarus-ide.org/index.php/topic,42567.0.html

Thank you.
Linux Mint 20.3, Lazarus 2.3, Windows 10, Delphi 10.3 Rio, Delphi 11.1 Alexandria

 

TinyPortal © 2005-2018