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. > - Set its parent (button.Parent := form) Mattias _______________________________________________ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal