Forum > Android

Starting new app by using AppDemo1 as base then renaming classname fails

(1/1)

Robert Gilland:
I copy AppDemo1.

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

Then change gjAppName and gjClassName to com.mytest.app 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.

jmpessoa:

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....

Navigation

[0] Message Index

Go to full version