Android Question start a app from lockscreen

Discussion in 'Android Questions' started by MarkusR, Feb 25, 2019.

  1. MarkusR

    MarkusR Well-Known Member Licensed User

    i have android 8.1.0

    its possible to start a app from lock screen, just for input data and then the app should disappear?
    maybe similar the apps that appear in the edges for voice input or camera.

    or just a mini widget for user input would be ok.

    or a app that starts every awake if me pressed power on.

    or a app start from the drop down menü? (where the user can toggle the flashlight)
  2. Erel

    Erel Administrator Staff Member Licensed User

    MarkusR likes this.
  3. MarkusR

    MarkusR Well-Known Member Licensed User

    i found
    Erel likes this.
  4. MarkusR

    MarkusR Well-Known Member Licensed User

    here is a interesting event i will try
    UserPresent - The user has unlocked the keyguard screen.

    after the user unlock the service get an event and a activity get in front.

    Starter Service
    #Region  Service Attributes
    #StartAtBoot: False
    #ExcludeFromLibrary: True
    #End Region

    Sub Process_Globals
    'These global variables will be declared once when the application starts.
        'These variables can be accessed from all modules.

    Public PhoneEvent1 As PhoneEvents

    End Sub

    Sub Service_Create
    'This is the program entry point.
        'This is a good place to load resources that are not specific to a single activity.


    End Sub

    Sub Service_Start (StartingIntent As Intent)

    End Sub

    Sub Service_TaskRemoved
    'This event will be raised when the user removes the app from the recent apps list.
    End Sub

    'Return true to allow the OS default exceptions handler to handle the uncaught exception.
    Sub Application_Error (Error As Exception, StackTrace As StringAs Boolean
    Return True
    End Sub

    Sub Service_Destroy

    End Sub

    'The user has unlocked the keyguard screen.
    Sub PhoneEvent_UserPresent (Intent As Intent)
    End Sub
    Last edited: Feb 26, 2019
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice