Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support for Nook Simple Touch (SDK7) #2

Open
travistabbal opened this issue Jun 24, 2013 · 1 comment
Open

Support for Nook Simple Touch (SDK7) #2

travistabbal opened this issue Jun 24, 2013 · 1 comment

Comments

@travistabbal
Copy link
Collaborator

Info from the user:

No luck on the Nook Simple Touch (SDK 7, not sure which android version that corresponds to). Possibly down to the filesystem being a bit odd though, nothing is mounted at /sdcard

Error is NoSuchMethodError:android.content.Context.getExternalFilesDir

@cowbutt
Copy link

cowbutt commented Feb 11, 2014

I have a Nook with a 32GB SD card installed, which will get mounted at /sdcard (the internal ~200MB partition normally used for eBooks is mounted at /media), but NewsRob/GrazeRSS attempting to use this method (which is non-existent in the Nook's version of Android 2.1) prevents it from even starting up. This method was only added in API level 8 (2.2), apparently.

For a API level of 7, http://developer.android.com/reference/android/os/Environment.html#getExternalStorageDirectory%28%29 is the way to go.

Alternatively, you could internally hardcode the ExternalFilesDir to /sdcard if ro.product.overall.name==NOOK and ro.product.manufacturer==BarnesAndNoble

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants