On Mon, Jun 7, 2010 at 4:04 PM, Dianne Hackborn hack...@android.com wrote:
Dalvik [is] now done in the open.
Actually, we're not developing in the open yet, but we are working
toward it. It is nontrivial to get there for all the reasons you cite.
-dan
--
You received this message because you
On Mon, Apr 19, 2010 at 4:26 PM, Michael Newton
michael.new...@gmail.com wrote:
I hope someone can offer some insight on this problem. My build was
failing with a dex error. After I turned verbosity up to debug I got
the following: [...]
[apply] com.android.dx.util.ExceptionWithContext:
On Tue, Oct 27, 2009 at 5:37 AM, LuckyJim ktwi...@gmail.com wrote:
I am using the Eclipse plugin and I have the above error.
I am responsible for aforementioned sucky error. I admit that it
sucks. One of dx's major rough spots is in translating internal
exceptions into meaningful messages.
On Tue, Aug 25, 2009 at 5:02 PM, Casper Bang casper.b...@gmail.com wrote:
People who have digged into Dalvik aren't
overly impressed when compared to similar technologies:
http://www.koushikdutta.com/2009/01/dalvik-vs-mono.html
Please read the comments on that article, which contained some
On Sun, Aug 9, 2009 at 7:51 AM, amiz aarn...@gmail.com wrote:
I have an app (SDK 1.1) that uses
dataOut_str = String.format(%.2f ,dataOut_d);
which converts correctly double (dataOut_d) into a string with 2
decimals.
With 1.5, I get a runtime exception:
08-09 17:36:45.717:
First of all, thanks for taking the time to investigate, and I'm glad
you've found a workaround for this.
As a bit of background, the original version of the code that collects
local variable debugging info was written to target an inefficient
output representation. The output format was fixed
On Mon, Jul 27, 2009 at 9:24 PM, Dianne Hackborn hack...@android.com wrote:
On Mon, Jul 27, 2009 at 8:35 PM, rukiman ruksh...@optushome.com.au wrote:
Yes I did mean Java serialization. Any reason why I can't use it
(apart from it being slow) ?
Um... it being super-crazy slow? :)
It's also
On Sun, Jul 26, 2009 at 5:49 AM, Flavio Montenegro Filho
filhovi...@gmail.com wrote:
[URGENT]Drag Screen like Android Home Screen
Just as an etiquette note, putting a screaming URGENT in your
subject line is off-putting and probably as likely to get the opposite
effect than the one you intend.
On Mon, Jul 27, 2009 at 4:16 PM, Flavio Montenegro Filho
filhovi...@gmail.com wrote:
But the problem remains...
Can you help me?
Not any more than Romain already did. He pointed you at the source for
the Launcher, and you can inspect that to understand how to implement
the feature. You might
On Fri, Jul 10, 2009 at 1:00 PM, Mark Murphymmur...@commonsware.com wrote:
warning: Ignoring InnerClasses attribute for an anonymous inner class
that doesn't come with an associated EnclosingMethod attribute. (This
class was probably produced by a broken compiler.)
At least in some cases,
On Fri, Jul 10, 2009 at 1:25 PM, Mark Murphymmur...@commonsware.com wrote:
Dan Bornstein wrote:
That message is only ever produced because of entirely local
information about a class, and the trigger condition is exactly as
stated [...]
I apologize for my mistake -- I was thinking
On Tue, Jun 30, 2009 at 8:16 PM, Hirohiroy...@hotmail.com wrote:
I can resolve this by omitting the input parametter in getBytes as
follows.
unicode = new String(unicode.getBytes(), ISO-2022-JP);
It seems to me getBytes(ISO-2022-JP) won't work...
Upon rereading your example, it's not clear
On Sun, Jun 28, 2009 at 8:18 PM, Hirohiroy...@hotmail.com wrote:
I've changed as follows.
unicode = new String(unicode.getBytes(ISO-2022-JP), ISO-2022-JP);
However it won't convert the string as I expect...
That's vexing. Can you please file a bug including a complete
compilable/runnable
On Thu, Jun 25, 2009 at 8:31 PM, Hirohiroy...@hotmail.com wrote:
unicode = new String(unicode.getBytes(ISO2022JP),
I believe the encoding name you are looking for is ISO-2022-JP (with
dashes). The system should also recognize the name Shift_JIS (which
is a different encoding).
-dan
On Mon, Jun 15, 2009 at 2:43 AM, Hjalmaremail...@gmail.com wrote:
Does dalvik have any limitation it puts on classfiles, mainly size
related?
In groovy we have a huge class thats need to be able to be reflected
upon, but it silently fails. IE theres no error during build(dex) or
load time
On Mon, Jun 1, 2009 at 9:20 PM, Robert Green rbgrn@gmail.com wrote:
Dan, thanks for clearing that up.
Glad to be of service.
It's always nice to have *the* guy who wrote the VM
(emphasis mine) I definitely can't take all that credit, not being
surrounded[*] as I am by the *many* fine
On Mon, May 25, 2009 at 1:34 PM, Mark Murphy mmur...@commonsware.com wrote:
2) What about local variable arrays? Do those go in the heap (short
lived, GC) or on the stack?
The array is on the stack. If the array is a primitive array (int[]),
that covers everything. If the array is of
On May 11, 6:14 pm, Keith Wiley kbwi...@gmail.com wrote:
On May 11, 5:58 pm, Dan Bornstein danf...@android.com wrote:
How are you invoking it? From the commandline, dx should emit a
Eclipse does it all automatically when it builds.
description of any problem to the console. From
On May 12, 3:25 pm, Keith Wiley kbwi...@gmail.com wrote:
I know how to give java
more space directly, ala -Xms and -Xmx, but not when I run dx as an
executable.
You can pass the vm that runs dx an argument by prefixing it with -
J. So, to set the maximum heap size to 500 megs, you could say -
On May 10, 7:23 pm, Peter Carpenter
peter.carpen...@skytechnologies.com wrote:
However for each one of these scenarios I keep getting the following
exception thrown by the davlik compiler. [...]
UNEXPECTED TOP-LEVEL EXCEPTION:
java.lang.IllegalArgumentException: already added:
On May 11, 5:40 pm, Keith Wiley kbwi...@gmail.com wrote:
Bump. I've pretty much stated what I need. I've been fighting with
this all day and can't get it fixed. I tried Retrotranslator, but I'm
still getting error 2 ondalvikconversion. How do I get thedalvik
converter to tell me what's
On Mon, Mar 30, 2009 at 11:09 AM, Mark Murphy
mmur...@commonsware.com wrote:
When I tried putting src/java/beans/PropertyChangeEvent.java and
src/java/beans/PropertyChangeListener.java in my source tree, though, I
triggered the --core-library error message from dx.
It seems like there's a lot
On Thu, Mar 26, 2009 at 9:43 AM, DaRolla
netzprofi.ma...@googlemail.com wrote:
I need to know how to add the parameter --core-library to Eclipse,
especially to DEX.
I managed to work around with activitycreator and ant scripts
(build.xml), but this way it takes too long.
Where can I
On Mon, Mar 30, 2009 at 11:12 AM, BeWillDir wmmichael...@gmail.com
wrote:
Now I'm preparing for a trip and I want to continue development
on my netbook, but I'm haviing trouble with the build process. It
appears to run the compiler OK, and generates a set of class files
identical to that on
On Mon, Mar 30, 2009 at 5:46 PM, BeWillDir wmmichael...@gmail.com
wrote:
The dx command worked OK on the original system, but
not on the new one. Here's why:
The proximate cause was that I was sloppy installing java. The new
(Debian) system has a java command that does this:
On Sat, Mar 28, 2009 at 3:16 PM, Marc gram...@gmail.com wrote:
So I have the following code...
StringBuilder sb = new StringBuilder(4096);
while (true) {
int i = in.read();
if (i == 0)
On Thu, Mar 26, 2009 at 3:06 PM, HotHeart korshakov.ste...@gmail.com
wrote:
I have switch with 255 cases in my project - DroidGear...
How i could optimize it?
Other people have already covered much of the territory, but I wanted
to add that it is more efficient to execute a switch code where
On Mar 25, 4:37 pm, Mark Murphy mmur...@commonsware.com wrote:
Stoyan Damov wrote:
I can't provide a way to reproduce the problem.
[... helpful advice elided ...]
Providing steps to reproduce failures, whether in tools or class
libraries or whatever, has been a standard of professional
On Thu, Feb 26, 2009 at 12:15 PM, strazzere str...@gmail.com wrote:
Here is a small snippet; [...]
I'm sorry to harp on this, but please provide a complete, *compilable*
and *runnable* example, along with what you actually observed when
running it (e.g., log output)
I don't doubt that you are
On Mon, Feb 23, 2009 at 8:31 PM, strazzere str...@gmail.com wrote:
Everything seems to be going smoothly until I get to running the
project and the dalvikvm spits out errors such as rejecting opcode
0x6e at 0x000e which seems to make no sense to me.
Can you provide a bit more context from the
On Thu, Feb 12, 2009 at 12:55 AM, sancane sanc...@gmail.com wrote:
I only want to know if there is some way to get the declaration order of
the fields in the main class.
There is no such functionality in Dalvik.
And to reiterate, though maybe it happens to work on your desktop VM,
it is
On Tue, Feb 3, 2009 at 2:50 PM, Nanard bsegon...@free.fr wrote:
If I test my application and generate a .apk, or if I use the 'Export
unsigned' menu, I get the
same application size.
How can I remove debug information for my final releases ?
By debug information I assume you mean the local
On Thu, Jan 15, 2009 at 5:16 PM, Dave Sparks davidspa...@android.com wrote:
I am pretty sure that won't work. Why do you want to record a bunch of
small audio files without dropping samples?
Not that this is a target that Android explicitly caters to, but my
portable digital recorder can be
On Sun, Dec 21, 2008 at 11:34 PM, Imran imran...@gmail.com wrote:
hey can i use System.gc() in my activity to request for garbage
collection.
will it work () .. will the garbage collector be called ?
Yes it will. However, let me warn you that in my experience adding
explicit calls
On Fri, Dec 19, 2008 at 7:25 AM, qvark
joseluishuertasfernan...@gmail.com wrote:
which is the JCE provider you use under the hoods? Bouncy castle? If
so, which version?
I cannot find built-in support for PKCS12 keystores and I cannot use
BC as a third party library because their classes
On Thu, Dec 18, 2008 at 11:30 AM, sthustfo sthus...@gmail.com wrote:
Does the current android SDK provide support for
1. AES-128 encryption
2. MD5 hash computation
Yes on both counts. AES is available for use via the class
javax.crypto.Cipher (along with helpers CipherInputStream and
On Wed, Dec 10, 2008 at 2:03 PM, beachy beachy.g...@gmail.com wrote:
does the JVM scheduler use time slicing when
allocating process to threads of the same priority?
On Wed, Dec 10, 2008 at 6:18 PM, Dianne Hackborn hack...@android.com wrote:
There is no JVM scheduler,
There isn't even a JVM.
On Wed, Dec 3, 2008 at 4:55 AM, Paulo Weber [EMAIL PROTECTED] wrote:
How to open a .dex file with emulator?
Can you be more specific? What are you trying to accomplish?
-dan
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the
On Thu, Nov 20, 2008 at 11:24 AM, Dorn Hetzel [EMAIL PROTECTED] wrote:
There already are Android-specific classes and methods for a lot of
audio-related functionality...
At least for my applications, which would be new code for the android
platform, not ports from somewhere else,
I don't
On Thu, Nov 20, 2008 at 12:16 PM, blindfold [EMAIL PROTECTED] wrote:
You can find the javax.sound code, as it currently exists, in the open
source tree at /platform/dalvik/libcore-disabled/.
[...]
...the specific patches she presumably meant would be patches to make
this as-yet incomplete
40 matches
Mail list logo