Hey,
I have 2 apps: 1 main app and 1 service app. From time to time, the main app has to start the service from the second app. The activity from the second app may not become visible or pause the main app at any time.
The code below doesn't work when called from the main app. Any1 knows why and how to solve this?
Sub StartPictureService()
Dim pm As PackageManager
Dim in As Intent
in = pm.GetApplicationIntent("q2c.m4a.picapp/.PicService")
If in.IsInitialized Then
StartActivity(in)
End If
End Sub
Greetings,
Sigurd
I have 2 apps: 1 main app and 1 service app. From time to time, the main app has to start the service from the second app. The activity from the second app may not become visible or pause the main app at any time.
The code below doesn't work when called from the main app. Any1 knows why and how to solve this?
Sub StartPictureService()
Dim pm As PackageManager
Dim in As Intent
in = pm.GetApplicationIntent("q2c.m4a.picapp/.PicService")
If in.IsInitialized Then
StartActivity(in)
End If
End Sub
Greetings,
Sigurd