when I tried to start a service module, I've got an "ActivityNotFoundException", even though this activity exists definitely.
I inserted a service module named "TCPConnection", filled in some variables and code and then tried to start it in Main like this:
B4X:
Sub Activity_Create(FirstTime As Boolean)
' ...some other code
StartActivity(TCPConnection)
' the IDE colored the activity name in purple and auto-capitalized the first four chars, so I think the activity name should be right
End Sub
and got:
B4X:
android.content.ActivityNotFoundException: Unable to find explicit activity class {de.xyz.test/de.xyz.test.tcpconnection}; have you declared this activity in your AndroidManifest.xml?
Check if the AndroidManifest.xml file is read-only, adding modules in the designer will work, but if your manifest is read only it won't add the newly created activities to the XML.
Check if the AndroidManifest.xml file is read-only, adding modules in the designer will work, but if your manifest is read only it won't add the newly created activities to the XML.