Start a new topic

Main Activity

Main Activity


To whom it may concern:

I'm currently working on one of the samples from the SDK examples package and would like to change the Main Activity to launch the sample I'm working on instead of listing all of the samples available. What files would I need to modify for this. I've tried a few things in the manifest and the java files within com.wikitude.samples but still no results. Thanks.

Hi there!

Currently the main activity launched at the app start is a listactivity, which means that it will display list items. What you could do is change the launcher activity in the manifest file to a different activity.

You could create a new activity that calls all the architect lifecycle methods (refer to http://www.wikitude.com/developer/documentation/android for detailed information) and simply loads your adapted architect world.

Hope that helps,

Markus
Login or Signup to post a comment