Hello again.
In my app, I am trying to launch a subactivity in another application, but without success.
The Package name is:
package="com.gooku.android.launcher"
the sub-activity name is:
com.gooku.android.rouge
It has no categories. Its also not a MAIN action.
The package and its activities is not located in my apps resources. Its a standalone app seperate from my app.
I am trying to pass three extras to the subactivity (In Java it would be done with Bundle() ) filename, filedir, lastpos.
I do not think I am far off, but I can not seem to get it to load that app, launch the sub-activity and pass those extras to it.
Here is my code:
Try
Dim Intent1 As Intent
Intent1.Initialize("","")
Intent1.SetComponent("com.gooku.android.launcher/.rouge")
Intent1.PutExtra("filename", "glaunch.exe")
Intent1.PutExtra("directory", File.DirRootExternal & "gooku")
Intent1.PutExtra("lastpos", "false")
StartActivity (Intent1)
Catch
ToastMessageShow ("Failed to launch app! Is it installed?", True)
End Try
I keep getting the failed to launch app message. Any idea's?