Originally Posted by sjkevin
Here are two URLs which might be useful for you:
http://nookdevs.com/
http://code.google.com/p/nookdevs/
(Click on "Source", then "Browse" to see some source code of applications written for the eink nook.)
There are two main things you need to know to get started:
Although there are two physical screens, the eink screen and the touchscreen, to android it's just one screen. So your app layout needs to look something like this:
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="fill_parent" android:layout_height="fill_parent"
android: orientation="vertical">
<... android:layout_width="600px" android:layout_height="760px"
...
/>
<... android:layout_width="480px" android:layout_height="144px"
...
/>
</LinearLayout>
The other thing is power management; apparently android tries to blank the eink screen, so the eink nook apps have to do something to change that. Look for the screenLock stuff in nookBaseActivity (under nookCommon), or any of the other nookdevs apps.
Good luck!
|