简体   繁体   English

Android 应用程序在后台以编程方式从文档文件中读取

[英]Android app programmatically reading from a document file while at the background

是否可以在后台创建Android应用程序的功能,将定期从文档文件(例如pdf文件)中读取,并将其指示的部分作为通知发送。

Sure, use a Service .当然,使用Service It runs in the background.它在后台运行。

From there you can send your notification.您可以从那里发送通知。 Here you have an example这里有一个例子

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

相关问题 防止Android应用程序在读取过大的文件时崩溃 - Prevent Android app from crashing while reading a file that is too large 以编程方式将 Android 应用程序从后台带回 - Bring Android app back from background programmatically 从Android APP以编程方式将文件上传到Dropbox - Upload file to Dropbox programmatically from Android APP 从Android中的应用程序读取电子邮件附件文件时找不到文件异常 - File not found exception while reading email attachment file from my app in Android 从文件android读取数据时发生ArrayIndexOutOfBoundsException - ArrayIndexOutOfBoundsException while reading data from file android 在Android App中从文件读取时,出现IsolatedStorageException - IsolatedStorageException when reading from file in Android App 在Android中读取文件时以'/'开头 - Leading '/' while reading a file in Android Android:以编程方式将文件从sdcard复制到应用程序的资产文件夹 - Android: Copy file from sdcard to app's assets folder programmatically Android 应用程序在打开后台后不会从 mainactivity 重新启动 - Android app not restart from mainactivity while after open background 从文本文件android读取时随机化问题数组 - Randomize array of questions while reading from text file android
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM