Hello,
I've just discovered LAMW and I try to code my first app. I ever know (a little bit) Lazarus and freepascal , even if I have not really used them for 5 ou 6 years.
I would like to make an app with two windows, not opened at the same time.
On the first "screen", I have a "button" (an Image) to launch the second screen.
The code I wrote is :
procedure TAndroidModule1.ImageView1Click(Sender: TObject);
var mod2 : TAndroidModule2;
begin
mod2.Create(Self);
mod2.Show;
mod2.Free;
end;
When I click on the Image, the app crashes. Sure I do something wrong, but what ?
I didn't find so much doc on these components, so help would be very appreciated.
Sorry for my poor english, I'm french

Thank you for advance,
Cyprien