Daniel Dreiberg wrote:
> Hi,
>
> I see this example of MenuCallback code, but i don't understand where is
> the reference 'ImageManager.IImage image' comes from?
> How is that image get created and passed it to MemuCallback?
>
> MenuItem item1 = menu.add(IMAGE_SAVING_ITEM, MENU_IMAGE_SHARE, 10,
>
> R.string.camera_share).setOnMenuItemClickListener(
>
> new MenuItem.OnMenuItemClickListener() {
>
> public boolean onMenuItemClick(MenuItem item) {
>
> onInvoke.run(new MenuCallback() {
>
> public void run(Uri u, ImageManager.IImage image) {
>
> //....
>
> }
>
> }
>
> });
>
ImageManager is not part of the SDK. It is a class within the Camera
application.
--
Mark Murphy (a Commons Guy)
http://commonsware.com | http://twitter.com/commonsguy
Need Android talent? Ask on HADO! http://wiki.andmob.org/hado
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~----------~----~----~----~------~----~------~--~---