I want to unlock the andorid screen when a tag is detected - based on the tag ID.
something like how com.biwota.cerbero is done. someone here has any experience or knows how this can be done. ? could you please point to the right directions perhaps ?
thank you
Domnic
This is not possible, unfortunately. NFC polling is turned off when the screen is off or locked, since Android 4.0 ICS. Only with a custom ROM you can modify this behaviour.
Related
I recently got onto Microsoft Launcher for Android. I really want to know how it allows users to lock the screen with a double tap. What API does it use in Android for Screen Lock ? I have not found any such API for Android which exposes the methods for screen lock.
Please note I am referring to screen lock and not a device lock that can only be opened with a password like over here.
Is it part of the accessibility suite ? Asking because I had to provide accessibility permission for the app. I had asked this question before but I got an answer that it was not possible with the recent APIs. So how can Microsoft Launcher do it ? It is not using any tricks, like turning the brightness to 0 and waiting for a timeout.
More information can be found at this answer. And also here. Hope it helps.
Is it possible to display some minimum text on android phone screen when phone is asleep programmatically?
Is there a power efficient way to do this?
This is called DayDream mode. Clock, Photos, Quotes etc. can be displayed. Though it seems, DayDream mode should be installed & enabled. I found a tutorial which makes a interactive screen saver.
Please refer-http://code.tutsplus.com/tutorials/android-sdk-create-an-interactive-screen-saver-with-daydream--mobile-16604
Firstly,your question is too vague.
And to answer your question :
Yes its possible to wake the phone from sleep mode using a service.
I finding phone`s screen mirroring API.
I wrote at goolgle Developer, I got reply about Presentation API.
but, I still don`t know how can I access phone's screen.
If I use CWAC_Presentation API, can I make mirroring application?
(exactly like chromecast's mirroring function..)
At https://github.com/commonsguy/cwac-presentation provide "Mirroring Presentation Classes",
It`s simple and great API. But I can't understand it.
so.. My question is..
Can "Presentation API" access the phone's screen without root?
-> How it works? Is it provide "display capture"? or just "display location"?
Can I make mirroring application like chromecast's mirroring function?
Should I choose "Display manager" or "MediaRouter" ?
Is any sample or app about "Mirroring?"(not miracast, it`s phone to pc(tv))
Finally, I want buffers of the phone screen. Can I?
Please help me. Thank you.
Can "Presentation API" access the phone's screen without root?
No.
Can I make mirroring application like chromecast's mirroring function?
No.
Should I choose "Display manager" or "MediaRouter" ?
Neither will help you.
Is any sample or app about "Mirroring?"(not miracast, it`s phone to pc(tv))
Chromecast's mirroring is Miracast.
Finally, I want buffers of the phone screen. Can I?
Only with root. This has nothing whatsoever to do with the Presentation API.
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.
Is there a way to replace the phone lock application of an Android phone ?
I would like to customize my screen lock, and perhaps, if the result is nice, publish it on the market. Would that be possible ?
Any tips ?
Is there a way to replace the phone lock application of an Android phone ?
No, sorry, there is no way to create a true replacement lock screen. There has been some discussion of augmenting the OS to support this. However, it is an area that is rather complex, both due to the code itself, and due to security issues.