Disable the screen lock when the Android OS startup

閲覧: 952 回
最初の未読メッセージにスキップ

CMF

未読、
2010/07/02 13:08:022010/07/02
To: android-porting
HI all,
I want to make my app launched when the Android OS startup.
I can make it, but when the Android OS startup, the screen lock is
launched,
how can I remove the screen lock launch so that I can get into my app
directly?
I am doing this in my embedded system.Thanks

CMF

未読、
2010/07/06 21:57:472010/07/06
To: android-porting
anybody knows?

Deva R

未読、
2010/07/07 4:18:402010/07/07
To: man...@gmail.com、android-porting

The closest i've done is - to make system remain unlocked

# sqlite3 /data/data/com.android.providers.settings/databases/settings.db
sqlite> update system set value="-1" where name="screen_off_timeout";
sqlite> .quit

But it still wont prevent system to boot with locked screen.,
we are either missing an easy configuration or might require source change..

anybody knows?

suyog tajne

未読、
2010/07/07 6:44:572010/07/07
To: r.de...@gmail.com、man...@gmail.com、android-porting
I too have requirement which needs android to boot up with  screen unlocked.
can somebody point to sqlite file to change?

thanks

Pete

未読、
2010/07/07 9:12:342010/07/07
To: android-porting
I disabled the lock screen on my eclair build my commeting out
showLocked() in KeyguardViewMediator.java.

As far as I could tell there isn't a sql configuration option which
does this.

regards,

Pete.

diff --git a/phone/com/android/internal/policy/impl/
KeyguardViewMediator.java b/phone/com/android/internal/policy/impl/
KeyguardViewMediator.java
index 8d71146..6d971e9 100644
--- a/phone/com/android/internal/policy/impl/KeyguardViewMediator.java
+++ b/phone/com/android/internal/policy/impl/KeyguardViewMediator.java
@@ -520,7 +520,7 @@ public class KeyguardViewMediator implements
KeyguardViewCallback,
}

if (DEBUG) Log.d(TAG, "doKeyguard: showing the lock
screen");
- showLocked();
+ //showLocked();
}
}

Peter Griffin

未読、
2010/07/07 4:50:082010/07/07
To: android...@googlegroups.com
I disabled the lock screen on my eclair build my commeting out showLocked() in KeyguardViewMediator.java.

As far as I could tell there isn't a configuration option which does this.

regards,

Pete.

nolockscreen.patch

Aadorn

未読、
2010/07/07 19:43:222010/07/07
To: android-porting
To disable lock screen only at system startup, instead of comment out
showLocked(), I commented out doKeyguard() inside the function
onSystemReady() in the same file KeyguardViewMediator.java

If there is a configuration option that does this, please let me know
too.

Thanks,
Aad
>  nolockscreen.patch
> < 1KViewDownload

Deva R

未読、
2010/07/08 8:54:182010/07/08
To: mrpgr...@gmail.com、android-porting
Hi Pete,
Thanks for sharing this., it helps a lot while debugging/developing..

Regards,
Deva


--
全員に返信
投稿者に返信
転送
新着メール 0 件