here is the code for my app
package com.test.bgTest;
import android.app.Activity;
import android.media.MediaPlayer;
import android.os.Bundle;
import android.app.KeyguardManager;
public class BackgroundTest extends Activity {
/** Called when the activity is first created. */
@Override
public void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
setContentView(R.layout.main);
final MediaPlayer mp = MediaPlayer.create(this, R.raw.alert);
KeyguardManager kg = ( KeyguardManager ) getSystemService
( "keyguard" );
}
}
i want to be able to alert phone owner when pattern login failed.
but how do i use a listener to actually catch the fail attempt to
unlock keyguard.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "Android Beginners" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-beginners?hl=en
-~----------~----~----~----~------~----~------~--~---