Community Questions & Answers
Best practice with createWindow
Hi, in my app in the start I created a window and to have a personalized menu in the top i created a view inside the window with the design and buttons I need. My question is, when i have to change window whats the best thing i can do to conserve the...
How to add soft menu button to Actionbar?
Hi. I have implemented an actionBar as in the [Ti.Photogram](https://github.com/ricardoalcocer/tiphotogram/blob/master/app) example. The problem is that I can't figure out how to add a soft menu button (that 3 little squares icon) to open the menu...
Android - Return without closing
Hi people, I'm in a trouble. I have diferents windows but when I pulse return key the app close... What i would like to do when i pulse return key is close that activity and return to the last activity. Because my app.js launch other window (with a...
How to show option menu manually
This is my code. Create Menu: ~~~ var btnMPagos = null; var btnMEmail = null; var btnMReprogramacion = null; var btnMGestionar = null; var activity = Ti.Android.currentActivity; activity.onCreateOptionsMenu = function(e) { var menu =...
sliding menu not working anymore due to deprecated globalPoint - now what?
I am using a sliding menu concept which you can drag to open and close it. It's using globalPoint, but I just read it's deprecated? When I build the app on SDK 3.0.0GA it's still there, but with the latest (3.1.0.GA) it's gone? Why is that? The code I...
Menu performance in Android
Hi all, is there any material specifically about menus/actionbar and menu updating for Android in Titanium? I see very little material about the issue and nothing about how to update a menu. My personal case, I have a menu with 4 different actions that...
Android hardware Menu button eventlistener.
So I have found how to listen for the search button and the back button on an android app however is there can't find anything on detecting a clicked menu button. Many recent apps have a button for menu on android and apple on the screen and the hardware...
How to swap pages (js files) out of a view without keeping them in memory
First, some background: This is my first week in titanium and I'm having trouble forming a mental model for how to structure content. I have a nice table-view menu that I want to use to control all the navigation in my app. It's a sliding menu that comes...
Changing ActionBar buttons (Android Menu)
I'm creating an app for Android 4.0 under SDK 3.0. I would like to disable a button from a menu that appears in the ActionBar. I know there's a "enabled" option for the MenuItem object, but I didn't find the Menu object anywhere. Additionally, I...
Android ActionBar Overflow Menu
I am just finally jumping into the new Android 3/4+ features. I have had no issues changing any properties of the actual actionBar but am unable to get the overflow menu working, it simply defaults the standard bottom menu bar from previous android...
Sliding Menu Like Facebook
Hi there, i am using this for a sliding menu like facebook, it is really cool! but i have a question, when app opens it is blinking first showing menu then main window and it is not good :( i have put there a tabGroup but this time it is not working,...
Native menu list
I need: pressing a button that appears native Android menu like this: http://fs01.androidpit.info/userfiles/3284421/image/SeesmicAndroidMuteMenu4.png without ALOY please
Action Item in same row as Tabs
Hey, I was wondering if it's possible to create a TabGroup, paired with Action Items in one single row. I'm currently on SDK3.0/Ti3, testing on a Android 4.1.2 device. My goal was to create something like...
app with Facebook app navigation style
can any one point me how to create app that has navigation like Facebook app when you press on the button with (3 lines- top left ) you will find menu under the main window please help me to achive this thank you
Android Strange Bug move views
Hi, i have a view with a button - lets say at top:10 and left:10 Now i wanna move the view to the right .... - no Problem BUT the "click" event for the button still is on 10/10 and seems not to move along with the visual stuff... This doesn't...
Android: different menus in tabgroup
Hello, I have a tabgroup with multiple tabs in my android app. The optionMenu should show different options wich depends on the selected tab. I've tested this on different devices but they behave differently. On an older device running 2.3.3 the menu is...
How to increase the HEIGHT property in a menu (onCreateOptionsMenu) in Android app ?
Hello everybody I can't figure why my menu is displayed with some differences in; Samsung Galaxy Tab 2 10.1 and Samsung Galaxy S3. In Samsung Galaxy S3 I can see all my menu items but NOT in my galaxy tab... In my Galaxy Tab 2 it seem the height of the...
MenuBar Applications
Hello All, I was wondering if it is possible to create an application in Titanium Desktop that just displays only in the menubar in OS X and is accessed by clicking on an icon? Thank you for your time, Joshua
Facebook like Menu WITH Scrollable Components?
Hey there... i am playing around for 2 Days now, and so i wanna ask if anybody did create a facebook like Menu/Strucutre for his/her App containing scrollable (eg Lists) components on the content. The Problem is the splitting between "Ok the user...
Left/Slide Menu-How to drill down from a table.
I have found several examples of slide menus on github, and have been playing around with them. How can I open a window after a clicking on a table row that is one of the main windows....
Adding a static menu to two tabbed Alloy Android project
Hi, I'm trying to add a menu (so far a static one) which is defined as a "mainMenu" Controller (mainMenu.js, mainMenu.tss and mainMenu.xml in their respective folders) to the click event off "Menu Button" (either HW or soft on some...
New iOS6 "share menu" (UIActivityViewController)
Hi all I was wondering if Titanium provides something like the UIActivityViewController from iOS6 SDK ? Something like this :  If yes, what is the name of...
ActionBar Menu Item only showing on Menu-Button Press
Hi all, I have been fooling around lately with the action bar and a tab group and I can get it to display the button alright using the "onCreateOptionsMenu" event BUT this only works for the "tab group" everytime I open a...
actionBar Overflow opens in wrong direction
Hey everybody, I just created an actionBar with 3 menuItems in the overflow menu. The problem is, that the dropdown menu opens in the wrong direction, like shown on the picture and so gets cut by the display edge. (Picture of the...
Android: Menus on different tabs show up identical
Dear all, seems like there is a bug in Androids menu handling. If I create a standard empty project (File, New Project, Tabbed Application) and use code below for ui/common/ApplicationTabGroup.js the project compiles OK. With Titanium SDK 2.1.4 all...
Menu items are not displayed initially in an action bar if you have other logic with action bar.
I noticed when I'm trying to add menu to my application and assign any action to actionbar's home icon (using an example I found here) - menu items are not displayed initially in an action bar till I click menu. If I remove a code that works with...
Is it possible to hide the menu button on Android?
I'm making an application which I'd like to be full screen, but I can't get rid of the menu button at the bottom of the screen. Can anyone suggest anything? Cheers.
menu model
Hi, I'm asking to how to make model menu like this http://imageshack.us/scaled/landing/46/img0134m.png thank's
How I can develop an Action overflow in an Actionbar
I'm creating an app for Android 4.0 API level 15 under SDK 3.0.0. I need to create a actionBar with action overflow, but a don´t have idea how i can do it. Some help?
Trying to create a custom nav group need help
Hi All I am trying to create a custom nav/tab group with titanium so i can style the group with custom styles. Here is how i am calling the group ~~~ var winStack = [{ title : 'one', image : '/todo.png', win :...
Prevent tableview that acts as a menu (facebook style) from shifting up and down after selection
The layout of our app is just like facebook and youtube (and 100000 more apps), with a mainwindow and a menu behind it. When you click the menu icon on the left-top, the main window slides to the right and the menu is visible. The menu is a view with a...
Left menu aside than facebook app (IOS)
I work in this app but I've a problem to listener click on menu option of aside menu.... This is the code: ~~~ var pruebasWin = Titanium.UI.createWindow({ title: 'prueba', backgroundColor:'#BDBDBD', top: 0, left: 0, zIndex: 2 }); var win1 =...
creating a menu like the one in the image - is it out of the box?
 Do I need to create this myself using images, or is there something out of the box? Is there any equivalent for Android?
BreadCrumb NavBar custom
Hi Team, I need build a bread crumb menu for iPad app, any reference how build it? thanks
Android - How to add a different menu to each tab?
As the documentation says, each window created inside a TabGroup is a heavyweight window. Although, I tried to add different menu entries to each window, but the menu in every tab is the same as the first tab opened... as if they where the same...
Creating a menu from a JSON
Hello to all guys, what I try to do is create a menu for my app, starting from a JSON. I have a PHP file, which makes a DB query which returns me a JSON when prompted. This JSON contains the categories, sub-categories, sub sub-categories etc etc of a...
Android Menu Item icon is not displayed
I follow the example on the API [page](http://docs.appcelerator.com/titanium/2.1/index.html#!/api/Titanium.Android.Menu-method-add) to create a menu for my Android app. It works fine but the icon in the menu item is not displayed at all. Here is my...
Android : is it possible to disable home, return and menu buttons ?
Hi all, I am working on an app that will be used in a restaurant. Since it is kind of a kiosque app, the users shouldn't be able to interact with the return, home and menu buttons because they should remain in the app "no matter what". **Is...
left menu screen
Hello all, I have been noticing that all the new iphone apps such as the facebook app, youtube and many more have a 3 line icon in the top left corner which then brings you a menu from the left. Does anyone know of any tutorials how to replicate this in...
iOS 'menu' window
Does anybody know if there is a built-in iOS 'menu' window, like the Bookmarks menu used on iPad? [Like this][someid] [someid]: http://cdn.macnn.com/article_images/article_thumbnail/safariios-bookmarks.jpg Or has anyone created one from scratch..?
onCreateOptionsMenu - solution
Hi guys, This is clearly not a question, but I wanted to post it as I have spent a long time trying to fgure it out and hopefully this will save someone some time if they are searching for a solution... I was trying to get onCreateOptionsMenu to work in...
How to add more menu buttons to android window menu
Say I have a window like so ~~~ var win = Ti.UI.createWindow({ title : 'SSSSS', layout: 'vertical', activity: { onCreateOptionsMenu : function(e) { var m1 = e.menu.add({ title : 'Logout' }); m1.addEventListener('click', function(e)...
Android Menu Button Update
In my App I have a place where you can add items to a shopping cart. To acces the cart you press the menu button on Android and the option comes up to "View Cart (9)". The number 9 being the number of items currently in the cart. This works...
Picking the right colors for Android Activity menu icons
I have an android app with an activity menu (what gets shown when the hardware menu button is pressed). My issue is that the icons I am using look fine on Android 4+ since the background of the activity menu is a dark color. On android 2.3- the background...
create a menu in my application menu of andriod
I want to create a menu in my application just like we get when we "click" on andriod screen . i DONT want this menu screen to be my starting window. This Menu screen is my 2nd window containing name and images. Please tell how can i do it ....
Create Menu From db
I want to create a menu in my application just like we get when we "click" on andriod screen . i DONT want this menu screen to be my starting window. This Menu screen is my 2nd window containing name and images. Please tell how can i do it ....
Community App - Adding an android menu
I'm playing with the community app (http://developer.appcelerator.com/blog/2012/02/building-the-community-app.html) to get a better understanding of Titanium. I'm trying to add an Andoid menu (that pops up when a user hits the Android menu button) to the...
android menu backgroundcolor
Hi, on android the menu is black by default, do you know if i can change the color of the menu?thanks
Options Menu not appearing for android app window
Hi All I'm trying to add a menu to one of the windows (TransactionsPendingWindow) in my app but cannot get it to appear when the user selects the menu option on their android device. In my debug code I see the line "*** BEFORE ACTIVITY...
Iphone menu
How do you create a iphone style menu the same style like when you create a email dialog and press oncancel