Hi,

I can send a broadcast fine, but I have an issue of attaching specific
information to that broadcast.  The intents being used is in the
format of:

final Intent updateIntent = new Intent();
updateIntent.setAction(ActivityHelper.INBOUND_MSG);
updateIntent.putExtra("screen", screenId);
updateIntent.putExtra("msg", (byte[]) data);

I can attach the action and the screen Id fine via adb but I cant
figure out how to attach the arrray of binary data.

Currently I have the command looking like:

adb shell am broadcast -a INBOUND_MSG --ei "screen" 36

This is great as I get the intent and the proper screen is attempted
to be displayed but since there is no "msg" we error as our internal
design always requires a msg to exist to populate screen data.  In
many cases the data is used to display variations of the same layout
with different information.

So the big question is how would I attach an array of binary data to
my above command?  Is this even possible?  I feel like it should be,
but I haven't been able to figure it out.

The goal I'm trying to accomplish is to display every unique screen
within our application and produce a screenshot for v&v testing.  The
ideal situation is to use the application as is and not have to do a
special build.  It seems like this should be possible from what I've
discussed above.

Thanks for any help!

-- 
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 unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to