Can I run pure Java jars on Android?

by Indu » Wed, 17 Feb 2010 05:12:34 GMT

Sponsored Links
 I am new to Android, but not to Java. I am learning it on the go :-)
At work I need to develop my module for Bluetooth. And the code has to
work on Android 1.5 devices. I see that, Android 1.5 does not support
Bluetooth. Can I just use J2ME's blue tooth jar -- jsr82_1.1.jar? I am
not sure if J2ME jar files would work in Android.


Other Threads

1. MediaPlayer and memory buffers.

I have looked at the documentation for MediaPlayer and it doesn't seem
to do what I need.  I need to be able to feed a personalized stream to
the media player.  For example, I have an AAC stream that has some
header information in it, so I can't simply feed the HTTP URL to the
media player because it will choked on the header information.

What I would like to be able to do is feed it a stream of data, and I
provide the parsing of the header, and feed it straight raw AAC data,
tell the media player that's the format and have it play it
(preferably with an existing decoder).

Is that possible and I'm just missing it?

Do I need to write a native (C code) decoder create my own specialized

Thanks in advance,



2. Does Android support detecting right/left click on the mouse

The Android platform currently doesn't support mouse input at all.  Some
people may have hacked it to allow for mouse input, but this is very much
not supported because none of the UI has actually been designed to work well
with a mouse.

On Fri, Aug 14, 2009 at 2:38 AM, Nguyen Dinh Minh

Dianne Hackborn
Android framework engineer

Note: please don't send private questions to me, as I don't have time to
provide private support, and so won't reply to such e-mails.  All such
questions should be posted on public forums, where I and others can see and
answer them.


3. how to install a .apk on my own phone...

4. Scope issue - newby question

5. / restore() , what is this?

6. Printed Material

7. StateListDrawable issue