Community Questions & Answers

Media Queries

Hi I am planning to make few educational apps for kids. I am interested to know whether Titanium can be used for this purpose because I would need following things for it: 1-Play sound in slow motion(just for kid to understand the accent) 2-Record the...

Netwrok not connected in xp

hello there, i m new to titanium and trying to configure in windows xp for mobile application (Android), have followed all the instruction but still unable to connected to network, i have set HTTP_PROXY & HTTPS_PROXY variables but it looses...

388 views
asked 2 years ago by James Joel
last activity 2 years ago

multi-byte string is garbled (UTF-8)(Android)

multi-byte string is garbled (UTF-8)(Android) Ti.Network.createHTTPClient.ResponseText is garbled in multi-byte string(UTF-8). In label, btn.title, Ti.API.info, garbled. ~~~ var xhr = Ti.Network.createHTTPClient(); xhr.onload = function (e) { ...

Titanium.UI.ActivityIndicator is not an object error

I receive an error: "Result of expression 'Titanium.UI.ActivityIndicator [undefined] is not an object" when adding the following code to my app: var actInd = Titanium.UI.createActivityIndicator({ height:50, width:10, ...

Link to app on Facebook post

I have an app submitted that posts, among other things, to Facebook, and this came as an afterthought. On the FB post, it says "something like 'via appname'", I forget the actual phrase. Is there anyway I can have this link back to a specific...

Gallery Grid

Hello Appcelerator Community :) I am still new to this and need some guidance/help. I saw this app: http://itunes.apple.com/us/app/getty-images/id376812381?mt=8 And i want to create a gallery grid like this coming from a database. I also then want to...

callback event members

Hi, Is there a documented list of members of an event when our callback function gets called? I didn't realize event.media existed for a success callback to Ti.Media.showCamera() until I saw example code in the KitchenSink. Thanks.

Change the "value" of the iPhone Switch

Hello, how can I change the value of the Switch? by default, it is on ON/OFF but in my case I need to change it to 0/1 or another content, does this possible? or can you suggest me other controls?

Newbie: I want IOS, not Android... how?

Hi, No doubt this is a dumb question but I just installed, tried to create a new project and Appcelerator believes it's detected both IOS and Android SDK's. No idea where the Android SDK came from. I just want to build an app for the iPhone. So when I...

Android Horizontal Layout

I've seen a handful of posts citing work arounds for doing horizontal layouts in Android. Is this still not supported with the "layout" property? What's the current best way to go about doing a horizontal layout in Android?

Android orientation forcing

Is this still the "best" way to force a specific orientation to an Android app? http://developer.appcelerator.com/question/40001/android-force-orientation It seems a bit messy and a PITA. Is there an easier, more current way to address this?

Custom Module name issue

I just spent an hour trying to figure a problem I had with my custom module so I figure I'd share with everyone what I found out: If you are creating a custom module, you must add a namespace to your module (e.g. com.mymodule). I didn't add a namespace...

Problem with "POST"

Hi everyone. This is getting very frustrating to me. I need to sent a parameter via POST that contains the name of the database table that I want to include in the query. But so far, I haven't been successful. I'm getting an error: mysql_fetch_array():...

StoreKit and AdMob without TitaniumPlus?

I simply can't affort to pay the cost for TitaniumPlus. Does it mean that I don't have any chanse to use storeKit and Admob at all? only hope is https://github.com/masuidrive, but I am afraid that these module does not work like official module. Store...

Display a browser

I want to include the functionality to enable my user to browse to any webpage and take a screenshot. I can achieve this using webview and my custom controls. **Can I display the browser default controls?** I hope I can, there's no point reinventing the...

Is the documentation out of date?

I'm trying to learn how and when to use the *layout* attribute. Searching the API Reference guide, however, only finds it on one Titanium.UI class - table row. However, in the Kitchen Sink, it's in use on other classes as well, e.g. Window. I've been...

Unsure how to do vertical layout

I'd like to make a window with a search bar and a table view to show results. I feel like this window should be layout:'vertical', and the the views should just be added to the window. But this doesn't seem to work. (?) Must one explicitly set the...

App Navigation

Hi, I have a quick question on navigation I am trying to set up within an app. When my app is launched I have a page with a hidden tabGroup and a tableView list. When one of the tableview lists is selected it opens a new window with another tabGroup this...

navigating among windows

i am trying to switch from one window to another and back to the previous one ... but while doing so when i switch back to the first window .. the elements (buttons, views) are disabled and logcat shows that i am clicking on the window... here are my...

Table View updateRwo()

Hi, I try to use the updateRow() function to update the 'hasCheck' property for each row and it does what it is supposed to do, but it also removes the click event from each of the rows. I am just wondering if this is a bug for updateRow()...

Picture from Camera in Image View and Drag

Hi I am working on an app in which I want to take pic from Camera and then show it on image view. Also, on clicking of a button, an Image would come over the Pic taken from camera,I would like to drag other image(icon) over the image I took. Is it...

Missing images when run at iPhone device

My app runs without problems under the iPhone simulator, but when I install the app at the actual device, all images were missing - icon, background images, all pics gone. What could be the cause of the problem? Anyone help would be much appreciated! I...

adb.exe not working

Hello, I'm getting stuck building an Android app at this point `[DEBUG] "C:\Program Files\Android\android-sdk\platform-tools\adb.exe" -e get-state` I asked a previous question, and have all the correct paths (as far as I can tell), so I'm not...

Date picker

After looking in the KS project, at the picker examples, I can't figure out how to configure my picker the way I'd like it and I wonder if someone can help. I'd like my picker to only display one column with say 'Sun Mar 6'. Looking at the Calendar app...

Upgrading database, will this work?

I'm updating my app and wanted to double check this code to make sure it works...I dont have an iPad to test it, so I'm not 100% sure.. ~~~ var upgrade=Titanium.App.Properties.getString("upgrade"); var file =...

Showing 35,751-35,800 of 47,726 1711 712 713 714 715 716 717 718 719 720 721955