How I can make transparent Keyguard

by agent-10 » Sat, 11 Dec 2010 13:06:18 GMT


Sponsored Links
 Hi, I've change the behavior of LockScreen.java to my own but I don't
know how to make transparent or translucent Keyguard. I just wanna see
behind windows(e.g Home app, another users activities etc).
I suppose that I should change something in KeyguardViewManager.java
in show() function but I don't what exactly...
Can anyone help me?

P.S. I have sources for Froyo 2.2.

-- 



Re: How I can make transparent Keyguard

by agent-10 » Tue, 14 Dec 2010 04:55:17 GMT


 Never mind. I found out how to do it.
The first we should change doesForceHide() function in
PhoneWindowManager.java. For Keyguard window this function returns
true.
It cause to forcibly hide everything behind window, in our case it's
Keyguard. Change it to false.

Next we should remove FLAG_SHOW_WALLPAPER in show() in
KeyguardViewManager.java

After this, we'll see transparent keyguard.

-- 


Sponsored Links


Other Threads

1. Get count of email messages in Email app

I'd like to get access to the data stored in the default Email app.
I'd like to find out what accounts are associated with the App, and
for each account, what folders are associated with the account, and
for each folder how many emails are in that folder. I need this
information on 2.1 and 1.5.
I see the AccountManager in 2.1 can give me some of the accounts
configured, but in the Email app you can also add accounts which don't
show up in the AccountManager. How do you get access to the accounts
configured in the Email app.
I'd like to be able to programmatically deleted emails in the users
folders. Are the emails stored in a content Provider? If so whats the
URI.
Any help would be much appreciated.

-- 

2. button focus

i have set background as transparent for the button ..
(button.setbacgroundcolor(Color.transparent) )...


now it is not showing focus on the same button..what to do..

-- 

 A N K ! T......

-- 

3. Live Folders Access

4. Update Droid for testing

5. Simple App crashes on onRestart()

6. Development Mac -> Vmware Fusion -> Ubuntu 10.04: Samsung Vibrant not Recognized by VmFusion

7. Developing Stand alone service