How to access the DJIGO app flight Plan log files - ios

I want to access the DJI-Go App Flight Plan log files similar to HealthyDrones App ( website for more about it ). This app verifies the DJI login credentials in their app But In DJI SDK Documentation there no information about integrating DJI-Login and accessing the log files.

Accessing the flight log files is not supported and undocumented. You can search the mobile device file system (depending on which DJI app you want to support) and find the file path for the log files but this can be changed by DJI at any time.
The format itself is also undocumented, meaning DJI can change or update the format at any time and break any apps that have reverse engineered the log files.
HD and a few others have decoded the files and you could contact then to see if they will share the information they found but as for finding a "supported" method to access the log files, it does not exist today.

Related

How to access a user's logging info in iOS?

I've read about the Unified Logging Framework as well as the new iOS 14 API regarding logging on devices, but I can't find anything that would enable me to write a log on a user's device to troubleshoot an issue, and for me to be able to review it? What is the current state of the art for doing this inside the Apple framework, or 3rd party library?
What you have read is how to write a log on the user's device. When you use os_log or the new Logger, and you log with anything but the lowest level, it is written into the log. The user can extract it using the log command in the Terminal. Of course you need to give instructions, so practice on your own device first.
For instance, if I hook my phone, TheMattPhone, to the computer, and say in the Terminal
sudo log collect --device-name "TheMattPhone" --last 1h
...then the result is that my home directory now contains a file called system_logs.logarchive. The user can zip that up and send it to you.
There are much more sophisticated commands that can extract just your app's logs, or even particular logs, depending on how you've configured the logger.
Note that the log written to the file will be redacted unless you mark interpolated material as public.

How to allow the folder to be modified by the app only?

I've a strange requirement regarding for my app which using the Google Drive SDK. I'm creating a folder and a file(Single File) through app on the Google Drive. Now I want that folder to be modified by the app only. Is this feasible?
Why I need this?
I'm writing/syncing my app data to the user's drive. I'm creating a Folder and a file on the Drive.
Now the file can be modified by the user if he visit the Drive on browser or by some other medium.
So, If the file is modified, user will not be able to access his synced data on other devices.
I do not have my own server where I can store the data.
So, I want that file should be modified by the app only. How can I do this? Is this feasible with the current SDKs available? What else are the alternatives for me to get the project done?
Please Note : I do not have my own server.
I don't think this is feasible for the reason that I haven't read anything about it in the docs nor have I seen a working implementation of it.
The closest thing I can relate to this is Permissions for Shared Files's. But the restricting of file/folder happens to both browser and native app. They're always synced.
You can set the restricted folder to Reader role. Users will only be allowed to:
-Read the metadata (e.g. name, description) of the file or folder
-Read the content of the file
-Read the list of items in the folder
Check this iOS code on how to set the permissions.

How to allow user to upload attachments in iOS application

In case of Android when I want to send or attach a document such as a pdf or doc from my application I can easily access all the files in the external storage and share or attach.
But since iOS follows a sandbox approach as well as there is no filesystem so it is not possible to attach or upload in same manner.
In my iOS application right now, I have implemented Open In functionality, wherein in the info.plist file I have specified that my application supports all types of documents so when the user opens any documents he gets an option to Open In my application, then I save that document in the
Documents/Incoming
folder in the application, now when my user clicks to add attachment then he can see the document to attach, since this is a long process I was looking for better ones.
I saw whatsApp allows uploading/sharing from iCloud apart from that what can I do to provide a similar behaviour as Android.

Best place for saving user data for Windows Store App

Disclaimer: I am new to Windows Store App development.
My app is a Windows Store App (for desktop). The app has to create some content using user's input and the data can be considered as documents. Also, the document'd be in a proprietary format. The user should be able to see all those documents listed inside the app every time he launches it.
My question is where to save these document files. I have no issue it is directly accessible to users without using app (it is their data).
The document suggest roaming (limited storage) and local storage. But both are deleted once the app is deleted (bad for the user).
http://msdn.microsoft.com/en-us/library/windows/apps/hh464917.aspx
Document also states that accessing right for My Document folder is granted only if the developer is a company (bad for me).
http://msdn.microsoft.com/en-us/library/windows/apps/hh464936.aspx
Any other popular pattern from developers (apart from Azure, SkyDrive and any online storage)?
On app's first launch, you can allow the user to choose his/her folder as per choice, and then add that folder in future access list. So you can access that folder anytime. Please check below given links.
How can I save a StorageFile to use later?
Exploring WinRT: Storage.AccessCache
Windows.Storage.AccessCache Classes

User stats required for an offline iOS web app

I'm creating an iPad bespoke web app for a sales team which, on occasions, will need to work offline. So far, so good.
The client wants to be able to grabs stats of when the app is used by the sales team? Am I able to write to a file locally, then upload this file or email it at a given time?
Many thanks
If I understand your question correctly, the answer is YES!
You can write and read any kinds of file to your app document. Please check this link. After grabbing your file info, you can send it by email or dropbox or......

Resources