是否可以阻止主页和搜索按钮? [英] Is it possible to block home and search buttons ?

查看:61
本文介绍了是否可以阻止主页和搜索按钮?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

首先,我的应用程序无意在商店中结束,因此不必担心通过认证.

First of all, my app is not intended to end on the store, so there's no concern about passing the certification.

这是一次一次性活动,我需要一直启用手机摄像头,因此(据我所知),唯一的方法是防止手机退出应用程序.

It's just for a one-off event where I need to have the phones camera enabled all the time, so the only way to do that (to my knowledge) is to prevent the phone from quitting the app.

我可以禁用后退按钮,但是有没有办法对搜索和主页按钮进行同样的操作?如果不是,是否有一种方法可以在应用程序不处于前台状态时保持相机拍摄并通过套接字发送数据?

I can disable the back button, but is there a way to do the same with search and home button ? If not, is there a way to keep the camera filming and sending data through a socket while the app is not on foreground ?

我看过一些录音机,当您将手机置于睡眠状态时,它们仍会记录下来,所以也许我也可以用视频来录音吗?

I've seen audio recorders that still record when you put the phone to sleep, so maybe I can do it with video too ?

推荐答案

本杰明·

在WP上没有搜索事件.

there is no a Search event on WP. 

这是成员 PhoneApplicationPage 类,供您参考.

因此,您不能阻止这些按钮.

So, you can't block those buttons.

使用此仍在睡觉时进行记录.

Use this to still record on sleeping.

最诚挚的问候.


这篇关于是否可以阻止主页和搜索按钮?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆