Personalized lock screen for Android - android

Hello I am looking for personalized screen locker for android phones, instead of typing numbers , user can flex fingers in a particular pattern and unlock the screen.
Any pointers/ideas are appreciated.

You might want to look at the Android source: LockPatternUtils.java and LockScreen.java for an idea of how to go about implementing your own.
Also interesting is the android.gesture package which you can use to create and save gestures.

Related

How do I disable screen mirroring for Flutter app?

I'm working on a new flutter app and the client wants to detect screen mirroring and disable it, Is there is a way to do so in Flutter using a third party package or something?
I've tried using the FLAG_SECURE in android but it disables only screenshots not screen mirroring.
There is no out of the box package for flutter. And there is also no effective way to disable mirroring for Android and iOS.
What you can do on Android is to use the DisplayManager to get all current logical displays with the method getDisplays. Then you can maybe show a pop up if the number of displays is to big for your app, in order to inform the user.
For iOS I don't think there is something available to stop or at least detect screen mirroring.
for android side we can use
int CanMirror = Settings.Secure.getInt(this.getContentResolver(), Settings.Global.DEVELOPMENT_SETTINGS_ENABLED , 0);
you can get better idea :https://stackoverflow.com/a/63971764/18340828
and ios side dont have much idea.

Mirror screen from a device to another

I am developing an app to achieve the functionality for Screen Casting from one android device to another android device.
I am developing an app which would be functional like teamviewer i.e. cast other user screen and also want to implement the functionality which identify the screen tap from the destination screen which reflect the action to host screen.
I am using below example's link for implementing the functionality. But not able to achieve the solution for screencast.
https://github.com/mmuszkow/ScreenMirroring
https://github.com/farmerbb/SecondScreen
https://github.com/JonesChi/CastScreen
https://integrate.teamviewer.com/en/develop/screen-sharing-sdk/android-tutorial/
Any help will deeply appreciated.
You can not do this Mamta. Not possible in this life.

Can an app take a screenshot while running in the background?

Is it possible to programmatically take a screenshot of the screen while in a different app by some kind of a gesture in android? I want my app to run in background and when the user makes a particular gesture, I want my app(running in background to take a screen shot to be sent somewhere). I also want this gesture to recognize nearby devices that has my app to be able to get the screen shot for manipulation. I am still learning android, and I am planning this as my project. Just wanted to know if this is possible.
Yes it is possible
check, there are many app on google play for this.
Screenshot Ultimate and Screenshot UX Trial

Android Display information on LockScreen

Is it possible to Display Information on the lock screen from an Android application.
I came across a few Apps which allow you to display Email and Calendar information on the screen but could not find which API to use for achieving the same.
Android 4.2 supports app widgets on the lockscreen.
according to the app you've mentioned (which has very poor description and quite low rating) , i suspect they disable the keyguard (the default lock screen) each time they get the event of power off (or on) .
maybe the activity that they are using has a transparent background and is above the normal lock screen .
there are many similar apps , such as "widget Locker" ,"magic Locker" and "quick Launch" , all do about the same thing to replace the keyguard . most of them also have the ability to replace the launcher (but will still show the launcher of the user, of course) , for smoother experience .
does the screenshot belong to the app you've mentioned , or to something you wish to achieve ?
You can learn how it can be done if you look at the sources of open source project contact owner that adds a message to the lock screen, too.

Android non-root lock replacement

Let me begin by saying that, yes, I know that the stock Android lock screen can not be programatically replaced without rooting.
Now that that's over with, I want to make an app that contains a custom 'lock' mechanism. There are apps out there that emulate this functionality, namely LockGo. This allows a user to view information from widgets on a 'lock screen' and emulates the slide-to-unlock functionality (or whack-a-mole if the user wants to install that plugin).
Does anyone know what mechanism or Android API functionality they may have used to do this? Is it as simple as hooking into the power button to launch an activity, such as in the link below?
How to hook into the Power button in Android?
Any insight to this would be appreciated.
I've found out while researching this that, while there is currently no way to replace the stock security or keyguard lock (which I knew), it is possible to show an Activity on top of the lock using the following code in the setup for that Activity:
getWindow().addFlags(WindowManager.LayoutParams.FLAG_SHOW_WHEN_LOCKED);
This can be used with any logic needed to create a faux lock to show screens on top of the system lock(s), though the lock will still be in tact and the user will need to enter the lock to get into the device.

Categories

Resources