MsgBox for monkey?
Monkey Forums/Monkey Programming/MsgBox for monkey?
| ||
| Is there a MsgBox for monkey tat will work on most targets? I have tried the ShowAlert from diddy with no luck. Thanks. |
| ||
| Posted a few days ago, any ideas? |
| ||
| native ui? no. |
| ||
Android:
class utils_message{
public static void message(CharSequence message){
Toast.makeText(MonkeyGame.activity.getApplicationContext(), message, Toast.LENGTH_SHORT).show();
}
}
HTML5:
function message(msg){
alert(msg);
}
|
| ||
| @bruZard, Is this native code or can I use it right in monkey? |
| ||
| it is native code Java and JavaScript. |
| ||
| I am surprised no one has made a messagebox in Monkey that can translate to the other languages, like the rest of Monkey does. |