Win a copy of The Little Book of Impediments (e-book only) this week in the Agile and Other Processes forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Calling the javascript function from Android

 
Siddarth Cherukumudi
Greenhorn
Posts: 29
Eclipse IDE Hibernate Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hey Everyone,
I have a javascript API library, which i need to use for my android application, generally i can use ScriptEngineManager for my Servlet or Java programs
but the same is not working, when once i deploy in the emulator, giving me a ClassNotFoundException.

Is there any way for doing it?

Please help me

Thanks a lot in advance
 
Ulf Dittmer
Rancher
Posts: 42969
73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
The Android API is a superset of a subset of Java 5; it does not include the javax.script package. Maybe http://code.google.com/p/android-scripting/ helps.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic