nook

How to open wifi settings on Nook/NookColor

落爺英雄遲暮 提交于 2020-01-13 06:15:09
问题 My app needs active wifi connection. I added button "Go to wifi settings" with this code Intent settings = new Intent(Settings.ACTION_WIFI_SETTINGS); settings.setFlags(Intent.FLAG_ACTIVITY_NEW_TASK); startActivity(settings); It is works perfect on 95% of devices. But on Nook color I have error android.content.ActivityNotFoundException: No Activity found to handle Intent { act=android.settings.WIFI_SETTINGS flg=0x10000000 } How to open wifi settings on Nook/Nook color? 回答1: Summary : 1-Find

Accessing Storage on the Nook

社会主义新天地 提交于 2019-12-05 00:51:47
问题 The closest thing to documentation I can find having to do with file storage is this post (see below if you can't access it), but it leaves me with several questions. I would really, really, really like a knowledgeable explanation of what paths map to what storage here, seeing as how we're supposed to hard-code them, and how precisely we're expected to access them. An actual code sample would be superlative. My best guess from messing around with this is that: /sdcard-> maps to the internal

How to programmatically dismiss the screensaver/lock screen on Android (Nook Simple Touch)

爷,独闯天下 提交于 2019-12-04 04:52:34
问题 I wrote a simple alarm-clock style application that I run on my (jailbroken) Nook Simple Touch (aka NST), under Android 2.1. When the scheduled alarm time arrives, my application needs to wake up the NST and display a page of HTML content. I use AlarmManager to get a callback at the right time, and it seems to work as expected -- almost. The problem occurs when enough idle time has passed that the NST has activated its lock-screen mode (i.e. it is auto-displaying a caricature of a famous

Accessing Storage on the Nook

谁都会走 提交于 2019-12-03 16:47:08
The closest thing to documentation I can find having to do with file storage is this post (see below if you can't access it), but it leaves me with several questions. I would really, really, really like a knowledgeable explanation of what paths map to what storage here, seeing as how we're supposed to hard-code them, and how precisely we're expected to access them. An actual code sample would be superlative. My best guess from messing around with this is that: /sdcard-> maps to the internal eMMC slot, and access is restricted. Environment.getExternalStorageDirectory(); ... still returns this.

How to programmatically dismiss the screensaver/lock screen on Android (Nook Simple Touch)

有些话、适合烂在心里 提交于 2019-12-02 02:24:06
I wrote a simple alarm-clock style application that I run on my (jailbroken) Nook Simple Touch (aka NST), under Android 2.1. When the scheduled alarm time arrives, my application needs to wake up the NST and display a page of HTML content. I use AlarmManager to get a callback at the right time, and it seems to work as expected -- almost. The problem occurs when enough idle time has passed that the NST has activated its lock-screen mode (i.e. it is auto-displaying a caricature of a famous author). I can't find a programmatic way to dismiss the lock-screen so that my HTML content will be visible