Hi,
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:
and got:
Where I'm wrong here?
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?
Where I'm wrong here?
Last edited: