Why cannot you run standard Java bytecode on Android?

Answer Posted / mady

Android uses Dalvik Virtual Machine (DVM) which requires a special bytecode. We need to convert Java class files into Dalvik Executable files using an Android tool called "dx". In normal circumstances, developers will not be using this tool directly and build tools will care for the generation of DVM compatible files.

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Describe android Activities in brief.

1151


Describe the SmsManager class in android.

1102


There are five different methods to store persistent data. They are: shared preferences. Internal storage. External storage. Network and __?

507


How you can use built-in Messaging within your application?

1073


Explain src file in android?

507






What are the positive and negative with volley?

516


What is the mobile application development all about?

580


Can you deploy executable jars on android? Which package is supported by it?

523


What is context in toast android?

518


User interface types in Android?

571


What is equals method?

505


What is the life cycle methods of android activities?

498


Explain the steps in creating a bounded service through aidl.

499


In android, which is two location providers that you can use to obtain your position data?

499


Who inventors of android ?

485