Code example for ActionBarActivity

0
package com.tallertechnologies.flavortest.app; 
 
import android.content.Intent; 
import android.os.Bundle; 
import android.support.v7.app.ActionBarActivity; 
import android.view.View; 
 
import com.tallertechnologies.flavortest.R; 
import com.tallertechnologies.flavortest.app.FeatureActivity; 
 
public class MainActivity extends ActionBarActivity { 
 
    @Override 
    protected void onCreate(Bundle savedInstanceState) { 
        super.onCreate(savedInstanceState); 
        setContentView(R.layout.activity_main); 
    } 
 
    public void onClickFeatureButton(View view) { 
        Intent intent = new Intent(getApplicationContext(), FeatureActivity.class); 
        startActivity(intent); 
    } 
     
}