Community Questions & Answers
How to hide Keyboard
Hi, I'm new to Titanium and i'm tryin to create a calculator app for my own use. The problem is, that none of the default apple keyboards have the buttons i need, so i'm trying to make a custom keyboard layout with single buttons. My Question is now, how...
Creating a Custom Dialog.
i want a design the custom alert Dialog with custom images and custom Button . any body who can guide me because i havent found any success yet. Thanks:)
iOS - problems with fonts
Good evening, i want change the font from a label. I had read the documentation but it does not work for me. http://docs.appcelerator.com/titanium/latest/#!/guide/Custom_Fonts I try many fonts like "Arial" or "Helvetica" also i...
Replace window content
Hi, I'm developing an android application and I have to obtain this result. Because I don't like native tabgroup for android and because I'd like to have a custom title bar that show the brand of the app (that is not possible in android) I thought to...
How to hide Keyboard
Hi, I'm new to Titanium and i'm tryin to create a calculator app for my own use. the problem is, that none of the default apple keyboards have the buttons i need, so i'm trying to make a custom keyboard layout with buttons. My Question is now, how can i...
How to create a custom picker using other controls
See [screenshot of custom picker](https://dl.dropboxusercontent.com/u/2733882/customPicker.png) I know there isn't a way to style the picker control in Titanium. This picker only needs to work on iOS (iPad only). I was thinking I could hack the TableView...
Custom ActivityIndicator
We've created a custom activity indicator that uses animation to create an effect where a tail is chasing itself around the company's logo. It uses the following setInterval function: ~~~ setInterval(function() { var t = Ti.UI.create2DMatrix(),...
Code completion for module proxy methods
Perhaps I missed the documentation, but is there a way to define the proxy methods in a module I am developing so that code completion works? Ti has code completion for all of its internal modules, but when I test with my own module, code completion does...
Using getElementById and getElementByName
How can i use `var elem = document.getElementById('object_id');` or `var elem = document.getElementByName('object_name');` pure javascript codes in titanium? Thanks in advance.
How to query ACS selecting fields?
Right now an ACS query looks like a `select *`. There is a way to do a `select field1, field2` alike query so I can get only the fields I want at a give moment?
Creating new project templates in Alloy
Hi Does anyone know if it's possible to create a new (custom) project template for use with Alloy? I've done this for traditional Titanium projects by creating a new template within an Aptana Ruble in Titanium (v.3.0.2, Mac OS X Mountain Lion) but I...
Where Should Custom Fonts Be Placed in the Alloy File System
Hi there- I see that within the Kitchen Sink application of a non Alloy application, I can place a custom font otf file in the Resources/etc directory and reference the font family. In the new Alloy directory structure, when using a custom font, where...
Custom TableRow Displaced after SDK 3
Hi, when i scroll fast to a tableview using sdk>3 the rows get mixed up (displaced on top of other rows) until i click again on the table. This displacement is affecting only labels are there any solutions? I am just adding the label to the row...
Custom tabgroup
I'm trying to create a custom tabgroup. I want to have two of the tabs have a higher height than the other three tabs (this is for iOS). When I manually set the height of the tabs, it doesn't change anything. Is this possible with tabgroups? If not,...
how to create custom tab bar
Hi, I want to create a custom tab bar, with custom images (normal and selected), and other way to open the windows asociated to this tabs. For example... I have 4 tabs: Tab1, Tab2, Tab3, Tab4 For example, if I open the Tab2... this tab open with...
custom combo box in titanium
how can i create a custom combo box in titanium, because i haven't found such one when i searched the docs.
Create dropdown
i am new to the titanium , i have requirement of developing dropdown ,which contains data, so that user can select any1 of them in the login page.pls anybody help in this issue.its very urgent
Fill tableview with custom data ACS
Hi, I can't fill my tableview with data. Code: ~~~ var win = Ti.UI.currentWindow; var Cloud = require('ti.cloud'); function getData() { var data = []; Cloud.Objects.query({ classname : 'Kristianstad' }, function(e) { if (e.success)...
How to debug an android custom module ?
Hi ! Is there somebody know, how to debug a custom android module with titanium studio on windows. I only see a recommandation to add Log, but it's not the good way for me, i need to put some break pointsin the java code. Details of my configuration : I...
Specifying font weights using custom fonts in iOS
Hi all, I'm tearing my hair out over custom fonts on an iOS app. I've used them before with no issue, but only ever using 1 font and not using various weights. So I've done the Plist update, added the 2 fonts I want to use to the Resources folder and...
Custom URL Scheme - iPhone & Android
Hi, I am looking on how to implement the **Custom URL Scheme** feature (i.e launch the mobile app when clicking on a link in safari or e-mail) for both iPhone and Android. My goal is to send an e-mail with an HTML link ~~~ <a...
Launching Your Own Application via a Custom URL Scheme
Hi There, How can I work with Custom URL Handlers with Titanium? I've added the "URL Identifier" and "URL Schemes" on the info.plist file, see code below ~~~ ...
custom tab group
i need tabs and tabgroup to be customized as shown in imaged bellow:  is that possible for android?
My custom module no longer found in 3.0.2
I have developed a small custom module for iOS that worked fine until I switched to 3.0.2. When I used 3.0.0 I followed the instructions on http://docs.appcelerator.com/titanium/latest/#!/guide/iOS_Module_Development_Guide for how to use the new module...
WebView and font-family css problem
How can i set custom font to different tags in HTML loaded in webView? ~~~ <html> <head> <title> </title> </head> <style type="text/css"> h1 {font-family:...
Custom annotation BALLOON
Hello, i am developing a mobile app for iOS and Android (Titanium 3.0.2) that uses maps and annotations. It already uses customized pins, but we also need to customize annotation balloons. I already tried setting a custom view as "leftView" or...
Custom Font
In my app I'm trying to use custom fonts (OpenSans.ttf and Montserrat.ttf from Google Web Fonts). I followed all steps from the [docs guide](http://docs.appcelerator.com/titanium/latest/#!/guide/Custom_Fonts), but the fonts doesn't show up in my app. I...
ACS: Update Custom Object
In the ACS update custom object example for javascript it doesn't show how to set the object id. I have tried several variations, but nothing seems to work. Here is the code from the example: ~~~ var sdk = new...
Custom tabbar iPhone (& Android if possible)
Hi! I want to have a custom tab bar in my app. I want it to look like [this:](http://lucyseven.com/dump.png) And when i click some other tab i want the green image to be on that tab. I have looked at...
Urgent Cannot remove titanium splash screen or use custom
Hi All I found a really annoying bug would love a fix or a solution i can see the bug has been report here https://jira.appcelerator.org/browse/TC-1660 I am using the latest titanium install and sdk 3.0.0.GA I have my project structure within my...
Using the Navigation Group and a Title Control on iOS
I'm using a custom view and assigning it as a window's `titleControl` in order to customize the window's title. It works fine, even when the window is the `window` property on a Ti.UI.iPad.NavigationGroup, except when I go to open a new window in the...
Unable to display images from custom ios module
Hi, I am building a custom ios module that wraps a library that display some images. It was alright if it runs in native xcode, but once it is wrapped in titanium module, the images can't be displayed. The library is accessing a list of images in a...
iPhone Module Won't Link to 3rd Party Framework
I've read lots of posts on this, but none of them help me. I've created a custom iOS module that's dependent on a 3rd party framework: SpeechKit I've got the SpeechKit framework added to my XCode project and per the docs I've modified the module.xconfig...
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 :...
Custom ProgressBar using a Slider
Well this isn't a question, but a solution for past and possible future question on the subject. A few weeks ago, searching for a way to customize at least the colors of a ProgressBar in iOS, my ticket sent me to [tenderapp...
Custom TableView not working on Android
I can't edit my last Q&A so i start a new one. Custom TableViews on Android with SDK 3.0.0 does not work. Try this: http://pastie.org/5707826
Changing default font
Hey Developers, I just got my custom font working, but now I want to have this font set on every label in my app. Is there a way to change the default font into my custom font or do I really have to set the fontFamily property for every single label in my...
Custom font glyph as tab icon
I'm looking to one of the symbolset fonts in my application and I'm wondering if it's possible to use a font glyph as a Ti.UI.Tab.icon ?
Android setActualDefaultRingtoneUri in Ti
Trying to set a default ringtone via Android Ti app but there is no method for that. In Java it can be done with setActualDefaultRingtoneUri method. Does anyone have a module developed for this method? Or is there a workaround to do this?
customize switch
Hi, is it possible to have a switch like this : http://dzmob.net/switch.png thanks.
Best sollution for a custom tabgroup?
What is the best sollution to create a custom tabgroup which works on both iOS and Android? I have to create a tabgroup for both iOS and Android and couldn't find any examples. What I have in mind right now is simple; creating a view which mimics a...
TabGroup customization on both Iphone and Android
Hi, I found some code samples about tabGroup customization for IPhone, but nothing worth on Android. A simple code sample for Iphone and Android app with tabs customized (text, icon and background color) would be appreciated. Thanks, Pascal
Invalid OAuth signature in Query for custom objects Node.ACS
I am trying to retrieve a set of custom objects created by the current logged in user but I get a ~~~ { "success": false, "error": true, "code": 401, "message": "Invalid OAuth...
Custom search result table view.
I generate a table with this piece of code, but when i search thru it with a searchbar it doens't give any results. Any help on how to resolve this AND style the search result table view? ~~~ var data = []; for (var x=0;x<40;x++) { var image =...
Custom picker with circular(looping) column effect
Hello, I want to create a custom a picker which is very similar to date/time one. I have 3 columns: day of week, hour, hour quarter (15, 30, 45). I would like to make the column circular, like date/time, i.e. after sunday, to have monday, without going...
about notification
I want to customize the notification,when I set the width and height,the notification is not change,why?
Camera Custom Overlay
Looking at the KitchenSink example, the camera custom overlay displays a red focal square when you are taking a photo with the camera. I'd like to figure out how to actually save that overlay with the photo taken. In other words, combine the overlay...
Custom Table View - Show more rowData in Subview
Hi, i have custom TableView with an click Event: if (e.rowData.cmsstoryid) { Ti.App.fireEvent('viewAktion',{ value1:e.rowData.value1, value2:e.rowData.value2, parentWindow:"Window1" }); } the Event creates a new window where I want...
TableViewRow and Custom Row
im trying to add custom row (Lable) with right image to tableViewRow the problem is that lable took space larger than image and when i run the app it looks like there is a 2 rows !!! this is the code .. ~~~ var rows = []; var viewRows =...
ACS custom fields Date
Hello everyone, I'm devloping a native android app which uses the ACS. I would like to add custom field to my users table which holds Date type. I've followed the documantion and inserted a string in the right format. In my ACS management web UI, I...