What if you use *Bundle *instead (which is basically a Map implementation
that implements Parcelable as well).
--
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To
I'm using this as a way to implement a callback from my service, so
I'm using the interface as a way to pass data from the service to the
callback. Making the change you've suggested wouldn't work in this
case. That said, if you've got a suggestion for a different approach
to this problem I'd
Looks like the Bundle type works just fine. Since AIDL already
imposes a Parcelable restriction on the elements contained in a Map,
the extra requirements of a Bundle aren't a problem, and the interface
will work for what I need. Thanks!
On Nov 2, 6:37 am, Streets Of Boston
On Wed, Nov 2, 2011 at 1:45 PM, randyv2 randythech...@gmail.com wrote:
I'm using this as a way to implement a callback from my service, so
I'm using the interface as a way to pass data from the service to the
callback.
Um, I'll be surprised if what you propose here is stable. I don't
think out
On Nov 2, 10:53 am, Mark Murphy mmur...@commonsware.com wrote:
Um, I'll be surprised if what you propose here is stable. I don't
think out parameters are designed for long-term use, just for a single
call (which is equivalent to returning the value). The primary
advantage of out parameters is
On Wed, Nov 2, 2011 at 3:26 PM, randyv2 randythech...@gmail.com wrote:
Would it horrify you to know
that the link you provided is what I was using as a reference when I
started walking down this road? ;)
That depends. Did you buy the book? :-)
1. IGameInterface.aidl - This is the equivalent
On Nov 2, 12:37 pm, Mark Murphy mmur...@commonsware.com wrote:
On Wed, Nov 2, 2011 at 3:26 PM, randyv2 randythech...@gmail.com wrote:
Would it horrify you to know
that the link you provided is what I was using as a reference when I
started walking down this road? ;)
That depends. Did
On Wed, Nov 2, 2011 at 3:49 PM, randyv2 randythech...@gmail.com wrote:
I misunderstood the directions that in and out mean, and had them
reversed. It looks like the correct thing for me to do is change the
out to an in (AIDL complains without a default set, as both Bundle
and Map can be
8 matches
Mail list logo