Questions tagged [keyguard]

This mobile phone feature allows the user to disable (lock) the keys so that a number will not accidentally be dialed while the phone is in your pocket or purse. A special key combination, unlikely to be pressed accidentally, is typically used to unlock the keys.

147 questions
0
votes
1 answer

Camera & KeyGuard

From a Service, i am launching an Activity, this Activity Take a Picture then Finish, My Problem : When Screen is Off & the Service Start this Activity, the Activity does not Take Picture at All, Camera look like Not initialized, This is the Code i…
user2531436
0
votes
1 answer

Android lock screen / media controls on the lock screen

i have a few questions, to which i haven't found answers till now, despite searching the forum and much of googling. On thing first, i'm developing for android gingerbread, so newer/not all functions are available. Is it somehow possible to force…
myo
  • 11
  • 5
0
votes
1 answer

System overlay affecting key guard

I can't seem to fix this weird keyguard problem. Symptoms: When I have a system overlay added, my keyguard is blank. I can however push buttons (PIN Lock and emergency call, etc) and even unlock my phone (thank god!). Code: Java viewHUD = new…
Dheeraj Bhaskar
  • 18,633
  • 9
  • 63
  • 66
0
votes
1 answer

Questions regarding Using AlarmManager with locked screen

So I basically know how to use AlarmManager and unlock the screen and key guard to run the activity . Here is the code i am using PowerManager pm = (PowerManager) context.getSystemService(Context.POWER_SERVICE); PowerManager.WakeLock wl =…
Hassan Jalil
  • 1,114
  • 4
  • 14
  • 34
0
votes
1 answer

AlarmManager and "setting alarm to turn off keyguard, seq = 10"

My AlarmManager does not work properly. The LogCat says that setting alarm to turn off keyguard, seq = 10. What does this mean? How could I fix it? Thanks!
user1756209
  • 573
  • 10
  • 23
0
votes
1 answer

Disabling Android keyguard from a service

I want to implement a service that disables the keyguard when connected to a certain WiFi network, and restores the keyguard when disconnected. On my Galaxy Nexus (CM10) and HTC Desire (MIUI), I've tried the following solutions, but none have worked…
black
  • 781
  • 1
  • 7
  • 22
0
votes
1 answer

How to turn keyguard on in reliable way?

DUPLICATE WARNING: this problem deals with details of Android API, suitable for calling both from some frontend and services, there are many similar threads on SO, but focused only on frontends. Problem I would like to turn on keyguard…
greenoldman
  • 16,895
  • 26
  • 119
  • 185
0
votes
1 answer

android undo flag FLAG_SHOW_WHEN_LOCKED

I added a flag to an activity getWindow().addFlags(WindowManager.LayoutParams.FLAG_SHOW_WHEN_LOCKED); is there a way to undo this without recreating activity? I need to do this whan a state changes in my application.
Buda Gavril
  • 21,409
  • 40
  • 127
  • 196
0
votes
2 answers

Interfering with the Keyguard

I am currently working on an app that can draw views over the statusbar. Here is my code: @Override public void onCreate() { // TODO Auto-generated method stub super.onCreate(); wm = (WindowManager)…
Denizen
  • 335
  • 5
  • 17
0
votes
1 answer

Adding commands in the Android boot process

I'm wondering if it's possible to insert my own commands in the Android boot process to modify its behavior. Specifically, I'm looking to modify the security lock where the user enters his/her PIN/password/pattern, obtain the user input, and…
user1118764
  • 9,255
  • 18
  • 61
  • 113
0
votes
1 answer

How to Intercept the keyguard(software menu) clicks for eg "Settings" menu option click?

Is there a way to find out when did a user click "Setting" options on the screen menu? The onClick listner's KeyDown events catches only the hardware buttons on the phone and not the clicks of the sofware keyboard that shows up when a…
Vikas Singh
  • 1,781
  • 7
  • 27
  • 54
-1
votes
1 answer

How to send SMS from an activity even when phone is locked or keyguarded

I am making an application which will do something on receipt of a particular SMS and after doing that something it will send an SMS back. Everything is fine but the SMS sending service is not working when there is some keyguard lock or any other…
VISHAL DAGA
  • 4,132
  • 10
  • 47
  • 53
1 2 3
9
10