2

I want to integrate my app with SL4A. In order to let the user to do something in reponse to events in my app i'd like to send intents with data to SL4A or just execute sl4a script in the file using filename.

How can this be done?

EDIT: i don't want to use sl4a source code in my app.

Anton
  • 1,903
  • 3
  • 16
  • 18

2 Answers2

0

You have to install sl4A and corresponding interpreter on the device.

dilip kumbham
  • 703
  • 6
  • 15
0

There are functions to work with intends in SL4A scripts. If this is what you are looking for?

http://www.mithril.com.au/android/doc/AndroidFacade.html

XcinnaY
  • 274
  • 2
  • 10
  • This seems to be Android interface available in SL4A and is used to perform action by SL4A in Android. I'd like to send intents **TO** SL4A from my Android app in order to provide actions support on events in my app. – Anton Feb 29 '12 at 11:13