On Dec 8, 6:43 am, Brad Gies [EMAIL PROTECTED] wrote:
Last night, I was debugging a new class I implemented, and everything was
fine, but suddenly in one method none of my variables were showing up in the
variables window.. And in the Expressions window the variables show up, but
are marked
On Dec 5, 10:56 am, Claudio Veas [EMAIL PROTECTED] wrote:
I was wondering if anybody knows which are the classes/interfaces/
fields/methods not
supported by Android because Im getting a Verify error and I cannot
identify which is the part of the class that is causing it.
The output from adb
On Dec 13, 5:27 pm, td.ole...@gmail.com td.ole...@gmail.com wrote:
I've done some research and found very little information on these
things. What are they? If I have an app with just an APK and ODEX and
no classes.dex, can the ODEX be converted backward? I know that they
are somehow
On Dec 14, 10:31 pm, android_soft cspeche...@gmail.com wrote:
You can do everything that you can do with a normal java app, attach
the debugger etc.
One limitation: with the emulator, you can connect to any
application. On a G1, you can only connect to apps for which is
debuggable is set in
On Dec 14, 6:07 pm, Emmanuel emmanuel.ast...@gmail.com wrote:
I'm trying to use traceview.
I can create a trace file with a non zero length, but when I call
traceview, here is what I have :
There's a known bug that causes this sort of failure if you try to do
profiling with a debugger
On Dec 16, 4:40 pm, Emmanuel emmanuel.ast...@gmail.com wrote:
Actually, the trace file I get is coming from the emulator.
I uploaded it on my Pc, closed the emulator and Eclipse, and still get
the same results.
The situation is the same whether you're using the emulator or an
actual device.
On Dec 16, 1:03 pm, JS yevm...@gmail.com wrote:
Interesting. So the emulator doesn't honor the debuggable in
manifest?
Can I copy the app from the phone to the emulator and debug it?
See e.g. applyDebuggerSecurityPolicy() in
base/core/java/com/android/internal/os/ZygoteConnection.java
You
On Dec 16, 10:34 am, aditya marella aditya.mare...@gmail.com
wrote:
I too ran into this many times and my images are not on the disk they are
fetched from the network moreover none of my images exceed 5kb so i don't
understand why is it even trying to allocate 74752bytes.
What is the size of
On Dec 19, 8:09 am, Raja Nagendra Kumar nagendra.r...@gmail.com
wrote:
In order to connect android to IDE, Intellij, is it a must that one
needs to start DDMS!
Is there a way to enable debug and port redirection, with out starting
the DDMS UI.
If yes, how we know the port number and also
On Jan 4, 9:43 am, inder inder...@gmail.com wrote:
This are the Apk files as generated by eclipse (in the development
mode). What could be happening?
Use a zip utility (unzip -v under Linux, WinZip under Windows, etc)
to see the sizes of the various files in the .apk and whether or not
they
On Jan 1, 6:27 pm, Quartz william.qua...@gmail.com wrote:
But basically, I have to start the adb deamon a certain way, as
follows: kill server if running, then sudo adb devices.
Running adb as root is necessary if you don't get the USB permissions
set up right. For example:
% lsusb
[...]
Bus
On Jan 3, 12:18 am, EboMike ebom...@gmail.com wrote:
I take that back... I looked a lot more into the issue, and it seems
that the leak only occurs when a debugger is attached.
The interaction between GCs and debuggers is a little weird on a good
day. The current implementation of Dalvik
On Jan 1, 8:23 pm, lucky wjj...@gmail.com wrote:
I have tried below steps to turn on stdout/stderr log message but it
seems only stderr log message works fine, stdout message still not
output from logcat.
Make sure you disable buffering with something like:
setvbuf(stdout, NULL, _IONBF,
On Jan 5, 1:59 pm, EboMike ebom...@gmail.com wrote:
This problem seems to be particularly prevalent with exceptions - I
wrote a test app that throws an exception every 10ms and it OOMs very
quickly (and you can see the memory pile up), but also with files
(which was what 6418 was about in the
On Jan 8, 7:02 am, Derek cram.de...@gmail.com wrote:
I'm wondering if there could be some issue with package naming and
classloing
[...]
Classes under a.shared packages are slightly different (e.g. because
of different versions),
Could there be any issue ? Are we sure that app1 and app2
On Jan 8, 8:06 am, EboMike ebom...@gmail.com wrote:
For a simple demonstration of how BitmapFactory leaks, try this:
In the debugger, add an exception break on caught/uncaught instances
of IOException, and you will see BitmapFactory.decodeStream() calling
BufferedInputStream.reset():
On Jan 9, 4:47 pm, Mark K mark.ka...@gmail.com wrote:
I've tried it with no de-bugger, on the emulator, and on actual G1
hardware, I can't seem to get rid of the problem entirely. I only
process and use one bitmap at a time, bitmaps are recycled after use,
and I invoke gc(). The Runtime
On Jan 9, 2:00 pm, redlight9...@gmail.com redlight9...@gmail.com
wrote:
i am trying to make callbacks to my android application from a native
C thread using JNI. however when i call FindClass it returns a NULL
value. i need to get the jclass value returned by FindClass() to
call
On Jan 12, 2:50 pm, blindfold seeingwithso...@gmail.com wrote:
ERROR/dalvikvm-heap(10734): 518400-byte external allocation too large
for this process
even though my app's own heap use has never grown above 5 MB as seen
from looking at its DDMS view. Makes no sense to me since there should
On Jan 12, 12:43 pm, somecs somecs...@gmail.com wrote:
This issue inevitably ends up crashing my program if I cause the
update process to run more than 3 or 4 times in a row (which is
definitely a possibility with normal use by the unsuspecting user), so
it is unacceptable. Of course, it's
On Jan 13, 2:47 pm, longhairedsi longhaire...@googlemail.com wrote:
here's the relevent part of my log, I think ERROR: thread attach
failed must be the related problem, but not sure why?
That message is coming out of process ID 1554, which is in the process
of shutting down. There's a race
On Jan 13, 11:42 am, blindfold seeingwithso...@gmail.com wrote:
What log messages appear when this happens?
Okay, nothing really useful there.
Next thing to look at is the event log. You can retrieve it like
this:
% adb logcat -b events -d events.txt
It has a bunch of lines like this (I
On Jan 15, 6:58 pm, Neil neilmon...@gmail.com wrote:
I am new to Android development, and somewhat new to Java, but have a
good amount of C++ knowledge. I am having trouble using imported .jar
files to use in my code. I am trying to use the PostgreSQL JDBC driver
with my application, and I
On Jan 22, 12:51 pm, Patrick bpatm...@gmail.com wrote:
There seems to be a bug where calling FloatBuffer.put() on a buffer
create as such :
There are some known problems with the 1.0 implementation, e.g.:
http://code.google.com/p/android/issues/detail?id=1585
Can you provide a stand-alone
On Mar 9, 7:17 pm, Greg Krimer gkri...@gmail.com wrote:
I have been finding it convenient to extend Handler in many of my
activities to handle messages specific to the activity. The handler
sublass is an inner class of the activity and needs to access its
state. I am wondering if there is any
On Mar 15, 10:15 pm, micah craig mi...@micahcraig.net wrote:
Here is my complete error output:
03-16 04:47:44.411: WARN/dalvikvm(628): VFY: unable to resolve virtual
method 140: Lorg/apache/commons/digester/Digester;.setValidating (Z)V
03-16 04:47:44.421: WARN/dalvikvm(628): VFY: rejecting
On Mar 18, 7:29 am, Asif k asifk1...@gmail.com wrote:
I am storing the required test.jar file in the /sdcard. I want to
load it dynamically at runtime and want to execute a function xyz()
resides in that. For this purpose
I had written following code ,
This doesn't work -- in 1.0 you
On Mar 19, 6:57 am, Luca Belluccini lucabellucc...@gmail.com wrote:
In Sun Java I can get System endianess using the System.getProperty
(sun.os.endian).
How to get endianess of the system in Android?
One possibility: java.nio.ByteOrder.nativeOrder().
On Mar 18, 2:52 pm, Carlos Alberto tic...@gmail.com wrote:
how to decompile a. dex for instructions in machine language
anyone know of a disassembler. Dalvík in dex
dexdump -d file. Works on .dex, .odex, and .apk/.jar with a
classes.dex inside.
dexdump is included on the device and in (most
On Mar 19, 2:07 pm, Stoyan Damov stoyan.da...@gmail.com wrote:
int n = 1;
char *p = (char*)n;
int little_endian = *p == 1;
If it's C you don't even need to booleanize it:
int isLittleEndian(void)
{
/*static*/ short order = 0x0001;
return *((char*) order);
}
At any rate, the original
On Mar 26, 7:53 pm, 冰咖啡不加糖 xinyu...@gmail.com wrote:
but if use MyInterface instance = (MyInterface) o;
it failed: java.lang.ClassCastException: com.mygame.Race
The exception means that o is an instance of com.mygame.Race, and
cannot be cast to an instance of MyInterface. This would happen
On Mar 28, 2:35 pm, William william.caine...@gmail.com wrote:
i put this in my oncreate method and get an error, file open failed.
what am i doing wrong?
Debug.startMethodTracing(rufio);
Give it a full path, like /sdcard/rufio.
--~--~-~--~~~---~--~~
You
On Mar 30, 4:04 am, Daniel Johansson hann...@gmail.com wrote:
I'm experiencing the same behavior, and I'm pretty sure it's a bug.
A handful of bugs in the nio buffer implementation have been found and
fixed. If you have some code that demonstrates the problem, please
file a bug on
On Mar 30, 1:51 pm, Anton socialhac...@gmail.com wrote:
I also ran into this problem. After looking through the source to
the NIO buffers I noticed that when you use a wrapped direct buffer
the wrapping code doesn't clear the underlying buffers position when
you call buffer.clear().
Is
On Apr 1, 1:32 am, herain herainw...@gmail.com wrote:
I need to load a .so library in my Service onCreate method, but the
process just down after System.load. On the other hand, the same code
can work in Activity.
[...]
04-01 07:57:25.901: INFO/DEBUG(26719): pid: 26726, tid: 26726
On Mar 31, 2:40 am, Filipe Abrantes filipe.abran...@gmail.com wrote:
so can the the XML inflater be causing this leak? can we get a leak from
the xml itself?
How would you propose to proceed from here... im running out of options...
Can you make this happen on the emulator (or on a rooted
On Apr 1, 2:01 pm, Wesley wesle...@gmail.com wrote:
It seems that DDMS does not accept that a debugger in another host
connects to it (a scenario where host A has the Emulator and DDMS
running, and host B has the debugger).
It appears that DDMS is binding to the loopback address. Does anyone
On Apr 2, 5:02 am, Jesper T wfjesp...@gmail.com wrote:
While doing debugging with Eclipse I noted that the debugger
highlights the wrong line as next line to execute for methods with
multiple return points. It fools the developer that the last line of
the method is executed, where in fact it
On Apr 3, 2:08 am, Magnus maneman...@gmail.com wrote:
m...@labbe:/tmp$ traceview gldraw.trace
Exception in thread main java.lang.RuntimeException: Method exit
(java/lang/BootClassLoader.getInstance ()Ljava/lang/BootClassLoader;)
does not match currentmethod
On Apr 3, 2:22 pm, Ward Willats goo...@wardco.com wrote:
Are there any tools besides ddms to look at the heap? My app is using
over 2 MB just sitting there -- and the ddms track allocations
don't add up to near that amount. How can I get a good picture of
what is going on in heapville?
If
On Apr 6, 12:57 pm, Meryl Silverburgh silverburgh.me...@gmail.com
wrote:
I put calls to LOGV() in my cpp file in WebKit code in andorid, but I
don't see any log statements when I run 'adb logcat' in another shell.
But as soon as I change it to LOGE(), i see them.
Can you please tell me how
/9658dcd8dddb30c9?q=fadden+stackoverflowerror#9658dcd8dddb30c9
I mention this as a possibility because the code fragment in the
original posting is apparently stopped in a finally block. The bug
(fixed for cupcake) generally makes it hard to figure out what's
actually going on when the stack overflows
On Apr 4, 2:19 am, Jonas Petersson jonas.peters...@xms.se wrote:
In my opinion it would make sense for the acore sync process to handle
incorrect values by replacing them with HOME/OTHER instead of crashing.
I have not dug into the source, but I would think it would be a trivial
fix. I
On Apr 8, 12:00 am, Al Sutton a...@funkyandroid.com wrote:
Some material prepared in connection with a game may be subject to
copyright if it contains a sufficient amount of literary or pictorial
expression. For example, the text matter describing the rules of the game,
or the pictorial
Complaints from the filesystem code will appear in the output of
dmesg, not in the Android log file. You may want to check there.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to
On Apr 7, 9:48 pm, manohar manohar...@gmail.com wrote:
Thanks, android.os.Process.killProcess(android.os.Process.myPid());
this got worked for me
System.exit(), or possibly Runtime.halt(), are quite a bit simpler
(and more portable).
Initializing your static variables so that your app
On Apr 14, 12:46 am, Liangtao gliang...@gmail.com wrote:
The function doesn't try to do GC whenever externalAllocPossible(hs,
n) returns false. How about simply moving this call to the beginning
of function static bool externalAlloc(HeapSource *hs, size_t n, bool
grow)?
(From
On Apr 14, 6:57 am, Hans hkess...@gmail.com wrote:
I have found some extraneous information that suggests that 8kb is the
default thread stack size.
The information, while extraneous, is correct. :-)
--~--~-~--~~~---~--~~
You received this message because you
On Apr 15, 1:22 am, admin.androidsl...@googlemail.com
admin.androidsl...@googlemail.com wrote:
Is there a way for me to either force the garbage collection to
complete before the transition or delay until after the transition is
finished? I have tried System.gc() in various places but it
Most of what you're describing falls into the category of, that's how
class loaders work in the Java programming environment. If you
create a class loader, and load a class called MyClass from it, you
can't trivially refer to MyClass because the current class' loader
can't resolve it. You have
On Apr 16, 12:26 am, Tomasz Stechly tomasz.stec...@gmail.com wrote:
When I am running the activity I am getting now different error. Do
you know what it may be (see log below). Should I send separate
message to the group?
The first bunch:
D/installd( 27): DexInv: --- BEGIN
On Apr 17, 5:56 am, Asif k asifk1...@gmail.com wrote:
But if I am using the variables which are defined outside that
method ( in the same activity or same .apk) then my application throws
java.lang.reflect.InvocationTargetException at runtime.
[...]
caused due to NullPointerException.
When
On Apr 17, 6:24 am, Ask asifk1...@gmail.com wrote:
The application will be residing in the /sdcard/ and I am loading it
dynamically using PathClassLoader API.
and using Method.invoke() function I am invoking the method residing
in that class.
Presumably you are running as root, and/or have
On Apr 17, 12:08 am, Eborix13 ebori...@yahoo.com wrote:
My question was not: why can't I use 2 classes loaded with different
class loaders. My question has to do with the way Android implements
the dynamical class loading thing. It won't let you load a class using
On Apr 17, 2:01 pm, petunio juanjosegilmen...@hotmail.com wrote:
static void test(int k)
{
byte [] buff = new byte[k];
//do some stuff with buff[]
buff=null;
}
You shouldn't need to set buff to null. When the function returns
the locals go out of scope and
On Apr 18, 11:31 am, JP joachim.pfeif...@gmail.com wrote:
You may get this resolved by calling the garbage collector right
there; system.gc() after you dereference the byte array with
buff=null;
The garbage collector will produce the same result whether it's called
explicitly or the VM
On Apr 21, 2:17 am, DaRolla netzprofi.ma...@googlemail.com wrote:
In order to work with a server object (that uses Castor un/
marshalling) I do it like I always do. Same routines. Well, this time
the file is only 172kb (my routines works pretty well with 2,4mb
files) but the interlacing is
On Apr 20, 1:17 pm, JP joachim.pfeif...@gmail.com wrote:
Sure, however... if memory is released each time within the few
calls (as OP describes), the program might get through with whatever
it does. This assumes this function is not called in a loop or at a
high rate generally speaking.
On Apr 22, 3:22 pm, Mark Fayngersh phunny.pha...@gmail.com wrote:
Exception in thread main java.lang.VerifyError: (class: byteCode, method:
main signature: ([Ljava/lang/String;)V) Expecting to find object/array on
stack
Does anyone understand what this means? If my source helps, I will
On Jan 28, 5:22 am, krish24 krish2...@gmail.com wrote:
While booting, Android is segfaulting when it scans /system/app for
most of .apk present in that dir. Each time it segfaults in a similar
fashion; e.g.:
W/zipro ( 1555): Zip inflate failed, zerr=-3 (nIn=0x4101910e
aIn=1101 nOut=0x1
On Jan 30, 3:39 pm, blindfold seeingwithso...@gmail.com wrote:
Never mind, I found the culprit and fixed it. Not killing all threads
when pressing the back button seems to have been the root cause of my
problems.
FYI, we do now have a tool that can convert Android hprof output
into a format
On Jan 30, 6:30 am, Sagar Parmar sagar.india...@gmail.com wrote:
I am using Thread to display animation..I create a new thread whenever user
preference is changed.Now I want to Remove the previous thread from Dalvik
VM so that my application does not crash..How can I remove Thread from DVM??
On Jan 30, 2:34 am, Steven Lagerweij ste...@t41.nl wrote:
I found that GC can be prevented when using VBOs, nice and steady, high
fps too. But still it would be nice to see the source and/or know what
is going on when using Buffers instead. Anyone?
You can use the allocation tracker tab in
On Jan 31, 1:12 am, blindfold seeingwithso...@gmail.com wrote:
When compiling hprofConv.c I noticed that stdint.h is not included
with Visual Studio C++ products (http://en.wikipedia.org/wiki/
Stdint.h), so I fetched the portable stdint.h pstdint.h from the web
On Feb 3, 1:42 am, blindfold seeingwithso...@gmail.com wrote:
One thing that kept me from further working with this a few days ago
is that I ran the monkey tool with the --hprof option, which according
tohttp://code.google.com/intl/zh-TW/android/reference/monkey.html
puts results in the
On Feb 4, 3:07 pm, blindfold seeingwithso...@gmail.com wrote:
C:\Android\android-sdk-windows-1.0_r2\toolsadb -d shell
$ chmod 777 /data/misc
chmod 777 /data/misc
Unable to chmod /data/misc: Operation not permitted
The adb daemon still runs as a regular user on the ADP1. You need
to run su
On Feb 6, 7:38 am, johnny johnny...@gmail.com wrote:
I get an apk file from somewhere. I tried to install it the emulator
successfully. (The emulator is built from the latest code in AOSP
which should be cupcake or later). But I can't launch the application
from the GUI. It complains The
On Feb 9, 6:00 am, GiladH gila...@gmail.com wrote:
Is there a way of querying Android (or G1 or DDMS) for a list of all
currently live objects
by type and by nymber of instances.
That is:
- your app currently have 122 objects of type MyClass
- your app currently have 201 objects of
On Feb 7, 1:09 am, johnny johnny...@gmail.com wrote:
So from which version, rc1, 1.0 or cupcake, the bug in Dalvik is
fixed? Just want to make it easier when communicating with the author
of the apk file.
I don't remember precisely. Since I'm not sure this is the problem
you're experiencing,
On Feb 9, 11:26 pm, rajesh bhasin rajesh...@gmail.com wrote:
I tried to use a instance of one class ( from the utility package ) in the
code of a class in another package (main package). I tried statements like
import utility.* and even changed the code by making methods static (so tht
i did
On Feb 10, 4:41 am, GiladH gila...@gmail.com wrote:
1. hprof only works on emulator (unless i'm missing something). i
would much prefer to analize mem usage
on the device itself. Is there a tool that does it?
As implemented in 1.0 it requires root access (you need to chmod 777 /
On Feb 11, 5:15 am, AGA alex.agranov...@gmail.com wrote:
I have the following problem: I'd like to see the system log of two
days ago and I cannot. I see only 3 last hours.
How can I configure the system log size, location, severity?
The logs are held by a kernel device; the entries are in
On Feb 11, 4:54 am, sancane sanc...@gmail.com wrote:
I oberved that:
public Field[] getFields()
Returns an array containing Field objects describing all fields which
are defined. That's array is sorted as attributes are declared in the
main Class in sun jdk. For example, next Class is
On Feb 10, 7:00 pm, eric_mellon zhfzh...@gmail.com wrote:
dear all:
[...]
See my reply to your other (identical) posting:
http://groups.google.com/group/android-porting/browse_thread/thread/22f34f48412992b2/1f12fc018f640cac#1f12fc018f640cac
On Feb 10, 9:38 pm, Android sunil.mahar...@lntinfotech.com wrote:
I am getting the below two errors, can someone help me, why these
errors i am getting.
These are happening in two different processes -- the pid is in
parenthesis.
02-11 10:56:12.120: ERROR/dalvikvm(334): pthread_setspecific
On Feb 12, 10:30 am, Stoyan Damov stoyan.da...@gmail.com wrote:
Now that I'm calm I realize in my 1st post I sound like a complete jerk.
It happens. We forgive you. :-)
Some tips for the next time you see this:
On Feb 12, 1:59 am, click...@gmail.com click...@gmail.com wrote:
I am looking for little more informations rather than Hex values.
Like the backtrace feature where the stack hex values is mapped to the
function names and function names are visible.
The device can't show these, because the
On Feb 15, 8:17 am, Rye ryeterr...@gmail.com wrote:
[...] I shut down eclipse and booted up DDMS, and it finds my
device, but lists no processes running (no matter what I run).
Did you declare your application debuggable in the manifest? This
doesn't matter on the emulator, but does on the
On Feb 17, 3:02 am, Raja Nagendra Kumar nagendra.r...@gmail.com
wrote:
We understand aapt has support only for small and numbers. Any reason
for not supporting capital letters.. in future could we expect support
for the same..
Are tejasoftSplash.png and Tejasoftsplash.png the same file or
On Feb 16, 1:16 am, sukumar bhashyam.suku...@gmail.com wrote:
Im trying to convert a byte array which is in Base64 format to String
as below. Data was not assigned properly to the String. Do I need to
pass the encoding type while creating the new String?. Please let me
know the problem.
On Feb 18, 12:54 am, Rizvan S porting.begin...@gmail.com wrote:
On Wed, Feb 18, 2009 at 12:41 AM, Jiang webs...@yahoo.cn wrote:
long a = 0x1234567890abL;
long b = (a 0x);
I expect the value of b is 0x567890abL, but in practice, it is still
0x1234567890abL.
Output :
ubuntu:~$
On Feb 19, 10:51 am, Maddy malli.ar...@gmail.com wrote:
I am getting java.lang.VerifyError even though I am compiling all code
in Android platform and I do not use any external jars. The details
are follows,
[...]
On Feb 20, 9:28 am, sukumar bhashyam.suku...@gmail.com wrote:
I need to suspend/resume a thread from another thread in the same
process. I tried to look into thread apis,but I couldn't figured out a
way to achieve this.Can anyone pls point me some references to look or
give a tip to do this.
On Feb 20, 1:29 am, Maddy malli.ar...@gmail.com wrote:
I have done dexdump -d my application (AndJOSCAR) and got
AndJOSCAR.apk.dump file.
I have opened that file using Ultraedit (Text Editor tool) to look for
any useful information.
I searched for addRequestImpl and I could not find any
On Feb 23, 4:28 am, qvark joseluishuertasfernan...@gmail.com wrote:
on a regular JVM you can generate a dump in the very moment the
first OOM occurs (starting it with the -XX:+HeapDumpOnOutOfMemoryError
option), which is very useful.
From your previous posts I have deduced that's impossible
On Feb 25, 2:20 am, Alec alechol...@gmail.com wrote:
Hi i have a strange problem and cant see whats is not working. I have
developed an app, and i have been testing it on the phone by debugging
it and stepping through in eclipse. This works flawlessly (well it
doesnt crash)
My issue is when
On Feb 26, 6:58 am, sukumar bhashyam.suku...@gmail.com wrote:
I was trying to read all Contacts field one by one and generated a v-
card and store it into a database. When I have a huge number of
contacts (say more than 150), while reading 155th contacts, I see my
application is getting
On Feb 26, 1:27 am, Alec alechol...@gmail.com wrote:
hmm, well im on the 1.0 sdk, but i dont understand what you mean by
dev tools on the phone. does this mean the end user of my application
would need to go through the same proceedure? or is my phone
configured the app to wait for the
On Feb 25, 9:16 pm, jj jagtap...@gmail.com wrote:
In my logcat following messages, anybody clear me what is meaning of
thismesg
D/dalvikvm( 245): DexOpt: 'Lorg/xmlpull/v1/XmlPullParser;' has an
earlier definition; blocking out
D/dalvikvm( 245): DexOpt: 'Lorg/kxml2/io/KXmlParser;' has an
On Mar 4, 3:02 pm, loty lev.pert...@gmail.com wrote:
Recently I switched to SDK 1.1 and it worked for a short time without
any problems. Now I'm getting Can't open dex cache '/data/dalvik-
cache/system ... error and emulator doesn't start at all. Just shows
Android screen of death with
On Sep 10, 1:31 am, Jarod_ jarod...@gmail.com wrote:
Do you know if there is any log file (kind of syslog) where I can see
all the communications between my Android phone and my phone operator?
The radio log can be observed with:
% adb logcat -b radio
This is a 64K circular buffer, similar
On Sep 9, 11:59 am, DaveG david.golom...@flexilis.com wrote:
Ah, yeah, forgot about building it myself, duh. Ok, with symbols, it
becomes
clear that System.gc() is running (triggered by a JNI call up to Java)
and
is barfing on something it finds, likely because of an invalid
On Sep 9, 10:18 am, Peter Jeffe pje...@gmail.com wrote:
I should have said more clearly that in the case of these external
allocations it's acting like it can't grow the heap--i.e. there's a
hard limit that it hits against. Why is that the case? As many
threads on this subject for the last
On Sep 10, 6:20 pm, DaveG david.golom...@flexilis.com wrote:
With forcecopy enabled, I now get the crash in a different location:
Interesting. Could be that whatever was trashing the virtual heap is
now trashing the native heap. The guard areas are 256 bytes before/
after, but if the write is
On Sep 10, 5:54 pm, Peter Jeffe pje...@gmail.com wrote:
09-11 00:45:00 .maps(649) softlim=13120KB, extlim=7232KB,
extalloc=7232KB
freed 1136 objects / 115712 bytes in 84ms
09-11 00:45:01 .maps(649) softlim=13568KB, extlim=8128KB,
extalloc=8128KB
freed 3920 objects / 954368 bytes in 94ms
On Sep 11, 1:58 pm, Walles johan.wal...@gmail.com wrote:
I read this blog about how to use DDMS to track memory
allocations.http://android-developers.blogspot.com/2009/02/track-memory-allocatio...
[...]
How can I raise the limit from 8 to something higher?
The allocation tracker parameters
On Sep 11, 3:59 pm, Peter Jeffe pje...@gmail.com wrote:
It seems to me that the issue is a question of time lag more than
anything else. Is it possible that trackExternalFree() isn't being
called soon enough after every de-allocation of external memory?
It works something like this:
-
On Sep 14, 2:08 pm, DaveG david.golom...@flexilis.com wrote:
Here is
the code (should I move this thread to the NDK list?) that causes the
crash for me -- I don't see anything wrong, but maybe I'm missing
something about the ordering freeing of the resources?
The code looks right to me.
(1) This discussion should be on android-ndk.
(2) Make sure you have CheckJNI enabled (setprop dalvik.vm.checkjni
true) if you're not on the emulator.
(3) The logcat output will have some information about the crash that
you should include.
On Sep 15, 3:33 am, caval cavalzh...@gmail.com wrote:
On Sep 16, 6:30 pm, ZaichengQi vml...@gmail.com wrote:
I wrote a JNI funtion from my test module using fbfd = open(/dev/
graphics/fb0, O_RDWR), but the errno from errno.h returns me
EACCES.
# ls -l /dev/graphics/fb0
crw-rw root graphics 29, 0 2009-09-17 11:00 fb0
If you're not
1 - 100 of 473 matches
Mail list logo