Android: why not just improve JME or phoneME?

by bboyes » Thu, 03 Sep 2009 00:15:32 GMT

Sponsored Links
 > What I didnt like is this redefiniton of concepts like events etc. I

I have wondered the same thing since all my experience to date is with
J2ME on industrial embedded systems (not phone aps). Phone apps use
PhoneME which is much more restricted than the embedded Java systems
we use. We must have access to the hardware, file system, low level
event and interrupt access, etc to support I/O devices which vary from
application to application.

What strikes me is that phoneME is stuck in the past, whereas Android
assumes some current hardware base. phoneME lets you run one app at a
time with strong sandbox restrictions, no data sharing, no built in
database, and you need a dozen JSRs to support everything (ref the
high end Sony phones like K850 which still has no keyboard, dinky
screen, no touch support). It's a painful environment in which to make
something useful. Plus if you want to license phoneME you must shell
out around US$100K to Sun for a full JME license. You can't just get
part for less (say you just want the Squawk VM to build SunSPOTS).
It's all or nothing. So clearly Sun does not want every small company
in the world deploying JME commercially. Check out the headache Bug
Labs had with that.

I blogged a bit about this: 

So it is fascinating that Eric Schmidt (once the manager of Java
development at Sun!) chose to NOT license JME from Sun (http:// but to roll
Dalvik instead. I can see why Google chose to step into the present
instead of suffering with limits that made sense 10+ years ago...
still, it's a valid question, and a real shame that Sun could not work
together with Google, IBM, and others to make Squawk or JME much more
like what Android is now. Perhaps that is part of why they got snapped
up by Oracle at a bargain-basement price, and why my Sun stock is
worth 10% of what I paid.

Other Threads

1. (simple?) problem with table layout

I want to create a table layout so I don't have to use absolute

I have 2 <TableRow>'s in my <TableLayout>, and each row has 4 buttons,
all the same width.

The problem I'm having is with the last button on the first row.  the
button is as tall as two buttons combined.  I can make a button span 2
columns (width), but how do I make it span two rows and not move the
second row down?

e.g., What I would like (please excuse my poor ASCII art)

+++  +++  +++  +++
+=+  +=+  +=+  +=+
+++  +++  +++  +=+
+++  +++  +++  +=+
+=+  +=+  +=+  +=+
+++  +++  +++  +=+

What I'm getting:

+++  +++  +++  +++
+=+  +=+  +=+  +=+
+++  +++  +++  +=+
+++  +++  +++
+=+  +=+  +=+
+++  +++  +++

Any advice on how to do this properly?!



2. the imageview object supports which formats images other than png and jpg

Hello everybody
    The imageview  object supports, which formats of images other than
png and jpg?
 Is it supporting *.jif, *.bmp. *.tiff, etc. to display them on sceen
of activity?

   The picture application(on emulator) shows only *.jpg and *.png
format it does not shows other format images(*.jif, *.bmp, etc).

Will anybody clear me regarding this issue?

thank you

3. Location is null

4. Create inode at startup

5. AV Sync

6. DatePicker -- 2/30; 4/31 is quitely treated as a valid input

7. what is example of internal_content_uri