dalvik Questions
3
Solved
Do the Android Dalvik standard libraries have any class similar to the undocumented class sun.misc.Unsafe in Java SE which allows direct access to memory.
1
I've got a class in which I do some runtime annotation scanning, but it uses the deprecated DexFile APIs which causes a warning to appear in LogCat:
W/zygote64: Opening an oat file without a cla...
Cyst asked 1/5, 2018 at 16:36
4
Solved
I just want to know :
Who created the dalvik_Vm ?
Is the zygote process running in the vm or contrary?
2
I'm trying to generate Javadoc using latest Android Studio via built in tool:
Tools=>Generate Javadoc...
Whatever I choose from a tool's parameters window there are a lot of errors thrown, regar...
2
Solved
I am going to learn a little bit about Dalvik VM, dex and Smali.
I have read about smali, but still cannot clearly understand where its place in chain of compilers. And what its purpose.
Here some...
Lungworm asked 15/6, 2015 at 4:39
2
I've noticed that when users on Android-OS devices visit my site, there's constantly two requests happening on each page. The first is the normal browser, and the second is from "Dalvik". Example:
...
3
Android Browsers is sending Dalvik as the user agents in the request headers.
I am currently working on a mobile site having a simple login page that validates username and password then authorize...
Elledge asked 22/5, 2014 at 10:30
3
Solved
In the following SO question: https://mcmap.net/q/127844/-fast-bitmap-blur-for-android-sdk @zeh claims a port of a java blur algorithm to C runs 40 times faster.
Given that the bulk of the code in...
Pay asked 28/1, 2014 at 7:21
4
Solved
I know this may be a basic question in Android. But what is Dalvik and dalvik-cache?
6
I want to test android apps' memory performance, and I want to get memory information automaticaly. I use 'adb shell dumpsys meminfo ...' to get memory infomation periodicaly.
Now, I want to observ...
Collative asked 20/8, 2014 at 3:28
8
Solved
In theory, Dalvik executes any virtual machine byte code, created for example with the compilers of
AspectJ
ColdFusion
Clojure
Groovy
JavaFX Script
JRuby
Jython
Rhino
Scala
Are there alr...
4
Since Android Lollipop, Google has replaced DVM with ART because ART is faster than DVM. Is there any other reason for that?
5
Solved
In android, are using static variables a recommended practice?
E.g, implementing a Singleton pattern in Java, I usually do:
private static A the_instance;
public static A getInstance() {
if (the_i...
0
Lately when I try debugging an android test instrumentation APK, every time the app is launched I see something like this in the logcat
W/com.myapp: Verification of void com.myapp.test.hiptest.Act...
Piscary asked 13/3, 2019 at 12:44
6
Solved
Google added a new ART runtime with Android 4.4. How can I determine whether ART or Dalvik is the current runtime?
Obligor asked 7/11, 2013 at 7:38
2
I'm getting crashes from numerous devices for a native crash for my Android game, GeoGuess (https://play.google.com/store/apps/details?id=uk.co.quinny898.game.geoguess)
It's all Java, so I don't s...
3
when using ar.toArray(new String[ar.size()]) Android studio 3.2.1 warns about pre-sized array and recommends empty array:
There are two styles to convert a collection to an array: either using
...
Dunseath asked 13/11, 2018 at 15:23
2
Solved
Google is moving from Dalvik to ART(Android Runtime).
I was trying to understand, how it is going to improve the performance.
The best explanation I found is the below image:
One of the main c...
Torosian asked 8/10, 2014 at 10:21
4
Solved
Recently I have read about the Dalvik 65K method limit. I have understood that the method invocation list can only invoke first 65536 method references.
To tackle this, we have a number of solution...
Bluster asked 15/9, 2016 at 4:54
7
Solved
Is there any way to make an Android application to download and use a Java library at runtime?
Here is an example:
Imagine that the application needs to make some calculations depending on the i...
Practise asked 28/7, 2011 at 10:54
3
Solved
As we all know Java 5 introduced the ability for Instrumentation to get the size of an object with ease. Is there such a method on Android and Dalvik?
The java.lang.instrument package is not avail...
2
Solved
I have an Android app that uses NDK - a regular Android Java app with regular UI and C++ core. There are places in the core where I need to call Java methods, which means I need a JNIEnv* for that ...
Jada asked 13/1, 2015 at 14:2
3
Solved
This isn't intended to be a question. Rather, an observation which is a common problem found in Android when you use external APIs for development and android.jar isn't duplicated into your project...
Stolon asked 10/4, 2012 at 23:54
2
Solved
Is there an easy way to crash an app with a native crash, in order to test native crash reporting?
note that I'm looking for a general solution for all devices, and not device specific. I thought ...
Cautery asked 1/7, 2015 at 17:47
3
After some android apps installed, I found that it will change to odex file (not apk) in smartphone.
How does it happens? Who can teach me, I am very interested about it.
Incorruptible asked 6/3, 2012 at 23:24
1 Next >
© 2022 - 2025 — McMap. All rights reserved.