Community Questions & Answers
Win32 installation
Is it possible to install Titanium sdk components to a directory other than %ALLUSERSPROFILE%\Application Data\Titanium (i.e. Network Share) ?
Contacts.createGroup crashes on the iphone
So, this happens on the iphone (and not the emulator). This even happens in the KitchenSink Contact_group example. var officeGroup = Titanium.Contacts.createGroup(); The applications crashes when it reaches this line. This is very frustrating because I...
iPhone distribution does not produce a file
I'm getting ready to release my app and have problems generating the distributable app. The build completed without any errors, but no file is placed in the "Distribution Location" i selected. build/iphone/build/build.log says: Validate...
Updating app on android market
Hello, I uploaded my first App to the android market and found some bugs I didn't see before. I tried to upload the updated .apk and the form told me " The new apk's versionCode (1) in AndroidManifest.xml must be higher than the old apk's...
hide leftBarButton
Helo all, here i have the navigation bar for login page when enter the login page i need to hide the leftbarbutton.
invalid method (createSearchBar)
I have one window inside that I just create one image and image click i write code like: var image = Titanium.UI.createView({ backgroundImage: '../images/Ring-1.png', top: 79, left: 225, height: 104, width:...
Tableview Rows Thumbnail not returning clickName on click
Hey All... I have a tableview with thumbnails. I'm kinda mimicking what you see in Kitchen Sink table_view_layout_2.js where the user icon on the left on click returns e.source.clickName so I can perform a specific action (show larger thumbnail image) on...
My app seems to be crashing
Hey so i finished my App and I uploaded it to the android market and I've had a couple of comments that say its crashing a lot. It was working good on my phone until i distributed it and uploaded it. What causes an app to crash? how can i fix it? is it...
Scrollableview dynamically loading problem
I am using code snippet from http://pastie.org/1352978 to dynamically load views but the scrollview is being freezes on scrolling. Further I couldn't understand the use of lastview and selectedPage vars. Can anyone please help?
Problem with headerView and other section headers
Hi, I am setting the headerView of a Table View to a custom view. It seems that when I do that, it causes all the other section headers to inherit the same height. Also, I am using the grouped table view style. Has anyone found a solution to this...
When will mobile 1.6 wil be released ?
As title says :)
appcelerator minimum system requirements for Mac OS?
the last time this was posted, there was no official answer for the minimum requirements for developing with Titanium; is there an official answer yet?
Pacakging Error
I am getting the following error Pacakging errorInvalid timanifest file in distribution (bad JSON) Please suggest
How to keep app from saving photo taken by camera in gallery
I've got an app for android, where I use the camera to take a photo, then load the photo into a view for use in the app. I don't need to save this photo once it's been used in the view. I noticed however, that if I go into the gallery on the phone...
Packaging Error, trying to make iPhone app in Titanium
I'm having problems trying to package my Titanium iOS app. It builds correctly, and I can run it on my iPod Touch. When I try to Package for distribution in the App Store I get the following errors in build.log: Build details: timestamp=12/16/10...
Form data entry, followed by email - Has someone done this?
I've looked at the Q&A and it seems there's a lot on emailing, but not from the standpoint of putting a form up, having the user fill it in, then taking that data and emailing it. (I.e a standard "contact me for more info" form, if you...
Sandbox encountered an error on launch.
Win7 64bit - Sandbox is giving this error when Launch is clicked. "sandbox appears to have encountered a fatal error and cannot continue. The application has collected information about the error in the form of a detailed error report. If you send...
Search screws up tableview
Title says it- have a search bar connected to my tableview to search through the data. Searching works fine, but as soon as I start tapping rows in the search results, the labels in the rows disappear, and then when I start tapping a row in the table...
TableView inside of TableViewSection header causes crash without error log
Hi all, I'm trying to implement the following object hierarchy: ~~~ // table1 // section1 // header view // label1 // table2 // row3 // label4 // row1 // ...
UI - Getting a control's parent / Setting custom properties?
Hi folks, i need to dynamically create components for displaying data with a given structure loaded from a webservice. By tapping on a smaller preview container (within a list) the user shall be directed to a detailed view. I've tried to solve this by...
Possible to provide multiple filter buttons for searchbar?
I've got my searchbar working with my tableview, and everything behaves correctly. However, right now I have it set to search all of the data for each tableview row (I create a separate row variable called 'searchData' and combine all of the other...
iPad barColor or barImage
I've been trying to add a background image to my navigation bar on my iPad app, but no luck so far. I know the API Reference Guide says it can only be done on the iPhone, but I assume such a property must be supported for the iPad as well?
tab background
I am creating an app for Android. I am trying to change the background color of the tab. But it is not working. Can Anyone tell me how to fix it. Here is the code for tab declaration. var tab1 = Titanium.UI.createTab({ icon:'Notepad2.gif', ...
Android MarketPlace issues
I cannot get my app, built with Titanium, to show up in the MarketPlace on a device. I can find it via web portals to the MarketPlace, but never in a device or simulator. Scanning the QR code from the app listing on a web portal tells me the app is not...
Android: Touch events working in simulator, but not on device.
Hi, I am using Titanium 1.2.2 with SDK Version 1.5.1. My Android Simulator SDK is 1.6 and on my device I have version 2.1 installed. So now whats going on: I need to react fast to a touch event in a WebView. Since 'onclick' triggers only after 500ms, I...
MySQL security
Hello, Lets say, I connect to a remote MYSQL server using my desktop application, Can other users see the details? - Shaun
Solved white icon box mystery
While researching an issue with submitting my app to the App Store, I figured out why my icon was not appearing on the device. http://developer.appcelerator.com/question/106501/app-icon-appears-as-white-box I closed that ticket, but thought I would post...
Add image to label or view - iPad
In my ipad app I have a list of actions on the left that is just text. I'm trying to add an image to help make it look a little nicer, but when I do, it stretches across the whole view (and label). I tried creating an imageview and then adding that to...
Facebook Share with WebView -> Autoclose
Hi I used the website "http://www.facebook.com/share.php?u=http://website.com" to share a URL. This is just a webview. The sharing works, but I don't know how to autoclose the webview after the user shared the link. Facebook tells me, this site...
Mapview automatic regionFit function
Hey fellow developers, I've just wrote a small function that automatically calculates the proper region for the mapview to fit to, so both ends of a route are contained into the visible area of the mapview. I think people who get their directions from...
iPad Animation Events
Hi there, I have 4 panels I would like to animate (just animates the width and position) however they run in the sequence of the code resulting in 4 different movements. Is there a way of animating the panels all at the same time? Many thanks
Distribution fails validation process
Titanium successfully built my iPad distribution and uploaded it into Xcode Organizer. When I try to Validate the app, I get the following errors: Icon specified in the Info.plist not found under the top level app wrapper: appicon.png Icon specified in...
Fill Image view area with Remote image (iOS)
Is there a way to fill an imageview area (in my case 75x75) with a remote image? I have a tableview of 50 rows. Each row has a thumbnail image on the left. The remote images load in great but they scale the longest side to 75px leaving the other side short...
Upgrading database from iPhone CoreData database
I am working to move my iPhone apps, written in Objective-C, to appcelerator so I can easily write them for multiple environments. I understand this is a complete re-write. These apps currently use CoreData. I am new to appcelerator and I have tried...
adding this.response..... to send a form to an email
My aim is to get a form such as name, email, subject and message in a text field to send to email.php (attached below) which will send off to my email. the problem is that the data from the phone wont make it to email.php as feed back is not shown in...
Mapping between Titanium Folders and Xcode folders
Hi When a project is created by using Titanium, it creates corresponding XCode project having same name and folders;Resources etc. Usually when we write code, we add assets in Resource folder and then refer them in code by just calling their names;(e.g:...
xhr null value
I am getting null value for `xhr.open('POST','http://www.inetwebdesign.com.au/email.php');` and `xhr.send(data);` and i dont know why or how to fix it **my first code was ** ~~~ // // // RSVP response via HTTP POST to php script on server // var...
issue's parsing data from google calendar api json
i'm trying to pull data from a google calendar. however, regardless of how i try to parse the data, i'm getting errors in titanium. here are the two sets of code i've tried + their respective errors attempt 1: http://pastebin.com/zcYMfgri line 130 = var...
Any Good Documentation on How Tab Groups Work?
Just went through a real eye opener on tab groups, and I'm still not really understanding their fundamentals. For instance, in the code segment below (from the post here...
Error/Typo in docs for File.getNativePath vs File.nativePath
this page: [http://developer.appcelerator.com/apidoc/mobile/latest/Titanium.Filesystem.File-object](http://developer.appcelerator.com/apidoc/mobile/latest/Titanium.Filesystem.File-object) It should reference: File.getNativePath, but it currently calls it...
Tab Won't fire original function assigned.
In my app.js, I call a splash screen imageview, and then wait for the user to click. This takes them to a function that has two tabs in a tab group, one for Guide and the other for About Us. The Guide part works great. However, when I click the About...
[ERROR] Could not create the Java virtual machine
Hi. I've just installed Titanium for the first time, and I'm having problems getting the default mobile app to work. I followed the installation instructions and have installed Python, Git, Java JDK, Android SDK, and Titanium Developer onto `C:\Program...
Strange behavior. App not changing with new code.
I am working on my first app and everything was working a couple of days ago, then I did not work on it for a few days. now I am back to it but I've run into some strange behavior. As I am editing the code and launching on titanium to test the app is not...
Remote MySQL and JSON
Could someone please shed some light on why this code only pulls the data from the first field and not the second field? The MySQL db has one table with two fields called 'cat_name' and 'colour_name'. Only the cat_name field data is being returned. Not...
Couldn't find adb.exe or android.bat in your SDK's tools directory
Hi, I am attempting to use the latest Android SDK: Android SDK Tools, revision 9 Android SDK Platform-tools, revision 2 Documentation for Android'Honeycomb' Preview SDK, revisioon 1 SDK Platform Android 2.3.1, API 9, revision 2 In edit profile...
Eventlistener for a imageview inside a scrollview
Hi all, What I am trying to do is have a click event on a imageview inside a scrollview. When the item is clicked I want to do something, but the click event is not being fired. Any ideas? Thanks in advance! ~~~ var win = Ti.UI.currentWindow; var...
Custom segmented control needed
I need to implement a [segmented control](http://developer.apple.com/library/ios/#documentation/userexperience/conceptual/mobilehig/UIElementGuidelines/UIElementGuidelines.html#//apple_ref/doc/uid/TP40006556-CH13-SW27) on both iOS & android....
Unknown or Unsupported SDK Version?
Suddenly, the Developer (immediately after booting) is displaying the error messages below. Why did this start all of a sudden? (Environment: MAC OSX Snow Leopard, 8GB Memory, Titanium Developer 1.2.2. Apple IOS4 SDK.) [INFO] Compiling...
Facebook Session Expires Quickly
Hello, I'm having a rough time with facebook in my module and was hoping someone could help out. Here are the two things that i'm seeing happening: * Any time the app is closed (like if you force quit it our the multitask manager kills it) it logs the...
iPhone Contacts listing crashs on iPhone
Okay, Mobile SDK 1.5.1, Ti Dev 1.2.2, Mac OSX, building for iPhone 3GS 4.2.1. Runs fine on sim, fine on android, crashes on iPhone. Simple to recreate ~~~ var contactList = Ti.Contacts.getAllPeople(); (iterating.. using c as iterator, there is at...
Showing 37,051-37,100 of 47,734 1 … 737 738 739 740 741 742 743 744 745 746 747 … 955