Author Topic: Starting new app by using AppDemo1 as base then renaming classname fails  (Read 1652 times)

Robert Gilland

  • Full Member
  • ***
  • Posts: 159
I copy AppDemo1.

  gApp.Title:= 'My Android Bridges Library';
  gjAppName:= 'com.example.appdemo1';{AndroidWidget.pas}
  gjClassName:= 'com/example/appdemo1/Controls';{AndroidWidget.pas}

Then change gjAppName and gjClassName to and com/mytest/app/Controls

causes app to crash.

I just want to use AppDemo1 as a startApp, and interchange one unit at a time, until I have a working app, and I cannot get past this point.


  • Hero Member
  • *****
  • Posts: 1987

You can create a new project and then import LAMW stuff (forms) from others app or demos...

Go to menu "Tools" --> "[LAMW]...." --> "Use/Import LAMW Stuff"

Then select some unit to be replaced for the new one....
Lamw: Lazarus Android Module Wizard


TinyPortal © 2005-2018