05-01-2013, 09:47 AM | #1 |
Guru
Posts: 608
Karma: 1588610
Join Date: Jan 2012
Device: Kindle Scribe
|
MicroEmu Java
I was thinking about porting MicroEmulator to the touch. Will the built in java "cvm" work or will I need to get oracle's headful java se embeded?
|
05-01-2013, 11:18 AM | #2 |
Wizard
Posts: 1,379
Karma: 2155307
Join Date: Nov 2010
Location: Goettingen, Germany
Device: Kindle Paperwhite, Kobo Mini
|
Not sure - I guess you will need to go and try. And be prepared that you'll have to adapt the source quite a bit to fit it into the Kindlet API (if you use cvm).
|
Advert | |
|
05-01-2013, 11:22 AM | #3 |
Guru
Posts: 608
Karma: 1588610
Join Date: Jan 2012
Device: Kindle Scribe
|
Exactly what I asked. So what you're saying is that if I use the cvm, I need to use the kindlet api, and cannot invoke swing, awt etc in a seperate window (X window)?
|
05-02-2013, 06:24 AM | #4 |
Wizard
Posts: 1,379
Karma: 2155307
Join Date: Nov 2010
Location: Goettingen, Germany
Device: Kindle Paperwhite, Kobo Mini
|
Yes. Cvm comes pretty much hardcoded with the (Java2 ME architecture, BTW, but that doesn't tell you much alone) CDC API. Kindlet graphics is very much based on AWT API, but I think there are exceptions to that. The Java standardization world is about as messy as marketing mixed with a quite universally used language suggests, so for what it's worth: the Kindle runs a Java 2 ME CDC profile stack (with some Kindle specific additions). You might also find this interesting: http://docs.oracle.com/javame/config...e/html/toc.htm
PS: The API that is offered to _Kindlets_ is highly Kindle specific, which is done through a Java security model, strongly coupled with the class loader of the CVM. This means that the full capacity of the cvm is not offered to Kindlets by default. |
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
iLiad Java Browser? | Gogolo | iRex Developer's Corner | 3 | 06-10-2008 07:04 AM |
PRS-500 Java RSS2Book? | sammykrupa | Sony Reader Dev Corner | 35 | 01-03-2007 02:15 PM |
iLiad Get your Java VM for iLiad here | scotty1024 | iRex Developer's Corner | 13 | 11-22-2006 12:22 PM |
iLiad Java on the iLiad | Gavrahil | iRex Developer's Corner | 20 | 07-22-2006 03:08 AM |
[Apple]Java Embedding Plugin 0.9.2: Force java to run in browsers other than Safari | Zire | Lounge | 4 | 05-24-2005 09:12 PM |