Connecting to a Full Screen Activity

 

The app for Quick Circle has to display a circle layout when the Quick Circle case is closed, and display a full screen layout when the cover is opened.

LG QCircle enables running a specific Intent when the cover is open. You can set which Intent to run by using the following code:

Intent intent = new Intent(this, FullActivity.class);
template.setFullscreenIntent(intent);

 

If you do not use the code above, no activity runs when the cover is opened.

 

You should first select the Activity to run as full screen. In order to use a new Activity, first make the Activity in the application and then create an Intent that runs the Activity as shown above.

QCircleTemplate is not affected by which Intent is set, it simply runs it by using startActivity(). Therefore, the information and properties of the Intent that you want to run should be set in your application.

Navigation