Detect if dji pilot is running (Android)

已完成

评论

7 条评论

  • 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
    评论操作 固定链接
  • 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
    评论操作 固定链接
  • 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
    评论操作 固定链接
  • 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
    评论操作 固定链接
  • 一刀

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

    0
    评论操作 固定链接
  • 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
    评论操作 固定链接
  • 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
    评论操作 固定链接

请先登录再写评论。