Uhm .. seems not to work.
I have added this in the Manifest
AddReceiverText(AppUpdate,
<intent-filter>
<action android:name="android.intent.action.PACKAGE_REPLACED" />
<data android:scheme="package" />
</intent-filter>)
Then I have created a service "AppUpdate" with the code:
Sub Service_Start (StartingIntent As Intent)
Log(StartingIntent.GetData)
StartActivity(Main)
StopService("")
End Sub
But nothing happens after the installation is completed
[EDIT]
I see the service is started, but the StartActivity(Main) does not have the effect os starting the app