問題タブ [powermanager]
For questions regarding programming in ECMAScript (JavaScript/JS) and its various dialects/implementations (excluding ActionScript). Note JavaScript is NOT the same as Java! Please include all relevant tags on your question; e.g., [node.js], [jquery], [json], [reactjs], [angular], [ember.js], [vue.js], [typescript], [svelte], etc.
java - デバイスを強制的にオフにする方法は?
現在、Eclipse/Android Studio は次のエラーでアプリをビルドできません: undefined function gotosleep();
ここでマニフェストに追加されました:
パッケージを次のように変更します。
PowerManager とは異なるため、デバイスの管理者ロックによって Android がスリープ状態になることは望ましくありません。 また、タイムアウトの設定を変更しても PowerManager で同様の結果が得られるかどうかはわかりませんが、プログラムでウェイクアップ (画面をオンにする) できるかどうかはわかりません。
よろしく、ヴィムズ