I am getting this error after compiling and running a test app. the code is small because i am trying to work out why something does not work in another program. anyway after install and pressing open i get the message 'The application test (process Test.one) has stopped unexpectedly. Please try again. Force close"
The code involved is this
I have re-booted the device but no change
i also commented out everything except the first line which i thought should allow it to work. ZIP.
So where am i going wrong ?
EDIT:
I changed the package name and label name and it started ok
However, The original problem remains
I see the Splash layout but the numpanel does not display. I know it is there because i positioned it partly over the splash and i see the dark outline of the panel but nothing else still
The code involved is this
B4X:
Sub Globals
Dim numPanel As Panel
Dim lblDescription As Label ' Displays for adding
Dim lblQty As Label ' Displays for adding
End Sub
Sub Activity_Create(FirstTime As Boolean)
Activity.LoadLayout("Splash1")
numPanel.Initialize("numPanel")
Activity.AddView(numPanel,400,330,420,180)
numPanel.LoadLayout("scr4")
Activity.AddMenuItem("Customers", "mnuCustomers")
Activity.AddMenuItem("Products", "mnuProducts")
Activity.OpenMenu
I have re-booted the device but no change
i also commented out everything except the first line which i thought should allow it to work. ZIP.
So where am i going wrong ?
EDIT:
I changed the package name and label name and it started ok
However, The original problem remains
I see the Splash layout but the numpanel does not display. I know it is there because i positioned it partly over the splash and i see the dark outline of the panel but nothing else still
Last edited: