Appcelerator-Q-A-banner

Community Questions & Answers

Content clickable underneath scrollview

Is it possible somehow with Titanium to have a scrollview that has its content offset by say 200px from the top, so that you can see another view beneath, this "bottom" view should be clickable. The effect is seen on Path's user view and on...

Android, force Portrait

Hi, My app works exclusively in Portrait mode on iPhone. Would like the same thing on Android. I've done something like this : ~~~ <android xmlns:android="http://schemas.android.com/apk/res/android"> ...

Parse xml value

Hey Dear forum! Im trying to build a rss reader and i need to parse the published date of a post from the XML - right now they show up in this format. "Tue 21, Feb 2012 09:50:45 +0100" But i need it to be shown like this "Tuesday , 21...

Titanium with iOS

hai, Simple App I have Run in an Andrid Device with the use of Apk file.It is possible same App can Run in iOS(iphone) if it is which one I have to Install(like in android Apk is needed) or else I need Mac OS wiht Xcode.please Reply me If anyone Know...

Changing the color of the table text

How to change color of the table text? I tried like this: ~~~ var tbl_data = [ {title:'MenuItem1'}, {title:'MenuItem2'}, {title:'MenuItem3'}, {title:'MenuItem4'}, {title:'MenuItem5'} ]; var table = Titanium.UI.createTableView({ ...

How to add annotation on mapview click event

I want to add annotation on mapview click event by getting the coordinates of the point where I click on mapview. The click event is fired But the annotation is not being added. Can any one help ?

How to use callback functions with HttpClient

Hello, I have been trying to come up with a way to retrieve data from within the 'onload' function of the httpclient and use it outside of the function. I have researched previous posts on the matter and none of the given solutions have worked for me. I...

Same variables - different values from XML

Hello I am building an RSS reader based on the example of Two App guys. I am getting my RSS feed correct on the main window where all the titles of the post are the variable this_post_title. But when you click on one of the articles you are forwarded on...

Titanium support

hai friends, What is the minimum version Appcelerator Titanium Will Support?,Because I have developed Simple App And Ran an 2.2 version Emulator.In my Android device that Support upto 2.1 so it Shows "Failure OLD VERSION SDK".Then I had develop...

eventlistener function goes into a loop

hi everyone, i'm facing a small issue with the fireevent in android. in one js file i'm firing the event like this: `Ti.App.fireEvent('GetEventList', {name:'name'});` in an other file i'm listening to the...

Local time from time picker in android

Hi all, I have a time picker, but it gives the time in GMT , i want to get the local time (i.e. Hong Kong time ). How can i do this ? ~~~ var time_picker=Titanium.UI.createPicker({ top:250, type:Ti.UI.PICKER_TYPE_TIME }); ...

Problem with RSS feed

I am trying to make a RSS feed based on the kitchensink XML RSS. What i am trying to do is getting a RSS feed in a table view - when you click on a "news-post" you will come to a new window - when i want to display the XML on the next window i...

Problem with RSS feed

I am trying to make a RSS feed based on the kitchensink XML RSS. What i am trying to do is getting a RSS feed in a table view - when you click on a "news-post" you will come to a new window - when i want to display the XML on the next window i...

iOS: textArea is visible but label isn't

Hi all. I've been working on an app that has a window with some text and a link. since I want the link to be clickable but have an actual description I wanted to use a text based HTML UI element. so firstly, just for trial I added a textArea and all went...

Mp4 format video is not playing in Google TV

Hi all, I am developing a Google TV application. and i have downloaded a mp4 format video from the server and stored in app data and tryng to play that video inside the Google TV from video view, but it showing the alert like "Can not play the...

the event about button

hi,everyone! i want to make a game in the titanium. my purpose is: when the keyboard's enter key is clicked, the button's click event is triggered. how should i do? thank you.

select a system sound

Hey all, I'd like to add the ability to do something like the alarm where the user can select a "sound". These sounds would be the list of sounds included on the iPhone already so that if the user has any custom sounds they could use those as...

Issue with Default Value in setting plist

Hi there, Got a small issue which I'm hoping someone can help me fix. I've set up by settings.bundle and edited my plist file OK and if I select a value in the list it updates my app, and pulls in the correct value. The issue I have is when the app is...

Apply Autocorrect Value on Event

Is there a methodology for applying the suggested autocorrection on an event? **The use case is this:** A user types a message into a textfield and clicks a button to send the message to the server. If the last word they typed has an autocorrect...

Anti Piracy Measure Need to integrate this

As some people may know IAP (in app purchases) have been cracked. It's becoming more and more of an issue. There is this nifty component on Binpress that makes them really secure. I would love to have a module for Titanium. Doesn't anyone know if it's...

iOS - Packaging Error (PNG issue)

Hi All, I have a small but rather frustrating problem with my app. It is all good to go but I want to test in on my 4S so I hit the deploy to device and I get the following...

Problem Reading File Using Filestream

I have some code that is supposed to read the contents of a file in my iOS example - I followed an example on an Appcelerator wiki. The length of the buffer seems right. But when I call toString() on the buffer, all I get is 'undefined'. Previously I...

Best Android version to develop for?

Which Android version should choose to start development with? Does it matter if I start with Froyo? Or jump straight to Ice Cream Sandwich?

2.0 Roadmap

I see a few mentions of 2.0 and even some people using it. I was wondering if anywhere I find what is planned for this release. Also where can you get these beta versions and information on what is new?

android webview

I have tried all examples of passing data to a webview. But have never been able to access the data passed back. here is my code in titanium mobile ~~~ var webView =...

Build using UTF8

Hello! I am trying to build an app towards Android, but get this error message: ~~~ UnicodeDecodeError: 'ascii' codec can't decode byte 0xc3 in position 4: ordinal not in range(128) ~~~ This occurrs because i have a "รค" in my appname. The...

Where's my app?

Hi, I have had a few problems trying to get everything to play nicely with titanium and I am nearly there thanks to some help on here. I can build an app to iPhone and iPad and I can launch the Android emulator after a few tries. I now just have one...

Iphone only NO Universal and NO iPad

Dear appcelerator people, I have a question about building an app for iphone only, when im building in t he simulator it works fine. But when i'm testing with xcode (and profile it) xcode gives me 3 targets (iPhone, iPad and Universal). I don't have the...

Showing 40,951-41,000 of 68,456 1815 816 817 818 819 820 821 822 823 824 8251370