problem related JSNI
pls use this http://code.google.com/p/google-web-toolkit-doc-1-6开发者_如何学Go/wiki/DevGuideJavaFromJavaScript
IFI means int float int but if i want to use String then how can i write? pls help
Ljava/lang/String;
There is a similar example on that page (bar
), and the linked JNI spec provides further details. However, the link is currently broken, so I used Internet Archive.
精彩评论