How to programmatically set a message with information about the owner of locksreen in Android?

Is it possible to programmatically install locksreen Android in the owner information?
By owner information, I mean "Alex Dobie" in the photo below:

owner-info.jpg? itok = Mk0uPa9L

+6
source share
1 answer

if someone is interested in a solution: it is not writable in the settings. Safe but readable with

Settings.Secure.getString(getActivity().getContentResolver(),Settings.Secure.LOCK_SCREEN_OWNER_INFO);

+1
source

Source: https://habr.com/ru/post/971372/


All Articles