20 Nov
2012
20 Nov
'12
9:13 a.m.
Hi,
if you plan to transmit bundles larger than several kByte then you should use the file descriptor method. The heap in Android cannot process large amount of data in a byte-array.
Kind regards, Johannes Morgenroth
-------- Weitergeleitete Nachricht -------- Von: Yoshimi Fujii yfujii@kke.co.jp An: Johannes Morgenroth morgenro@ibr.cs.tu-bs.de Betreff: Re: [ibr-dtn] Bundle size limit (< 1M) of Android application. Datum: Tue, 20 Nov 2012 14:43:13 +0900
Hello,
We use byte-array, instead of file descriptor. I can't tell the exact exception, but It seems to be caused inside AIDL. Should we use file descriptor interface, instead? This time, we temporally worked around using socket API directory.
Yoshimi Fujii