Questions tagged [dalvik]

Dalvik is a virtual machine used by Google's Android operating system.

From Wikipedia:

Dalvik is the process virtual machine (VM) in Google's Android operating system. [...] Programs are commonly written in Java and compiled to bytecode. They are then converted from Java Virtual Machine-compatible .class files to Dalvik-compatible .dex (Dalvik Executable) files before installation on a device. The compact Dalvik Executable format is designed to be suitable for systems that are constrained in terms of memory and processor speed. [...]

A tool called dx is used to convert some (but not all) Java .class files into the .dex format. Multiple classes are included in a single .dex file. Duplicate strings and other constants used in multiple class files are included only once in the .dex output to conserve space. Java bytecode is also converted into an alternative instruction set used by the Dalvik VM.

1028 questions
-3
votes
1 answer

How do I remove a toast notification from Android dex files without decompiling them?

I would like to remove a toast notification from multiple apps. These notifications are displayed every time the app is started and I can clealy see the notification text and code by viewing the dex file with notepad so although I am a noob at this…
-3
votes
3 answers

Is there a simpler way to do parsing in Java on Android?

I'm having difficulty performing what should be a simple task. Let's say I have a text file that states: a = b I want my program to read this file and output "b" whenever the user inputs "a". In Python or C++ I can accomplish this in around 7…
Joe
  • 3
  • 1
-3
votes
1 answer

load jar/dex dynamically from an android app

Hi I am using an android app (Scheme Droid) based on jscheme, but if you're not familiar with it, maybe you are familiar with Clojure. In any case those provide access to the virtual machine (jvm, dalvik). On a computer (any arch or OS) I can…
user2587965
-3
votes
2 answers

Android APK crashes even gradle build finished successfully

I am getting the below error everytime I am building my APK; Gradle build shows it has been done successfully but while installing the APK at my phone, it crashes everytime 10-04 22:52:53.848 9297-9297/com.usfca.studentrecordsverify E/Trace: error…
-3
votes
2 answers

Android Runtime and Android Native Interface

According to wiki (http://en.wikipedia.org/wiki/Android_Runtime) Dalvik gets entirely replaced by ART in Lollipop i.e. from that release onwards any app will be compiled to native code upon installation. This begs the question, is there a point in…
spc16670
  • 504
  • 6
  • 15
-4
votes
2 answers

What does the 'L' letter mean at the beginning of some logcat urls/uri's? Is it a bug?

In a different question I posted (I figured out the answer to that question by now), I noticed a mention of 'Landroid' in the logcat. My original question: Android app starts slow, but works fine after that slow start W/dalvikvm﹕ Link of class…
Julius
  • 159
  • 1
  • 1
  • 13
-4
votes
3 answers

Why is the operating system Android nescecary if the device is already running a Java virtual machine?

Is the Android operating system written in Java? Anything written in Java must run in a Java Virtual machine therefore if Android is written in Java it must itself be running in some sort of JVM, so is it? According to the answers at this…
Celeritas
  • 14,489
  • 36
  • 113
  • 194
-4
votes
1 answer

Any information on the Dalvik Machine?

I know this might not be very appropriate to ask here. But I want to ask in hopes you might be able to point me somewhere so I don't mess up :) I have to write an assignment on 8-15 pages about the Dalvik Virtual Machine. I am asking for source…
OmniOwl
  • 5,477
  • 17
  • 67
  • 116
1 2 3
68
69