Community Questions & Answers
HTTP Post Request
Hi, I'm new user of Titanium and I'm getting trouble with HTTPClient. this is my code: ~~~ var httpClient = Titanium.Network.createHTTPClient(); var params = { shoppingName: 'flamboyant' }; function...
WEB PAGE
Hello, I'm new with Titanium. I want to create webpage for Iphone and Android. May I use Titanium for mobile ? tx,
Using Google Places API
Has anyone used the Google Places API in an app? I'm working on an app that will use it but haven't receive an api key for. I've filled out the form at http://gmaps-ws-console.appspot.com/. Will they send one for Places or do you using the same key you...
Show throbber while tableview is loading
How can i display an image like a throbber while the tableview is loading. I have an rss feed that loads into a tableview. Because it has to pull the information from an .xml source on the internet it can take a second. So it looks like the app is...
setting volume in audio streaming
I'm trying to build a radio streaming app, but there's no way to set the volume at an audio stream. I would be very happy if anybody could provide a MPVolumeView workaround or whatever hack / fix that could make me assign volume to a slider using a...
Error in compiler using division operator
[SOLVED, SEE BELOW] Hi, this code produces an error in compiler: ~~~ var imgWidth = Titanium.Platform.displayCaps.platformWidth; var imgHeight = imgWidth / 3.75; //proporción ~~~ Seems like compiler does not likes the "/" sign. I can't...
Persistent Scroll Bar / Always Visible
Is there a way to force a scrollbar on a tableview to always display? I need to show the user when there is additional information to scroll to?
Tests examples
Hi, I plan to write some tests for my Titanium application. I've read http://developer.appcelerator.com/doc/mobile/drillbit but now I look for an example of an Titanium open source application coming with a good test coverage. I could not find any in the...
Refresh Timer
Hey everyone. I am trying to get a panel of calls to update every 30 seconds or so without having to use any interaction from the user. imi using json to go to a php page to pull sql data into an array and populate my list table. the sql db will contain...
How can I change the background color of header area in TableView?
I'm adding tableview like "Table_view_headers.js" in Kitchen Sink. Now I would like to change the color of header area. How can I set it new color? Please advise me.
images not displaying
i'm still fairly new to appcelerator and javascript in general, so i've been going through a few tutorials. i've tried to piece together some code that i've found so that i can figure out how the window system works. however, i can't figure out why in my...
Reporting Tool
I'd like to design a suite of apps that will allow both mobile and desktop to view and capture shared data. From the desktop, this data would need to be printed in different formats. Is there a reporting tool for use with developing desktops apps? If...
Apple thinks my iPad only app is also for iphone??
I created an iPad-only app and uploaded it yesterday, and going through the process. It said I was "missing screenshots", and I couldnt figure it out, since I had upload the main image they require and a few ipad ones. Only when i uploaded...
Best way to sync databases - local and remote
Right now I have an app that uses a local sql lite database. I also have an iPad version as well. I'm looking at in the next update, adding an optional user registration so people can have the information on my website if they want, so they can enter the...
Dynamic View Swapping? Is this possible?
I have an app that has a window with 2 regular views in it. The top view holds a custom menu i created with graphical buttons. The bottom view has a webview in it that is supposed to swap content based on button events. I can't seem to get this working...
"Mutated while being enumerated" error shows up semi-randomly
I'm sure you've all seen this error before. I've been getting it in an app I'm working on. It is usually thrown by the same *type* of operation, but not all the time and not in the same place. I'm wondering if anyone has found a solution to this issue...
TableView.data not working?
hi, is TableView.data broken? i tried with Titanium SDK 1.5 - 1.6 and always got 1 when tracing. see [example](http://pastebin.com/7pmhpVJU)
Errors Building for iPhone
I've been having a very positive experience with Titanium so far. But I've hit a brick wall trying to get my app on to my iPhone. All the various certs are set up and Titanium says I'm ready to go, but when I build I get the following error: Error:...
Scrollview not Working
I have a window with a vertical layout and what I want is a top "section" that stays fixed and a body that scrolls. I add the header view to the window then create and add a scroll view using the code below: ~~~ var scrollView =...
Slow performance for a Native App...
Hi ya'll... I've included multiple views inside a scrollview and they all have rounded corners. My app is slow and no longer has that native feel. Can anybody help me out as to how to reduce this? I've read the post that has guidance on how to speed...
Android SDK error
Hi i am new to titanium , I just installed titanium and download android sdk too.. Then i went to edit profile to give the path of the SDK. When i put it it says "Couldn't find adb or android in your SDK's "tools" directory. You may need...
Why mapview hanging when i clicked button on mapview?
In a mapview i have put button on the top if i clicked five more times map should be hang up finally total app hanged.how do i overcome map hanging?
Unable to display and view html page while using android sdk
HI, when I used "url" attribute of createWindow(), and assisgned it as url:'main_windows/index.html', i got the error saying "the path not found". I followed each and every steps given in the respective tutorial.Can any body tell me how...
Run on device stays disabled
Hi, I'm currently developing an application for iPhone and it works fine on the simulator. My problem is that the "run on device" button is always disabled even if all steps have been followed (I can put my app on device via XCode). Even so, the...
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
Showing 36,801-36,850 of 47,508 1 … 732 733 734 735 736 737 738 739 740 741 742 … 951