Community Questions & Answers
createTableViewRow - remove rounded corners on selected?
How would l remove the rounded corners that appear on the first and last rows when selected? Im looking to change the default blue, perhaps Im meant to use 'selectionStyle'? but this only gives 3 constants to choose from... at the moment Im using(which...
webview and tab
hi im trying to make a tab with text plus a webview for my android app but i only get ReferenceError: "webview" is not defined
Does the Apple in-app purchase work on Appcelerator
Hi All I do realize that this is not the first time this question is being asked. But then I haven't seen a definite answer either. Can we integrate the Apple in-app purchase using Appcelerator? If so, what is the amount of inbuilt support one derives...
3D Help Needed
Titanium SDK 1.5.1, iOS 4.2 Can someone please tell me how to do this "simple" 3D transform in an animation? Example: <a href="http://cl.ly/413K0o3h0M1m0I420q1T">http://cl.ly/413K0o3h0M1m0I420q1T</a> Thanks!
Sprite based animation
Hi Is it possible to make an app of a running man on certain action?
Webview - Enabling localStorage
How in using the webview component can I enable the localstorage under android (the equivalent in native of webSettings.setDomStorageEnabled(true);) ? thanks
execution error: file iPhone simulator.app wasn't found (-43)
Just installed Titanium Developer 1.2.2, Mobile sdk 1.5.1, xcode 3.2, ios 4.2.final sdk. Tried to compile and run a blank program and get this: <script src="https://gist.github.com/832096.js"> </script> Any suggestions?
How to layout a table view row like a facebook app?
Hi, I'm trying to layout a table view row on Android as following screen shot: http://www.neowin.net/images/uploaded/FacebookAndroidFull.jpg A image in the left, and texts in the right. The texts are vertical but the bottom comment count and the like...
How exactly are Titanium apps run on the the device?
As in, say I create an app to be deployed to both an Android and the iPhone. The app code is written in Javascript. I compile that code and it is then deployed to the device as an app. My question is, what happens in that "in-between" stage? I'm...
Urban Airship not registering Device Token?
I set up Urban Airship using [this](http://guides.appcelerator.com/en/push_notifications.html) guide by Titanium. I used the [correct code](http://pastie.org/private/wyw2xboxlstpww7g10mhmq) in my app.js, but whenever I launch that on my iPhone 4, in the...
Animating multiple objects
_Titanium SDK 1.5.1, iOS 4.2_ I'm trying to animate two different objects at the same time using a "doubletap", however I can't seem to get it to work. Here's generally what I'm trying to do... ~~~ // for this example, product contains two...
Looping through Tableview to toggle selected row
Hey all. I've been hoping/waiting for the awesome appcelerator team to create the functionality similar to iOS MAIL where you can click EDIT and select multiple rows. I can't wait much longer so I am trying to do it myself. Each of my rows have the...
Collections
In iphone we use dictionary what we use in titanium kindly explain any example
getting location data
i want to know the lat/long from where the user clicked on a map... like, the user clicks somewhere on a map, and i want to show him the lat/long and nearest city. how do i get it? edit: i use sdk 1.6.0
Embedding resources
Is it possible to embed HTML, JS resources in executable files? Or source code is always available for end user?
Once animation starts, view no longer reacts to add
here is my setup: I have a pureMVC simple command to setup mediator of a screen ~~~ ScreenAccountTypeCommand = new Class({ /** * Required by MooTools for inheritance. * @type Class */ Extends : SimpleCommand, execute : function(...
Losing EventListner on reopening window
Hello, In my window in android app, I have some event listener on labels or buttons, the first time I open the window all works perfectly, but when I close the window and reopen the window, all my EventListener don't work at all, no error message, no...
Titanium.UI.ScrollableView, disable swipe gesture but allow swipe on button event
Hi. i have a ScrollableView with 3 views. I want to be able to scroll between views but only at the click of a button. I don't want the user to be able to swipe between views. is this possible? should i be using ScrollableView for this? Thanks.
WebView on iPhone has strange white border in center
Please see: http://www.flickr.com/photos/59594928@N07/5453348844/ for a screenshot.  This is in the iPhone emulator. titanium 1.5 and latest iPhone sdk is...
Open new window with slide transition
Hi, I'm using this method: ~~~ var t = Ti.UI.iPhone.AnimationStyle.FLIP_FROM_RIGHT; page2.close({ view:win, transition: t }); // when I open // page2.open({ transition: t }); ~~~ but I don't want a flip transition but a simple slide transition...
Navigation
Here i create the navigation and place the barimage on the navigation and i place the button in the RightNavigationBar when i Select the cell it push in to the another window when i get in to back the the button in the RightNavigationBar is missed what is...
Facebook login with 1.6 RC1
I'm having problem with Facebook functionality in 1.6-RC1 on iPhone. When you press the Login with Facebook-button it opens in Safari or the Facebook-app. I also tried the latest KitchenSink from github, and it doesn't work there either. I've tried...
Installing KitchenSink on Android
Hi, I am using a MAC with OS X 6.6 and got the following errors. Can anyone help? [INFO] Launching Android emulator...one moment [INFO] Building KitchenSink for Android ... one moment [INFO] plugin=/Library/Application...
Date
Where i am reteriving the datas parsing Xml from various Blogs and store it in to the tableviewrow but i dontknow how to sort by date, Here i attached the samplecode, function feedReqItems(feedReqList) { for (var j=0;j <...
Buttons and TableView in one window
i have created two buttons in my child window that already has a tableView. However, when i run it in the emulator, both buttons and tableview appears BUT when i scroll, the tableview scrolls, however the buttons stays stationary on the screen. How do i...
How to create label inside string
Hi I need to create label inside string. like in web we are able to add anchor tag inside string and we will add click function also. var string ='please click here '; In html we can write like: var string ="please <a...
OptionDialog
var dialog = Titanium.UI.createOptionDialog({ title: 'Hello', options: ['Option 1','Option 2'], cancel:1 }); dialog.show(); when i create the option dialog it crashes the app what is the pbm
AlertDialog
var popAlertView = Titanium.UI.createAlertDialog({ title:'Alert Test', buttonNames:['Change Your City','Manage Blog Subscriptions','More Apps','San Antonio Joe Blog','Friend on Facebook','Follow on Twitter','Advertise With Local...
Navigation
how to set the image in navigation bar
Facebook Connect Button not showing all the time...
I've got a Facebook connect button inside a TableViewRow. When the window loads, sometimes the connect button is there, but sometimes it is not. Has anybody else noticed this kind of behaviour before? My code below. ~~~ var rowcheckin =...
How to resize a photo?
I'm trying to take a photo with the camera, then add it to a window and resize it to be the exact shape and size of the phone's screen. The problem is depending on the settings of your camera, the image ends up being anywhere from postage stamp size, or...
How to reset a shared map instance on an Android application
Hello, Since on Android you can only have one instance of a MapView on your application, and the application I'm working on requires 2 different windows to have a mapView Object for different purposes, I need to share the mapView object between the 2 of...
Dealying with the restriction of having a single MapView instance per Android application
Hello, I wanted to share my implementation of how I resolved the restriction of having a single MapView instance per Android application, since it doesn't seem to be a documented way of doing it, anywhere. Perhaps it will help someone having the same...
Hide TableViewRow Title? (or explain TableView SearchBar to me)
I have a TableView populated with rows that have no title, just a Label inside of them, and now I'm trying to implement a search bar for the table view, but the search bar searches the TableView titles so I can populate them with the text that's in the...
Packaging Error
I've just finished off my first iPhone app and I've had it running on the simulator and on my iPhone working fine. I tried to package it to put it on the app store and it comes up with this error. I have followed all the instructions on the distribution...
Turning on Analytics
I have a customer AndroidManifest.xml, what is the proper way to turn on analytics? I'm looking for basic functionality (e.g. # of times run, installed, etc). Do I need to add any code to my app for this? Thanks.
Map Annotation pinImage for Android not showing up on map!
Here is my current code: ~~~ //Create Annotations var annotationParams = { latitude:lat, longitude:lng, title:title, subtitle:"", animate:true, myid:i }; if (!isAndroid) { annotationParams.pincolor =...
Displaying lots of HTML content
I'm looking into possible ways to display large amounts of local HTML content, which would seem to necessitate a WebView. Is there any way to automatically paginate the content so that it displays a screenful at a time? It seems like this might be...
Problem while creating New Project in Titanium
hello i am new to mobile developement and i am using titanium 1.2.2 and i have only android sdk is installed in my windows xp os.While creating new project in titanium it is created but in the Test & Package window in the Run Emulator i didnt get the...
backgroundImage not working in toolbar
Hi, I'm not able to create a toolbar with a background image ~~~ var toolbar = Titanium.UI.createToolbar({ items:[b_close,label], translucent:true, backgroundImage: 'bgToolbar.png', top:0, ...
Mobile Facebook Connect API + external API
I've created a mobile app which uses the Titanium.Facebook API for login since i thought it was easier than writing an own authentication system on my own API server. Logging in works fine, but now i'd like to let the user do some user-specific actions on...
Connect to device via USB or Bluetooth?
I have an external device (Lego NXT brick) that I'd like to communicate with for sensor reading and motor control, but it can only be connected to over USB or Bluetooth. Is this possible to do with either the desktop or mobile versions of Titanium? I know...
How to access per-made sqlite database for Titanium Desktop?
let me say this first, i use console in inspector to run the code. i create a sqlite database name 'test.db' and put in project "Resources" Folder and run this code in console The database code is refer to the database reference guide obtain in...
[1.5.1] Window stack on Android
Hello, I'm trying to do something that seems simple but I can't get it working. I'm developing an application on the Android emulator, and I want a first window with a table view, and a detailed view for each element. The problem is that when I hit the...
CTIA Wireless 2011
Do you know if Appcelerator will be at the CTIA Wireless 2011 at Orlando?
App builds, but won't install.
My app builds just fine. It opens iTunes to install on my iPhone, and then it says (after backing up and install the app), An unknown error has occurred 0xE800004C. I can't even install my other app that has been on my phone before!!! I uninstalled and...
Keyboards constants do not work on iPad
The following keyboardType values do not display on the ipad as they do on the iphone: KEYBOARD_EMAIL KEYBOARD_NAMEPHONE_PAD KEYBOARD_NUMBER_PAD KEYBOARD_PHONE_PAD They just display as either default, or with numbers and punctuation. Is this a...
Multiple modular apps with same database
Hello, I would like to know if there is any way to create multiple apps so you have a general one and sort of modular external apps that you can access from the general one. How could the general app open external apps and communicate data between them...
Trying to remove a geolocation event listener
I am managing my app using javascript classes where possible, but seem to have hit a few *geolocation/eventlistener* snags. Structure ====== I have a class file setup like this: ~~~ var MyClass = { init: function(){ // set some vars // Call geo...
Showing 36,451-36,500 of 47,781 1 … 725 726 727 728 729 730 731 732 733 734 735 … 956