FileDocCategorySizeDatePackage
AppHwConfigList.javaAPI DocAndroid 1.5 API5093Wed May 06 22:41:08 BST 2009com.android.development

AppHwConfigList

public class AppHwConfigList extends android.app.ListActivity

Fields Summary
private static final String
TAG
android.content.pm.PackageManager
mPm
private final Comparator
sDisplayNameComparator
private AppListAdapter
mAdapter
Constructors Summary
Methods Summary
protected voidonCreate(android.os.Bundle icicle)

    
    
        
        super.onCreate(icicle);

        mPm = getPackageManager();
        mAdapter = new AppListAdapter(this);
        if (mAdapter.getCount() <= 0) {
            finish();
        } else {
            setListAdapter(mAdapter);
        }
    
protected voidonListItemClick(android.widget.ListView l, android.view.View v, int position, long id)

        PackageInfo app = mAdapter.appForPosition(position);
        // TODO display all preference settings
        Intent intent = new Intent(Intent.ACTION_VIEW);
        intent.setClass(this, AppHwPref.class);
        intent.putExtra("packageName", app.packageName);
        startActivity(intent);
    
protected voidonResume()

        super.onResume();
    
protected voidonStop()

        super.onStop();