简体   繁体   English

我想访问所有应用程序的使用时间。 我如何在颤振中编程?

[英]I want to access the usage time of all applications. How do i program this in flutter?

I want an application that can track the usage time of all my application.我想要一个可以跟踪我所有应用程序使用时间的应用程序。 How can i implement this in flutter?我如何在颤振中实现这一点? What packages to use?使用什么包?

For someone who is still looking for answer, For ios as @Sahandevs, you need to do some tricks which could be rejected by apple, but for android there are package available to achieve this feature.对于仍在寻找答案的人,对于作为@Sahandevs 的 ios,您需要做一些可能被苹果拒绝的技巧,但对于 android,有可用的包来实现此功能。

Like:喜欢:

1- device_apps 1- device_apps

2 - app_usage 2 - app_usage

Hope, this will help someone :)希望,这会帮助某人:)

you can use this How to create a Service which continuously monitors app usage information?您可以使用此如何创建持续监控应用程序使用信息的服务? to create a service in android to track installed apps and use flutter method channel to retrieve data from java (or kotlin) to your flutter app.在android中创建一个服务来跟踪已安装的应用程序并使用flutter方法通道从java(或kotlin)检索数据到你的flutter应用程序。 Learn More 了解更多

in iOS though, i think you need to do some tricks that maybe will be rejected by apple.不过在iOS中,我认为你需要做一些可能会被苹果拒绝的技巧。 see this links for more info:查看此链接了解更多信息:

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 我想在我的应用程序中使用OpenIntents.org意图。 如何确保接收的应用程序已安装在用户的电话上? - I want to use OpenIntents.org intents in my applications. How can I ensure that the receiving application is installed on the user's phone? 如何以编程方式显示所有应用程序的数据使用情况? - How do I programmatically show data usage of all applications? Android应用程序:如何使用viewPager访问不同的片段? - Android Applications: how do I access different fragments using a viewPager? 如何获得Java中所有已安装应用程序的列表? - How do I get a list of all installed Applications In Java? 我想在 flutter 中访问我的系统铃声 - I want to access my systems ringtones in flutter 获取Android中所有应用程序的时间使用情况 - Get time usage for all applications in android 如何在 android 中跟踪应用使用时间? - How do I track app usage time in android? 如何在android中访问移动数据使用情况统计信息? - How do I access mobile data usage stats in android? 我想创建一个显示所有已启动应用程序的应用程序 - I want to create an application that shows all the applications that were launched 我想以 flutter 的数组格式访问来自 API 的响应,有多少种方法可以访问它并在 UI 中使用它? - I want to access response coming from API in array format in flutter how many ways are there to access it and use it in UI?
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM