Toast
BeanShell
source("/sdcard/com.googlecode.bshforandroid/extras/bsh/android.bsh");
droid = Android();
droid.call("makeToast","Toast using BeanShell");
Bex
include("/sdcard/com.googlecode.bexforandroid/extras/bex/android.bex")
droid = Android()
droid.call("makeToast","Toast using Bex")
Erlang
-module(toast_Erlang).
-export([main/0]).
main()->android:makeToast("Toast using Erlang").
Html and JavaScript
<HTML><HEAD><SCRIPT>
var droid = new Android();
droid.makeToast("Toast using HTML and JavaScript");
</SCRIPT></HEAD><BODY></BODY></HTML>
JRuby
droid = Android.new
droid.makeToast "Toast using JRuby"
JScheme
(import "com.googlecode.rpc.*")
(define droid (com.googlecode.rpc.Android.))
(.call droid "makeToast" "Toast using JScheme")
(exit)
Jawk
import com.googlecode.rpc.*;
BEGIN{
droid = new Android();
droid.call("makeToast","Toast using Jawk");
}
Lua
require "android"
android.makeToast("Toast using Lua")
PHP
<?php
require_once("Android.php");
$droid = new Android();
$droid->makeToast("Toast using PHP");
?>
Perl
use Android;
my $droid = Android->new();
$droid->makeToast("Toast using Perl");
Python
import android
droid = android.Android()
droid.makeToast("Toast using Python")
Rhino
load("/sdcard/com.googlecode.rhinoforandroid/extras/rhino/android.js");
var droid = new Android();
droid.makeToast("Toast using Rhino");
Shell
Not solved. Please send me answers if you have.
Sleep
import com.googlecode.rpc.*;
$droid = [new Android];
[$droid call : "makeToast","Toast using Sleep"];
Squirrel
android <- Android();
android.makeToast("Toast using Squirrel");
Tcl
source /sdcard/com.googlecode.tclforandroid/extras/tcl/android/android.tcl
set droid [android]
$droid makeToast "Toast using Tcl"
unset droid
return