I want to set a password for my application which it will require at the time of execution. I want that it should be like lock screen patterns, is it possible?
If yes please help me out to find some helpful material to design lock screen as I have absolutely no idea how to start with it. I've read touch event of Developer.android.com but don't how to proceed further.
This should help you:
https://code.google.com/p/android-lockpattern/source/browse/src/group/pals/android/lib/ui/lockpattern/widget/LockPatternUtils.java?r=7470bc287cba61198430e3d8aff32196bb5824a0
Please, give an information whether it works or not. :)
Related
I need a code to use the lock screen instead of the system so that when i enter a specific password the device make the functionality that i codded it
Are you trying to implement a Lock Screen inside your app?? If so, take a look at the below links.
StackOverflow Discussion
GitHub
Has anyone got experience with developing an application to replace the default lock screen? I've been told it is not possible, however this application manages it.
Any tutorials or guidance you know of would be appreciated.
100% possible. Here are some links to get you started.
Android App and Pattern Lock Screen
Android Lock Screen Widget
Developing a custom lock screen
Try this one:
lockscreenswitchwidget
You can implement deviceAdminReciever to use device locks and all please have a look at this it explains everything about locks setting passwords.....
Update:
Use this library Link
and Source Here..
Ok so, basically i have a project in mind. I am planning to make a custom lockscreen for android. i need to use the front camera to click a pic of a card, match it to a stored image and only then unlock the phone. Much like face unlock, but another pic instead of a face. could i get a few pointers on how to implement this? If not develop a separate lock screen/app, I don't mind editing the core java file of the LockScreen.java. Any pointers on how to develop this?
Thanx, any help will be appreciated. :)
Well first, I guess, you should implement the camera maybe? Check this out on how to do that:
http://www.androidzeitgeist.com/2012/10/displaying-camera-preview-instant.html, and then you should implement lockscreen, so you can make a simple normal activity, which you are going to use for the lockscreen. Then you need to make a broadcast receiver, and open your lockscreen activity when the phone awakes. You can read about broadcast receiver here: http://www.vogella.com/articles/AndroidBroadcastReceiver/article.html . Then you probably will need to access the gallery, to pick an image from there. See this: http://viralpatel.net/blogs/pick-image-from-galary-android-app/ . You should edit your question, and make it more understandable, if you want help from more people. I'm hoping this helps. Good luck.
I am very new to android development. I wanna create a app thats like a ticker on android tablet. But when the user clicks on any other application, i still want my ticker to be visible and the other app to resize and occupy rest of the screen only.
Somebody told me that this is not possible. Is it the case ? Anyone know of any similar app ? or somehow plz get me started with this ?
Thanks for your help.
Cheers
It is not a good idea steal screen space from other applications. If your ticker is floating above like modal window, it would probably block some views for the user.
If your app is competing for the screen space, the other app would probably look ugly.
My suggestion is that you rethink your application, and follow the user interface guidelines.
Good luck!
I believe this isn't possible. Even if, it isn't a good idea. If you want something like that consider creating a widget or some kind of notification. That would be the best and a lot of applications use notifications like that.
what you want to do is creating a system type of window,such as PHONE_WINDOW,make your app flowing on the up-layer of other normal window.
You may read this post
http://www.apkbus.com/android-77789-1-1.html
I want do an app,i want it look the same as this one:
I don't know how to write the word "writing" as the red mark ,and how to add the app icon on
the screen.
The answer is simple and yet annoying: It is not possible using the standard lock screen. Source of Android's lock screen describes where to find the source code of the default lock screen, and if you look into the source code of LockScreen.java you will find out that this information is hard coded. So basically you will have to wait for a new Android version to support this feature or program your own lock screen, which kind of misses the point. :-/
I only found a comment in the docu here that it could be possible to add a widget to the lock screen sometime. Any than this I found some apps that deliver a complete alternative lock screen.
So my guess it, that the clock on your screen is only able to show the info on the lock screen due to an extra (HTC?)-API that is not available for third party developer as suggested here: https://stackoverflow.com/questions/3556430 too.