I’ve looking for a way to add a menu to my app, that way when someone clicks the “menu” button they will get a custom menu that I will create. however there are no relevant posts about this. I’m looking for something similar to this:
win.addEventListner("android:menu", function(e){//DO SOMTHING});
You cannot add an event to menu button, however, you can use the default menu.
Take a look at the doc: http://developer.appcelerator.com/apidoc/mobile/latest/Titanium.Android.Menu-object
This is what I use: