KeyguardManager question

by yesk13 » Mon, 13 Apr 2009 12:13:48 GMT

Sponsored Links
 here is the code for my app

package com.test.bgTest;

import android.os.Bundle;

public class BackgroundTest extends Activity {
    /** Called when the activity is first created. */
    public void onCreate(Bundle savedInstanceState) {

        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.


Other Threads

1. How to set a view to NOT scroll with scrollview in Java

is it possible to programmically force a View inside a ScrollView NOT
to scroll?

Like the alphabetic titles in the contacts list. The 'A' bar doesn't
scroll when the user scrolls through the list of all contacts whose
first names start with 'A'. When the user scrolls till the end of 'A',
'B' bar simply scrolls up from the bottom of ScrollView, finally
reaplacing 'A' at the top and staying there.

My description is kind of abstract, hope you understand.

Also thanks in advance.


2. is there wat to run application after download/install app ?


I want to know to run application after download/install.. if it is
cause I want to create app shortcut on home-screen automatically after
application down/install.
but I googled and got it is not possible..only application side.

so I searched..then I got this.
If It is possible that to create shortcut when first app run.
so i need to run app automatically after down/install.

does it possible? if it is, how..?(which part on android full


3. Auto-Complete

4. Prevent Wifi Settings pop up from appearing

5. Gallery with images from a Web Service

6. Unable to get received date of MMS

7. Hooks on network activity