Detecting an application running on an iOs device and returning data describing the category of application

I am going to start work on a project that will help in learning new vocabulary, in the style controlled by interruptions, and will offer new words through interruptions so that the user can learn at optimal times.

I am looking for a way to determine which application is running. I found a few posts that related to finding part of the list of running applications, " Can we get the applications currently running on the iPhone and iPad ." Is it possible to use it in iOS 6?

I can not find any relevant messages about receiving data about the type / category of the application that works (media player / game / viewer, etc.). Do iOS apps contain any metadata or a way to retrieve this data type?

Naturally, in order to interrupt the user at the optimal time, he will have to take into account the type of application used.

I am openly considering alternative ways of detecting when interrupts may be optimal and open to criticism of my current plan.

+4
source share
1 answer

You can get a list of running processes (for example, applications), as indicated here , but you cannot get metadata from them from the OS. From a UX point of view, you can consider a solution in which the user manually schedules breaks or gives a schedule window. For example, perhaps every day between 3 and 4, start to notify me. Personally, I quickly delete spam apps, so I would think of something else than breaks.

+1
source

Source: https://habr.com/ru/post/1440093/


All Articles