Detect if dji pilot is running (Android)

Completed

Comments

7 comments

  • DJI Developer Support
    The pilot is not developed based on MSDK. Can't you see if Pliot is running by all the processes running on the device?
    0
    Comment actions Permalink
  • Jonathan Gabbay

    Hi, I did not get a notification that you replied.. weird

     

    We are trying to detect if DJI Pilot is running through our application, we need to notify users that DJI Pilot is running in the background.

    0
    Comment actions Permalink
  • DroneControl

    Hello!

    This is something that also applies in our case. Sometimes our users don't yet have our app configured as default app as they are still evaluating it. And they then forget to force close the Pilot 2 app, which means there is interference when using our app.

    1
    Comment actions Permalink
  • DJI Developer Support
    Could you see all the processes running on the device in your app to find out if Pilot 2 is running? For example, use getRunningTasks.
    1
    Comment actions Permalink
  • 一刀

    I have a great way to identify if djipoilt is running@DroneControl

    0
    Comment actions Permalink
  • Jonathan Gabbay

    DJI Developer Support

    The methods are deprecated and no longer work. From my research and trial, there is currently no working way to confirm the app is running. That's why I wondered if it is achievable using MSDK. Thanks anyways.

    0
    Comment actions Permalink
  • DJI Developer Support
    We think it is more appropriate to use a process to determine if Pilot 2 is alive or not, is it valid?
    0
    Comment actions Permalink

Please sign in to leave a comment.