本文介绍了如何打开蓝牙开/关与J2ME?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想在J2ME编写一个程序打开蓝牙开/关全自动在一定时间内没有用户权限。

I want to write a program in J2ME to turn the Bluetooth on/off automaticly in a certain time without the user permission.

我心中已经一直在寻找了一段时间,但我无法找到答案。

I'v been looking for a while but I couldn't find an answer.

推荐答案

有些手机会自动切换蓝牙当一个MIDlet使用Java ME蓝牙API开始于

Some phones will automatically switch bluetooth ON when a MIDlet starts using the Java ME Bluetooth API.

其他手机则不会。

据我所知,没有任何的Java ME API切换蓝牙ON / OFF。

AFAIK, there is no Java ME API to switch bluetooth ON/OFF.

我还没有找到一个移动电话闲置一段时间后,自动切换蓝牙关闭。

I have yet to find a mobile phone that automatically switches bluetooth OFF after some time of inactivity.

您觉得做任何方式的(我敢肯定,这是通过Symbian OS C ++是可行的,例如)将依赖于平台。

Any way you find to do this (I'm sure it's doable in Symbian OS C++, for example) will be platform-dependant.

这篇关于如何打开蓝牙开/关与J2ME?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

10-20 19:39