• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Devaka Cooray
  • Tim Cooke
  • Jeanne Boyarsky
  • Ron McLeod
Sheriffs:
Saloon Keepers:
  • Piet Souris
Bartenders:

JavaArray

 
Ranch Hand
Posts: 49
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi all,
Has anyone had the opportunity to use the javascript JavaArray datatype? The LiveConnect API says when I pass an array from Java to Javascript I can use the javascript JavaArray to get an array from Java. However, no matter how I try to implement this, I don't get the data I expect. I'm trying to pass an array of strings from Java to Javascript and after I pass the array to Javascript all I get on the Javascript side is a single array element. So far I have not found any "real" examples on how to use this. Does anyone have any javascript code where they used the JavaArray they are willing to share?
Joe Crew
 
Consider Paul's rocket mass heater.
reply
    Bookmark Topic Watch Topic
  • New Topic