1 package com.android.car.carlauncher; 2 3 import android.app.Activity; 4 import android.content.Intent; 5 import android.os.Bundle; 6 import android.view.View; 7 8 /** 9 * Basic Launcher for Android Automotive 10 */ 11 public class CarLauncher extends Activity { 12 13 @Override 14 protected void onCreate(Bundle savedInstanceState) { 15 super.onCreate(savedInstanceState); 16 setContentView(R.layout.car_launcher); 17 } 18 19 // called by onClick in xml 20 public void openAppsList(View v){ 21 startActivity(new Intent(this, AppGridActivity.class)); 22 } 23 } 24