Community Questions & Answers
size problem with coverflow
On ipad, i have difficult to resize images in the right way. The lateral image, if vertical size is bigger than 300px, shrink and seems bigger than the focused one. This is what i mean: http://tinypic.com/view.php?pic=esukb8&s=7 I use the same code...
titanium module not work with titanium sdk 1.7.2.
i made titanium module which work with titanium 1.6.2 and xcode 4.0.2 application but not work with titanium 1.7.2 and xcode 4.0.2 application thanks for reply
Sending Values dynamically to another fle?
Hi, How can I send values dynamically to another file. In my Application, I added checkbox and button to the TableViewRow, this row finally added to the tableview. Here I want to send the checkbox values of the current row,to another file while clicking...
android res folders & Mac
Hi Everybody, I'm developing an app for android and i had an issue with the resolution folders (res-long-land-hdpi) it seems that when I am building my application with Titanium studio on a Mac (the test was made with several Mac), my images are not...
Can't update Titanium
I got an update notification and it doesnt work, Here is the error: An error occurred while collecting items to be installed session context was:(profile=AppceleratorProfile, phase=org.eclipse.equinox.internal.p2.engine.phases.Collect, operand=,...
deleting multiple rows from tableview
Hey guys, I'm having a hard time trying to delete multiple rows from a tableview simultaneously. I pull data from a server and search for the rows in my tableview (indexes and objects) that are not contained in the remote data (thus, have been deleted...
Local search tool using javascript for titanium mobile
Hi, I'm looking for a way to search text in several local files (about 30 files, they are not very long). Files are in html format, so a basic text search is enough. Do you know if maybe exists some kind of javascript library or sample code? Have you any...
Application failed codesign verification.
I am trying to submit my iPhone app to the App Store, but I continue to get this error when I submit or validate it: ~~~ "Application failed codesign verification. The signature was invalid, or it was not signed with and Apple submission...
Nested XML query parsing issue/question
Hi All, I have a nested XML structure as follows: ~~~ <item> <title>Title 1</title> <item> <title>Title 1a</title> </item> </item> <item> <title>Title...
Question about performance of rendering inside an event function
The app I'm working on is heavily API driven, and thus heavily event driven. When I tried it on a real device I noticed some serious performance issues, and I eventually tracked it down to the use of events when creating window elements. Below is the code...
In-App-Payment via Module SDK
Hello, has anybody managed to integrate Apple's In-App-Payment API with a Titanium project? We would try to do that via the Module SDK (http://developer.appcelerator.com/doc/mobile/iphone/module_sdk) Do you have any hints or experiences regarding this...
Codesign verification error
I'm at a loss. I've googled, and googled, and googled. I've contacted support at Apple, and I've perused the Q&A, and I can't seem to find a fix. I'm trying to submit an update to an app I created that's in the app store, but when I submit my .zip...
How to detect iPad Portrait vs. SplitView with CSS3?
I realize this is more of a CSS3 question than Titanium, but I cannot for the life of me figure it out and just wasted 2+ hours on this. I have an iPad app with a splitview that has a webview in the detailview. When the iPad is in portrait orientation, the...
New Titanium Studio... eclipse based? WXGA won't boot.
I'm familiar with Titanium in general. I'm used to the version that is seen in the tutorials... but I just got the new version and it's just an eclipse wrapped with Appcelerator. Sounds fine... but seems wonky. I remember the android boot taking a long...
Styling buttons that are not on the toolbar
I've had a difficult time finding info about how to style buttons that are not on the iPhone's toolbar. I haven't found much info about it on the AQ either. When I create a without any style I get a white button with rounded corners and blue text. If I...
Include PHP to render HTML
OK I know there is a lot of questions already asked about including PHP files however I am still having trouble after reading all of them. I am creating a desktop application, what I want is to include a common file that renders common HTML. For example,...
Box 2d setup
Hi guys, I've just followed the guide from the [blog](http://developer.appcelerator.com/blog/2011/09/gaming-comes-to-titanium-introducing-the-box2d-module.html) regarding box2d & titanium. I tried the code provided & the sample code from...
Possible to isolate functions between tabs?
My app has two tabs and inside each tab I define several functions which are of the same name. For example. I have two tabs, inside both of these tabs I declare function ABC. If I start in tab #1, switch to tab #2 and run function ABC, then switch...
Full screen webview
I have a webpage that I need pulled into a webview. (http://azimuth.mlgw.org/OutageMobile.php) When I pull in the page into the android simulator, it looks identical to the webpage. However, I need just the map portion to fill the screen. Can anyone...
animation breaks updateRow()?
seems that using animation with tableview.updateRow() breaks it ~~~ //this does not work tableview.updateRow(oldRow,newRow,{animationStyle:Titanium.UI.iPhone.RowAnimationStyle.RIGHT}); //this works just fine tableview.updateRow(oldRow,newRow); ~~~ is...
Read a file on Resources error - android
Hello, I try to read a file on the Resources directory with android. The file exist, f.exists() is true, but the size is -1 and f.read() stop the program. With getDirectoryListing, i see the file text.txt I use the code from Kitchen Sink : ~~~ var f =...
Accessing External Storage ?
Android docs have External Storage listed... http://developer.android.com/guide/topics/data/data-storage.html#filesExternal In the Appcelerator Docs, I've only been able to find Local Storage. Am I missing something? Did I glance or something?
Email a photo from photoGallery as an attachtment
Hi, I'm saving a signature using Ti.Media.saveToPhotoGallery(paint.toImage()); to the photoGallery, but how I can convert it toBlob() and send it as an attachment in an email?
Closing a Previously Opened Window on a Navigation Group Throws Error
I am using a navigationGroup in the detailView of a splitView to open new windows when an item is selected from the masterView. I only want 1 window in the navigationGroup stack at a time. That is, even though I'm using a navGroup, there is no need for...
Titanium Desktop: Debugging an iframe's javascript
I build a web app that works just fine on Chrome. I made a Titanium Desktop app that simply has an iframe loading that page. The problem is that the Titanium app is having an error while loading at some point, and it just kills the iframe. I need to debug...
don't run tituanium studio in ubuntu 11.04 64bits
Couldn't load file:/home/willy/.titanium/runtime/linux/1.1.0/libkhost.so, error: /home/willy/.titanium/runtime/linux/1.1.0/libwebkittitanium-1.0.so.2: file too short
Picasa Album
Are there any working examples of displaying photos from Picasa album?
iPhone/iPad simulator exits immediately upon launch
I can't seem to get the iPhone/iPad Simulator to get up and running on my mac. The simulator window briefly comes up for less than a second, then immediately closes without warning or error messages. I'm suspecting the red "permission denied"...
Finished event for videoPlayer
Does the videoPlayer have an event for when the video has finished playing so that it is possible to play several videos in a row?
Custom install screen for MAC - Desktop
Is it possible to create a custom install screen for a mac distribution package?
can't open new windows in split view detail window
Hi, i'm not sure as to the correct way to go about opening windows in a splitview's detail view. KS has very lightweight examples and include all files with `views` instead of actually opening windows...this can't be the only way to achieve this...
Push notification crashes when app is closed
Hi, I'm using the c2dm module to work with push notifications. Everything works fine while the app is running. If the app is running and I'm sending a notification I can see that it arrived to the device, and clicking it opens my app. The problem is when...
reset navigationGroup in splitView
I have a SplitView on ipad with a navigationGroup for both master and detail views (don't need it in masterView but it was the only way I was able to add a window there for re-usability reasons). As for the detailView I want to be able to reset the Stack...
Does the animation object support density pixels values for top/left properties ?
Hi, is it possible to pass density pixel values (eg: '-45dp') to the top/left property of the animation object? It seems to just accept floats which I assume is just pixels.
Issue with Time Zone after you set hours and minutes
If I set the value of the picker to a default value say 9:00 AM. The output time is only in +0:00 GMT. It won't consider the device TimeZone. Is there any way to set this? It's really messing up my reminders.
Redraw the screen
Is there a way to redraw a Window with several children views? Here's my use case: I have a screen, with a table, lots of graphics, labels, colors, etc. I want the user to be able to swap to a different theme, which uses a different set of graphics and...
Studio not copying resources for iPhone build
I'm using Titanium Studio, with all the latest updates, and I've found that while I can launch a test build in the iPhone simulator, if I try to build this project to the device, or load the xcode project and build it directly onto the device from there,...
java.lang.IllegalStateException: Ambiguous Z-Order error using Tabs
Hi, I have two tabs in my main app.js. Each tab is linked to a different file. When i launch application it doesnt give any error and first tab window is shown fine by default. When i select second tab it also shows up well but when i move back to the...
Moda Window with a back button, stayed as a back button.
For the iPhone/iPad, is there any way to have a window with a back button styled as a back button without having the Window in a Tab/TabGroup? I just want to have a simple modal window that I want to pop up and then provide a back button in the NavBar to...
ScrollView Touch Area Not Refreshing On Orientation Change
Hi Hope someone can help me. I am trying to make a simple image scroller. The issue I have is that when I flip to landscape the left and right edges of the screen do not respond to the touch. I am guessing this is down to the fact that the scrollView size...
Add Event Listener
Hello, my event listener doesn't work?i couldn't find the problem, i always use like this before but doesn't work for now. http://pastie.org/private/d78bmc409ev96zmja6x4a
MAC Lion Android app will not install on emulator
Keep receiving this error message: [ERROR] Exception occured while building Android project: [ERROR] Traceback (most recent call last): [ERROR] File "/Users/brian.wells/Library/Application...
mobile sdk 1.8 and insertRowBefore
Hi, when using mobile sdk 1.8, `tableview.insertRowBefore(0, row)` will insert the row at the SECOND position in the tableview. Bug? best regards, Tom
Regarding TCAD Certification
I'm very very eager to become Titanium Certified ... So can anybody please help me by providing full details of Certification Process. Regards, MONY
orientation issue - Need help!
Hi, I am working with titanium mobile sdk 1.7.2, android envrironment. My application has both landscape and potriat mode. I've created a button and button controls, tableview. The application was initially created in 480*320. But its been used in tab....
How can I delete my account?
Hi! I just want to know how I can completely delete my account. Thanks in advance.
is there an interactive console for debugging?
Is there such a thing as a `rails console` for Titanium, where I could play a little with the API? or even better a `debbuger`? Or could you recommend me a different workflow rather than having to edit-the-source > compile > Ti.API.debug() ? I know...
Removing row with header
Hi I have a table view with a row like this: var row = Ti.UI.createTableViewRow({ header: 'test' }); When I remove the row the header title remains (test in this case). How do I remove the row along with the header? Thank you.
Reducing Image Sizes
Hi, Can i reduce the size of the image in android ph? Thanks
Passing Data back from a Window to the one before
I have a simple example of a reminder app. In a previous window I click a view and a new window is created from url with the following code inside the file: ~~~ var win = Ti.UI.currentWindow var reminderOptionsSection =...
Showing 30,851-30,900 of 47,710 1 … 613 614 615 616 617 618 619 620 621 622 623 … 955