Home > Mobile >  Consult a shortcut to open the flashlight function problem
Consult a shortcut to open the flashlight function problem

Time:01-01

Purpose: used millet mobile phone have the function of a shortcut to open the flashlight
1. Press power button twice to open flash
2. Then press power key to turn off your flash twice
How convenient, this function is to go to the toilet at night touch phone press 2 times power key to open the flashlight can complete one hand operation
Now in huawei mobile phone without this function with unaccustomed to unlock the screen every time to find a flashlight to open again, need hands to finish operation
May even if someone don't understand how hard it's not the things with their hands to do more than just the 2 steps things there is no need for this thing entanglements
But my idea is:
1. Want to ask, the train of thought to solve the problem of the
2. You can take to get to know mobile phone application development train of thought and method (before have no contact with mobile phone app development)
Thank you very much!

CodePudding user response:

You this function is the flashlight in the millet mobile phone system setup shortcut key, set up in the phone dormancy can be confused when locks, directly open the flash light,,, the app can't do

CodePudding user response:

That is not the solution yet can root

CodePudding user response:

reference 1st floor Write_BUG small expert replies:
you this function is the flashlight in the millet mobile phone system setup shortcut key, set up in the phone sleep you can not understand lock, open the flash, directly, and the app can't do
that is not the solution yet can root

CodePudding user response:

reference smalltom531 reply: 3/f
Quote: refer to 1st floor Write_BUG small expert replies:
you this function is the flashlight in the millet mobile phone system setup shortcut key, set up in the phone sleep you can not understand lock, directly open the flash light,,, the app can't do
that is not the solution yet can root
can't, this is all belong to internal functions as a mobile phone is not a function of the app

CodePudding user response:

There are two obstacles: 1, the default start and has been running the service, listens for keys or receive events. 2, open the flashlight function, the number and the hardware control, still do not know whether mobile phones can provide public services and permissions,
  • Related