在Windows Mobile 6.5中启动异步任务
基本上我是一名android开发人员,现在在windows中工作。有人可以告诉我是否有任何方法可以像android一样通过前置执行来启动异步任务吗?
提前致谢 :)
Basically I am an android developer,now working in windows.Could anyone please let me know if there is any way to start asynchronous task with pre post executes similar to android?
Thanks in advance :)
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
您的问题已得到解答。
我最终使用我提供的链接中提到的第三方BackgroundWorker实现解决了这个问题。
Your question has already been answered.
I ended up solving this issue using the 3rd party BackgroundWorker implementation mentioned in the link I provided.
我对 Android 不熟悉,但是如果你想执行异步任务,你有两个选择:
如果不了解更多关于你的“任务”、你的代码环境和启动过程的信息,我的回答就很难更有针对性。
编辑
进一步调查使我相信您正在谈论异步线程执行的进程内回调,因此您很可能在线程之后(尽管计时器也可能实现您想要的,具体取决于您想要什么)。根据您使用的语言,如何实现它有很大不同。让我们知道您正在使用哪种语言进行开发,我们可以为您提供更好的指导。
I'm not familiar with Android, but if you want to execute an asynchronous task, you have two options:
Without knowing more about your "task", your code environment and the launching process it's difficult to be any more targeted in my answer.
EDIT
Further investigation leads me to believe that you're talking about an in-proce callback from an asynchronous thread execution, so you're very likely after a thread (though a timer might also achieve what you want, depending on exactly what you're after). How to implement it is very different depending on the language you're using. Let us know what language you're developing in and we can give you better direction.