Tuesday, April 29, 2014

On the lock screen technology! ! ! ! What a big cow. . .



Recent wanted a similar word lock screen software! !
There are a large source of cattle have provided it
Guiqiu! ! !






<-! Main posts under Banner (D4) -><-! Posts under the main text (D5) ->
Reply:


Since the sofa to sit! ! !
Reply:
Word lock screen, does the lock screen lets users back when the word back?
Reply:
Word lock screen, does the lock screen lets users back when the idea way back word ----
Reply:
reference to the second floor cclovescw reply:
word lock screen, does the lock screen lets users back when the word back?



Blessings ・ ・ ・ bit like, but not quite the unlock screen technology, seeking moderator sharing ・ ・ ・
Reply:
Watch the weather forecast I have a small demo lock screen. N years ago to help a person to do graduate design.
Reply:
references, 5th Floor cclovescw reply:
I have a lock screen when watching weather forecasts little demo. N years ago to help a person to do graduate design.

Moderators shared out to see the pictures!
Reply:
Ah locked easily register a broadcast on the line
Reply:
Listen and then start the Service
bootpublic class LockScreenService extends Service {

private Intent unlockIntent;
private KeyguardManager mKeyguardManager = null;
private KeyguardManager.KeyguardLock mKeyguardLock = null;

@ Override
public IBinder onBind (Intent intent) {
/ / TODO Auto-generated method stub
return null;
}

@ Override
public void onCreate () {
super.onCreate ();
unlockIntent = new Intent (LockScreenService.this,
LockScreenActivity.class);
unlockIntent.addFlags (Intent.FLAG_ACTIVITY_NEW_TASK);

/ * Register broadCastReceiver * /
IntentFilter filteron = new IntentFilter ("android.intent.action.SCREEN_ON");
IntentFilter filteroff = new IntentFilter ("android.intent.action.SCREEN_OFF");
registerReceiver (lockReceiver, filteroff);
registerReceiver (unlockReceiver, filteron);

}

@ Override
public void onDestroy () {
/ / TODO Auto-generated method stub
super.onDestroy ();
unregisterReceiver (lockReceiver);
unregisterReceiver (unlockReceiver);
startService (new Intent (LockScreenService.this, LockScreenService.class));
}
public int onStartCommand (Intent intent, int flags, int startId) {

return Service.START_STICKY;

}


private BroadcastReceiver lockReceiver = new BroadcastReceiver () {

@ Override
public void onReceive (Context context, Intent intent) {

}
};

private BroadcastReceiver unlockReceiver = new BroadcastReceiver () {

@ Override
public void onReceive (Context context, Intent intent) {
String action = intent.getAction ();
if (action.equals ("android.intent.action.SCREEN_OFF")
| | Action.equals ("android.intent.action.SCREEN_ON")) {
mKeyguardManager = (KeyguardManager) context
. GetSystemService (Context.KEYGUARD_SERVICE);
mKeyguardLock = mKeyguardManager.newKeyguardLock ("zdLock 1");
mKeyguardLock.disableKeyguard ();
startActivity (unlockIntent);

}
}
};
}
Reply:
reference to the 6th floor hjywyj reply:
Quote: references, 5th Floor cclovescw reply:

Watch the weather forecast I have a small demo lock screen. N years ago to help a person to do graduate design.

Moderators shared out to see the pictures!


See you every day online, you can go to apply for a moderator ah!
Reply:
references, 5th Floor cclovescw reply:
I have a lock screen when watching weather forecasts little demo. N years ago to help a person to do graduate design.


Powerful, but not a few days to become moderator, ah
Reply:
Reply 10 minutes a day can get really feel good ~ ~ ~ ~ ~ ~ ~ ~ ~
Reply:
references, 5th Floor cclovescw reply:
I have a lock screen when watching weather forecasts little demo. N years ago to help a person to do graduate design.

Hello, how can shield the home button it? The system is 2.3.x or 4.x for?

No comments:

Post a Comment