On 24/04/14 15:50, Mattias Gaertner wrote:
On Thu, 24 Apr 2014 15:48:15 +0300
patspiper <patspi...@gmail.com> wrote:

Hi,

With the successful preliminary implementation of java events calling
pascal code, my next step is to try to integrate android's visual
controls. Can anyone give a very basic example using pascal/JNI only
(even pseudo code) on how to create and display an android control from
scratch? In other words, what are the steps needed?

To make an analogy, creating a Lazarus button requires these basic steps
to make a button visible:
- Create the button object (TButton.Create)
- Set its owner (button.Owner := form)
The Owner is only needed for streaming.

The thought never occurred to me as setting the owner is as almost like breathing. You just don't think about it :)

Stephano
_______________________________________________
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal

Reply via email to