• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Info Needed
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Info Needed


  • Subject: Info Needed
  • From: "Hemanta Pathak" <email@hidden>
  • Date: Fri, 7 Jan 2005 23:28:51 +0530
  • Thread-topic: Info Needed

Title: Info Needed

  Hi All,

I am developing a GUI based Cocoa-Java application.

I need to invoke some functionalities present in a jar file.This particular
jar file is  built using pure Java.

I had invoked the functionalities of the pure Java objects from the Objective-C code
using the JavaBridge.

 But I am at a loss how to retrieve a byte array on the Objective-C side using the JavaBridge
 and how to access each element of the bytearray on the Objective-C side.(like to store all the elements of the array at one go

 in a buffer.)

  The code present on the jar file that returns a byte array is as follows:

   public byte[] returnRasterData()throws Exception
        {
                return rasterData; //This rasterData is of type byte[];             
                  
        }

  Any info on how to go about it ,will be highly appreciated.


  Thanx
-Hemanta.

 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Prev by Date: Re: [Newbie] How to make application reappear after a close?
  • Next by Date: Document Saved
  • Previous by thread: Re: NSSound and _NSAutoreleaseNoPool() - just leaking
  • Next by thread: Document Saved
  • Index(es):
    • Date
    • Thread