[fpc-pascal] Android/JNI control example
patspiper
patspiper at gmail.com
Thu Apr 24 14:48:15 CEST 2014
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)
- Set its parent (button.Parent := form)
Stephano
More information about the fpc-pascal
mailing list