FileDocCategorySizeDatePackage
ScanningProgress.javaAPI DocAndroid 1.5 API2898Wed May 06 22:42:46 BST 2009com.android.music

ScanningProgress

public class ScanningProgress extends android.app.Activity

Fields Summary
private static final int
CHECK
private android.os.Handler
mHandler
Constructors Summary
Methods Summary
public voidonCreate(android.os.Bundle icicle)


    
        
        super.onCreate(icicle);
        setVolumeControlStream(AudioManager.STREAM_MUSIC);

        requestWindowFeature(Window.FEATURE_NO_TITLE);
        setContentView(R.layout.scanning);
        getWindow().setLayout(WindowManager.LayoutParams.WRAP_CONTENT,
                                    WindowManager.LayoutParams.WRAP_CONTENT);
        setResult(RESULT_CANCELED);
        
        Message msg = mHandler.obtainMessage(CHECK);
        mHandler.sendMessageDelayed(msg, 1000);
    
public voidonDestroy()

        mHandler.removeMessages(CHECK);
        super.onDestroy();