Is there any Dalvik bytecoder available?

by Gonzalo » Tue, 06 Jul 2010 16:49:26 GMT

Sponsored Links
As part of my research I implemented a runtime bytecoder for Java apps
based on Javassist. The idea is to introduce code to execute code
remotely based on current context. Since the context is not the same
at every moment, I need to perform the bytecoding at every execution
(if needed).
I tried to port my code to Android in order to test it on mobile
devices (I already tested it on win mobile and iphone using phoneme
and jamvm respectively). However, I could not find any bytecoding tool
available for Dalvik.
Is there any Dalvik bytecoder available or an ongoing project that I
can join/check that is working on this issue?
If not, is there any other alternative beside running a decompiler for
dex files, and modifying it manually?



Is there any Dalvik bytecoder available?

by fadden » Thu, 08 Jul 2010 06:43:54 GMT


I'm not sure what you mean by "bytecoder".

You can generate Java bytecode and convert it with "dx", but most
Android devices are a bit resource-limited to run dx directly. is an assembler/disassembler for DEX. 


Sponsored Links

Other Threads

1. SQLite database location restriction

I'm reading this restriction on where SQLite databases should reside
on Android.

All databases, SQLite and others, are stored on the device in /data/

While this may be appropriate for small databases that begin and end
within an application's space with a few contacts, this seems rather
restrictive for a large multimedia database that may be used on other
platforms, including Windows, and then transferred to a phone.

In particular, you apparently can't put a database file on a storage
card - which I know end users will want to do.

If this restriction is firm
1. How big can a file get in this location? I'll guess this is OEM
dependent, but, for example, the Verizon Droid is advertising 16GB
preinstalled memory. How much of this would be accessible to
databases? Anything that hasn't been used by the file system yet?
2. Is /data/data/<package_name>/databases a user accessible location
that end users will be able to browse to and place files in?



2. Google Voice on Droid counts as Verizon voice calls

You need to read up what Google Voice is first.  Google Voice is
specifically not VOIP.  If they allow such a thing, why would anyone
even get a Verizon voice plan?


3. Stuck with ScrollView vs ListView, your thoughts?

4. android.provider.Settings.System.FONT_SCALE -- Does this do anything (Android 2.0)?

5. ADP2 now available

6. eclipse problem in AndroidManifest.xml file

7. cannot scrollTo() a webview before rending it