Community Questions & Answers
Tabs appeared centered in screen with ios
Trying to make an application working in Android and Ios and it's really a nightmare. So for the first problem, I decided to use a tabgroup which seems to be a solution to problems with modal, fullscreen and other attributes not working the same with the...
android HTTPClient POST problems
I have the following code and anytime it's executed createReq.onError is called. What's wrong here? Using latest mobile SDK and android emulator. I'm sure that "somehost" (removed actual host) is working! ~~~ var createReq =...
How To Position a Popover with a ButtonBar
I'm trying to create a ButtonBar with 2 buttons that when clicked, will show an iPad Popover underneath the clicked button. Getting Popover positioned correctly seems to be the problem. I can get it to show up centered below the ButtonBar, but it's not...
Can't get window/view to open from specified URL
You can view a screen capture video of the problem in action at the following URL: [http://www.atlmetal.com/mediaplayer/player.php?user=ATLmetal&id=122](http://www.atlmetal.com/mediaplayer/player.php?user=ATLmetal&id=122) Button...
Can't get window/view to open from specified URL
I have created a window in which has two buttons that when clicked, animate using the "Titanium.UI.iPhone.AnimationStyle.FLIP_FROM_LEFT" animation. The only problem I am having, is that when you click on either button it does the animation as...
Can't get window/view to open using
I am new to titanium developer mobile as-well-as developing for iphone all together. But, I have been a web developer for years mainly using HTML, CSS, PHP/MySQL, some Javascript, etc. So I thought I would give it a shot as i have a website I would like to...
Can't get window/view to open using
I am new to titanium developer mobile as-well-as developing for iphone all together. But, I have been a web developer for years mainly using HTML, CSS, PHP/MySQL, some Javascript, etc. So I thought I would give it a shot as i have a website I would like to...
First image of the loop not clickable
Hi, I have a strange problem. I have a loop with some images. When you click on one image it loads another page with the big image. All the images are clickable execpt the first one. Any idea why this happens? Here's my code: ~~~ var win =...
Application Foreground & Background Event
Hello, I have to display a splashscreen when the IOS app becomes active after leaving the background mode. What is the event for this ? Regards
App Submitting with Xcode
Hi this is my first question and i hope having an answer so, when i was submitting my app, the package build with titanium was successfull but with xcode organizer when i clicked on submit, i had this error in new window and xcode crashes...
Change target iOS device
I created an iPad project but want to deploy to both iPhone and iPad. I don't see an option in Titanium to do this. Is this an easy switch or do I have to recreate the project and add my files?
Encrypted Database
How would I go about using an encryted database for my data like you can in AIR? Is that possible here?
using a webview (or a webview in a view) as detailview in splitview
Hello everybody, I'm currently developing a document manager on the ipad, make use of the split view. for the master view everything is alright: i used a navgroup (as seen in the kitchen sink for ipad example) and it works very smooth. i loaded the...
is it possible to close tabs in tabGroup?
hi, i try to close tabs from a tabGroup. there is this method tabGroup.removeTab(); but i just can't get it to work on android. did anybody got it working??
Using Titanium.Network.addConnectivityListener
Is this how I would use the connectivity listener? ~~~ if (Titanium.Network.addConnectivityListener()) { //code I would use to do something if connected to internet } else { //code for not connected to internet } ~~~ Thanks for the help.
Ti.Media.VideoPlayer property for current playback time?
I'm creating a custom progress bar for VideoPlayer and thus I need to get / set some kind of property which contains the current playback time. I couldn't find anything like that on the API Reference, so any help will be much appreciated. Thanks!
Have I found a bug?
Hello. I have made an application with Titanium and it works fine in all emulators and in all android phones that I have tested, except in one. My costumer has a LG P500 with Android Version 2.2. This is the code I have...
open tabs in tabGroup
hi, i have a tabgroup instance, and open tabs with this method: ~~~ function addTab(s) { var w = Ti.UI.createWindow({url: "/view/tab.js"}); var tab = Ti.UI.createTab({window:w,...
Holding execution for a while
Is there any sleep function to hold execution for fewer seconds and then continue?
Sleep function
Is there any sleep function to hold the execution for certain seconds?
How to create a drop down list for a text field for Ti Mobile (Android)?
Hi, I just wanted to know how to create a drop down selection list for a text field in a form (Sign up page). I wanted the drop down list to allow users to select their respective Country codes for mobile numbers based on their Country names. Please...
How to create a drop down list for a text field for Ti Mobile (Android)?
Hi, I just wanted to know how to create a drop down selection list for a text field in a form (Sign up page). I wanted the drop down list to allow users to select their respective Country codes for mobile numbers based on their Country names. Please...
How to create a drop down list for a text field for Ti Mobile (Android)?
Hi, I just wanted to know how to create a drop down selection list for a text field in a form (Sign up page). I wanted the drop down list to allow users to select their respective Country codes for mobile numbers based on their Country names. Please...
SQLite3 and app connectivity,plz help..
iam working on the same login validation app for android and have added one signup new user button,but i am not able to actually insert the data,i have used SQLite database manager created on DB named logindetails in the resource folder of my app,then i...
connecting app with sqlite DB..plz help
Its the same login validation app for android.for signup new user,i have made one DB named logindetails and one table named login in that DB using SQLite database manager,here are the codes... function insertRows(dbData) { var db =...
Kitchen Sink iPad, run in simulator, grey screen
I've loaded the Kitchen Sink iPad project into titanium, when I click on the "Run in Simulator" tab the tab's window is just grey... I have the latest version of everything installed. The iPhone version works fine. Any ideas?
Not able to launch sample app on iphone emulator
Hi, I have following system configuration:Xcode:3.2.4,Mac OSX :10.6.3,Titanium :1.2.2 I downloaded Titanium Developer for mac. Now I have created a sample project for mobile using following steps: 1.Create New project 2.Select mobile and iphone...
Extracting images inside multiple tags from an RSS feed
I have an RSS feed up and running that pulls and displays an RSS feed's titles and description text in a tab. However, I would also like to display images too, as in the KitchenSink RSS example. The problem is that the images (img tag) in my RSS Feed are...
Splitview help
I'm trying to make an app that basically works like the iPad Mail app. The left will have a static view of links that create windows, and the right side will be the content of these. It looks like the kitchensink doesnt show these, it has popup-overs...
videoplayer
I basically want to pull a video url from an RSS feed, and use it in a tableview (which i've done successfully), and when clicked, open up the video (this is the only part im having trouble with) In landscape fullscreen view. This is what im...
Image blend modes and video. iPad.
We are trying to duplicate the functionality of a Flash app on our desktop site that allows the user to dynamically change the color (tint) over a video that plays on a loop. It's used to show the effects of goggle lenses. We have been trying to do the...
Click event on button not firing 4 times out of five
I have built my first app and was very happy how quickly I was able to do it. Everything is fine on emulator. However, on my T-Mobile MyTouch 3G phone it seems to me that button "click" event doesn't fire every time - only 1 out of five is...
Require Minimum iOS Version / Setting Xcode Project Settings in Titanium
Our app requires iOS 4.2. In Xcode, this is configured as having a Base SDK and deployment target of iOS 4.2. How can arbitrary Xcode project settings be configured for a Titanium app? -OR- How can we configure our Titanium app to require iOS 4.2?
Android window focus/blur event handling diffs
I am completely confused as to how Android handles window and field focus and blur events vs. iOS. If I set up a simple window with one text input field, and set focus and blur event handlers on both the text field and the window, and just open the...
Ho wto reset the getArguments() value
Hi, I am using the Ti.App.getArguments() on the "resumed" Event Listener to retrieve data from an Custom URL handler. It Works perfectly but once I got the data from the getArguments() I want to reset the data in the Arguments. Is there anyway...
Status bar hide
Hi I want to hide the status bar on one of my screens, the splash screen, but have the status bar visible on every other screen in the application. How do I do this? Thanks
Titanium.API.setLogLevel doesn't seem to do anything
I couldn't find this in the documentation or in previous questions, although it's pretty basic: I'm debugging my desktop Titanium application, and the numerous 'debug' level log entries are making it hard for me to spot the more important ones (I'm reading...
Calculate how long app has been open.
Hi, I'm new to javascript and I'm having a bit of trouble using setTimout. I want to be able to calculate how many milliseconds the app has been in use. I have tried setting getTime() (the number of milliseconds since 1970) as a variable and then...
Is it possible to use a sprite atlas in TI?
Is it possible to use Sprite sheets (often called texture atlases), in Ti? For those wondering, a sprite atlas is an image sheet that contains a series of images often frames for a image sequence of a animated character or graphic element (for example:...
Why don't font properties work on the iPad?
I cannot get `fontFamily`, `fontSize` or `fontWeight` properties to work in my iPad app. The only one I can get to work is the `font` property, so I can change the type of font but cannot set its size or styling. This is a pretty ridiculous bug. How in...
I can't get createWebview to work
hey guys.. i'm new here and got into titanium for a week now. can u guys help me solve this problem. I can't get WebView to work. this is the code http://pastie.org/1470737 this is from kitchensink. CreateWindow works but not Webview.. thanks guys..!
new debugging system for titanium - cloudebug
The real-time, internet-based debugging system designed for Titanium Appcelerator: **http://www.cloudebug.com** --- As long as the device that is running your app is connected to the Internet - you can debug your code by using any browser, from...
new debugging system for titanium - cloudebug
The real-time, internet-based debugging system designed for Titanium Appcelerator: **http://www.cloudebug.com** --- As long as the device that is running your app is connected to the Internet - you can debug your code by using any browser, from...
Problems Showing HTML
I created an app completely out of HTML and inside CSS. The index page works lovely, but once I click on the tabs it will display the content in the specified div tag, but the backgound and header are completely white (it should be a gray background with a...
Width of content in a ScrollableView
I have a scrollableview and i want to get the views that are insite it closer to each other. This means when I'm on page 2, i what to see a part of the other pages (1 and 3) on the left and right site. Here is a <a...
remove row from tableview section
I've read a lot of threads about removing a row from a table, but none mention using the Titanium.UI.TableViewSection.remove function. There is also no example in Kitchen Sink. Can anyone provide an example of how to use...
Adding AdMob to iPhone
Hi, Is there a complete guide to how to add AdMob to iPhone? I have seen various posts but some say work and now don't. If I get it working via a module what are the chances of it breaking with future releases of appcelerator? I love the look of JS use...
External JavaScript files and variable
Hello, I have a problem, I have created an external JS file where I donwload datas remotely, in this js files there is some global var like this : ~~~ var banner2Use = []; var totalBannerDownloaded = 0; var allBannerDownloaded; ~~~ app.js use the...
Magazine viewer with ScrollableView
Hello, I have been trying to make a magazine app for iPad for the last month, but I keep having memory issues with ScrollableView (which is the best suited native control for a magazine). The problem is that I can't fit 300 imageView objects in memory,...
Showing 38,601-38,650 of 48,787 1 … 768 769 770 771 772 773 774 775 776 777 778 … 976