Community Questions & Answers
Android Activity onNewIntent
Is it planned to implement a callback for onNewIntent in an Android Activity?
Android: currentWindow does not change on back button click
Hi. I'm using Android APIs 2.2 and Titanium 1.5.1. I'm trying to implement a menu button which fires an event to the current window (i.e. Window A) on click. This window also contains a button which opens another modal window (i.e. Window B). I can only...
Need information
What we are trying to build is an Application which will run on most of the mobile platforms (mainly Android, iOS, WebOS, Symbian(optional) ) and desktop (Windows, MAC). The application needs to communicate with our inhouse webserver which is not SOAP but...
Basic Animation Sample Application Crashes in Android
Hello, I am following the Developer Guide http://guides.appcelerator.com/en/ui_design.html and working on example in "Basic Animation Sample" The following code crashes in Android with the exception "[TRACE] E/AndroidRuntime( 488):...
Apple Code Sign Issue
I recently had to renew my apple developer certificate. I downloaded all the appropriate certificates, updated my keychain, etc. But now I can not get a build to device or package for my app (in the app store for a year now). Has anyone dealt with a...
New App in AppStore
Hello everyone, This is not really a question, is the demonstration of a I made application for a client. Application to iPad, with many features, the video below only shows part of the application. I made with Titanium Developement 1.2.2 and SDK...
Loading videos into the iPhone simulator
Hello, This is a bit of a dumb question, but I'm having troubles getting some videos from my mac, into the iphone simulator so I can play with some code samples. Is there a way to import, or atleast copy them into the directory where they reside? I found...
ScrollView Crashes App?
Hi, I wrote a simple app.js to test out scrollview and got a crash. The error is: "[WARN] attempted to load: TiUIScrollViewProxy [ERROR] The application has crashed with an unhandled exception. Stack trace: 0 CoreFoundation 0x020fbbcc...
TableView eventlistner issues
I've used Dan Tamas' tutorial to create a tableview with multiple labels in each tableviewrow.... http://cssgallery.info/custom-row-for-tableview-in-appcelerator-titanium/ However, I've been having some issues with attaching an eventlistener to each of...
How is iPads Mail-app constructed?
I'm new to Titanium but I've been working on a an iPad-app for a while now (got most of my backend done) and I'm now looking into working on the GUI. I really enjoy the splitview functionallity found in the Mail-app on iPad with the emails loading in the...
Receive Error when using a Navigation Controller in a Tab Group
I receive the following error when the application first loads when trying to setup a navigation group inside my tab group. [ERROR] Script Error = Result of expression 'Titanium.UI.iPhone.createNavigationGroup' [undefined] is not a function. at win.js...
jQuery .load PHP file increases memory usage
I have a desktop app that uses the jQuery's .load method every 10 seconds to refresh content from a php file. Every time it is called it uses more memory until the app either crashes or stops functioning. How can I clear resources/memory?
Making a thumbnail from the first image in RSS posts
My RSS feeds don't have thumbnails, and their content is HTML. How do i "cut out" the URL from the first image tag in my posts? I'm using the RSS.js file from KitchenSink. Could someone point me in the right direction? Thanks!
Toolbar under the Navbar
Is there a way show a text toolbar that is at the bottom om the navbar and on top of the tableview that when data is entered it can go into the table. I would like to to look like the search option to show and hide on the tableview like the kitchensink...
Instrumenting Performance
My (android)app is running a bit slower than I would expect on both the emulator and real device. Are there any recommended approaches to instrumenting code to see where the time is spent? I want to make sure to do it the right way as to not introduce...
What is wrong here???
Can anybody tell me why this dont work and make a : Session did end with error (null) code: var winMainmenu = Titanium.UI.createWindow({ title:'Tab 1', backgroundColor:'#fff', backgroundImage:'background.png' }); var startHeader =...
fixed size label with scale-to-fit text in it
Hi, I want to set up a Label with some text in it. The text is a long one so it will have to wrap. I want the text in it to scale up 8or down) in size in order to fit all the available space in the Label. I tried many combinations, but nothing worked...
Error when using TableView in vertical layout
Please see the example below, the table shows only 9 elements(instead of 10 items added). Any ideas why? ~~~ var win = Ti.UI.currentWindow; win.backgroundColor = '#fff'; win.layout='vertical'; var lbl1 = Titanium.UI.createLabel( { color: '#000', ...
Probably a simple XML question
Hi! I have no problem parsing "title" and "description" tags from my own XML file. But when I add a custom tag in my XML file, like "cars" for example, I can't get it to work. My app says that it's "not an...
Simple label will not render
I am really lost as to why this label will not display. I have tried added it to the input and it does not render. If I add it to the view it does render, but the position is always smack dap in the middle of the page. I just want this input field to...
Titanium Desktop Development
Hi there, I am a newbie, I like the platform and would start by building a desktop application but it seems that there is not much emphasis on Titanium Desktop. Are there any tutorials or guides on how to get started on Desktop apps. Thanks, Kazam.
How do I use className??
I find the className property VERY confusing. I assume it'd be like classes in CSS.... you declare the class and set its properties, then you assign that class to elements as you wish. This doesn't seem to be the case. May someone explain this to me? I...
Set Properties of All Table Rows?
I want to be able to write the properties of each button once (for obvious reasons), like this: ~~~ var btns = [ {title:"Pay Your Bill"}, {title:"Make A Claim"}, {title:"Manage Account"}, {title:"Customer...
Titanium support for maps other than google map
Hi, I wondering whether Titanium can support display and functionalities of maps other google map? For instance, in certain countries, google map may not be as detailed as some of the home-brewed ones. Thanks in advance!
NYC Meet-up Anyone?
Anyone from the NYC Metro area want to do a Titanium meet-up?
Nokia Support in the future?
Hello, I created WRT apps on Nokia using Aptana a while back and was wondering if Appcelerator had any plans of including nokia in the future. Thanks
Activity Indicator style generated an error sdk 4.1/titanium sdk 1.5.1
what's wrong? i copy the code from kitchensink. kitchensink work in iphone simulator. ~~~ var actInd = Titanium.UI.createActivityIndicator({ bottom:10,...
android database creation error
whenever i am trying to create a database using either of Titanium.Database.open or Titanium.Database.install i get an error Location : app://app.js Message : TypeError: Cannot call method "open" of undefined (app://app.js#2) on...
Execution of Windows in URLs of TabGroup
It looks like the code in Javascript files that are URLs of Windows, which are part of Tabs of a TabGroup don't get executed until their respective Tabs are shown (or selected) on the TabGroup. Is there any other way to get them executed? I thought...
Application killed by springboard - Warning from DTPower?
Hi, My application keeps being killed by springboard (signal 9) after about 5 minutes of extensive testing on an ipod touch. When looking at the log files the following warning message always appears before springboard kills the app...
paragraph text
On one of the pages I'm just going to have a few paragraphs of text. What is the best function to use for this? Label or textarea? (i don't like text area because it pulls up the keyboard). Thanks,
Anyone having problems with event listeners?
1.4.2 everything was great but with 1.5.1 it seems that random 'click' event listeners on buttons are broken...some work, some don't so wondering if anyone else has experienced this and if they found a fix. Thx!!
Can I user HTML code inside a scrollable view?
edit: correct title - Can I use HTML code inside a scrollable view? Hello! I am developing an ebook app. Its just a simple app that will let users read an ebook. For that I am planning to use the scrollable view, but I can't find a way to insert HTML...
What is "App URL" under Your Applications?
On https://my.appcelerator.com/apps there is a link called App URL for each of my apps. What is this used for? When I click it, I get a 404 error.
Including external js and css in Desktop
Has anyone managed to get external css and javascript included in their desktop app? Here's an example of the code I'm using. ~~~ <link rel="stylesheet" type="text/css" href="css/style.css" /> <script...
How to unregister background service
I see there's an unregister method but what's the syntax for using it? There's nothing about it in the documentation or KitchenSink.
file upload fail
I'm trying to push a file to my server but it is failing. I know the file is going up to the server, but I think its how I'm setting up my headers thats the problem. I looked in my error log and found the following: ~~~ ModSecurity: Multipart parsing...
Open camera enable gallery button
the native camera interface in android phones shows functionality for 'take a photo' or 'open the gallery' using Titanium.Media.showCamera only shows 'take a photo' and the gallery button is missing. I have set showControls:true. is there another method...
TableViewRow Font Size - Revisit, Take 2
This just can't be this hard, yet in Kitchen Sink it is. All I want to do is have a label (instead of a title) in a tableview row, and add it with other parameters. This code works: ~~~ var cur_win = Titanium.UI.currentWindow; var lbl1 =...
1.5.1 Compiler Crashing when specific label text assigned.
I'm simply assigning a string of text to a label and then adding the label to a view. When I assign a specific string value, the compiler is crashing. [update] I originally copied/pasted this text from a Word doc. Upon retyping all of this text, the...
Does Ti support NSUserDefaults for pref storage?
I'm looking for the method to store application preferences. For example, username and password. In Objective-C, you achieve this by using the NSUserDefaults class which stores the name/value pair in a plist. Couldn't find a kitchen sink example or...
Problem of Facebook API Login
how can i open the login window of facebook from our own button without FBConnect Button? Thanks in advance.
CurrentWindow not working as expected
I've got a real painful issue that I've been working on through the night (stubbornly). I'm trying to use the tabs example posted in another thread(see link at bottom). In my example I'm having a very odd issue. If I make a certain tab the initial tab...
scrollableView crashes
Hi Guys, I just try to make, my first, a simple app for the ipad. It should be a small (80 pages) magazine where the user can swipe through the pages in landscape and portrait mode. At the moment I build a scrollableView for landscape and one for...
Titanium 1.2.2 and SDK 1.5.1 - iPhone Install Error
I've circled the FAQs for a few days now, attempting to fix this issue from other posters who have had similar problems. None have worked. I've deleted projects, synced phones, reinstalled profiles, completely uninstalled Titanium and reinstalled and...
Table View Row Font Size revisited
Under the Documentation for Ti.UI.TableView, properties listed include "data", "font-size", "font-style", "font-weight", etc. However, when you attempt to create a TableView with the font properties clearly...
Current Version Number
Hi, What is the current version details of Titanium and its parts, and where can i find this out in future. I have the same issues as this guy;- http://developer.appcelerator.com/question/69511/extra-space-remains-after-keyboard-pops-up But i am on...
Trouble with oAuth and Foursquare
Foursquare API v1 will not be supported this summer and an app I've been working on uses v1. So now I have to switch to v2 and use oauth which I've never used. I'm having trouble with oAuth and Foursquare API v2. I've looked at a few oauth twitter...
Database Connectivity
I m making A DESTKOP Application using PHP. Can I have database connectivity in it and if yes then where to save all the database files and code for it.
isOpaque property
Is there a way to leverage the isOpaque property from UIView?
Showing 36,651-36,700 of 47,586 1 … 729 730 731 732 733 734 735 736 737 738 739 … 952