Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

developing an android lock screen application [closed]

I want to develop my own lock screen for Android that will replace the default android lock screen. I do not have any idea how to start.

Is there any tutorial about it or an example I can download and open in my eclipse and run ?

Thanks a lot

like image 880
user1902346 Avatar asked Oct 06 '13 10:10

user1902346


People also ask

How do I prevent an Android device from going to sleep programmatically?

Using android:keepScreenOn="true" is equivalent to using FLAG_KEEP_SCREEN_ON . You can use whichever approach is best for your app. The advantage of setting the flag programmatically in your activity is that it gives you the option of programmatically clearing the flag later and thereby allowing the screen to turn off.

How do I use WakeLock on Android?

Any application using a WakeLock must request the android. permission. WAKE_LOCK permission in an <uses-permission> element of the application's manifest. Obtain a wake lock by calling PowerManager#newWakeLock(int, String) .


1 Answers

What you actually want to do is create an application which will look like the home screen and prevent the "real" home screen from appearing.

You might want to have a look at this: Launcher2.git

I would also recommend reading these questions:

Create custom lockscreen for android 4.0 or above?

https://stackoverflow.com/questions/10864300/create-a-lock-screen-of-my-own

like image 145
Udi Idan Avatar answered Sep 20 '22 18:09

Udi Idan