Community Questions & Answers

Ti.Utils.base64encode undefined in iOS

I made a project that in the beginning was made for Android, then I added the support for iOS devices, but when I try to run the project in the iOS emulator I've got the following error: > [ERROR] : message = "'undefined' is not an object...

Urgent app crash on android 4.4 ?

Hello I've created a small app for android and ios , on Android i was testing the app on 4.3 , but when i uploaded the app on the market alot of people who own android 4.4 LG etc they said the application crached when they open it this is the app...

Access and Use data in a Table Row

Developing a mobile app in Studio 3.2.x, SDK 3.2.3, for iOS and Android, on a OSX Mavericks box. I have an RSS feed stored in data[] array and displayed as a table in an "event detail" view (eventDetail.xml) using this code...

Android screen resolutions

Hi all, I know there has been a lot written (and read) about how to handle the many different screen resolutions of Android devices but it is driving me nuts trying to get my app looking good on Android. I have tried using '%' and 'dp' for specifying...

iOS SDK Home: Not specified

Hi, I am receiving the following error with Titanium Studio 3.2.3 both with XCode 5 and XCode 6. I have checked and my XCode path is set correctly, as below. However setting the path to either the XCode 5 or the XCode 6 library doesn't resolve the issue...

Nodejs MVC framework suggestions

I am looking to develop some desktop browser interfaces to my ACS back end data. I have done this in the past with php , but would like to try with nodejs/nodeACS. Just looking for opinions on what frameworks others may be using to do this, and if anyone...

draw line user touchmove

I would like that on touchmove event there is a line until user is touching the screen. I have found some modules different for iOS and android , is there some way to do it with the same code for both platforms?? Thank you in advance for any advice/examples

Search in multiple HTML files

Guys, I have an app that have more then 400 html files. I need to implement a search engine that allow users to find html texts by key words. It is possible in Titanium? Thanks in advance.

Getting the System path right for titanium ?

The command 'android' executed in the studio terminal gives: `sh.exe": android: command not found` The command '$PATH' gives sh.exe": /c/Users/kutch/bin:.:/usr/local/bin:/mingw/bin:/bin:/f/Program: No such file or directory So it seems the...

Regular expression

So i have to match some string using regular expression, it works on android but doesn't match anything on iphone ~~~ text = this.responseText; var regex = new RegExp(".*box-title box-title-h3 mb-05.*", "g"); artist =...

Android 4.4.3 crash

A customer reported problems when running our app on his Nexus 5, newly updated to android 4.4.3. I read that the new version will cause problems for "root" apps, such as when reading files in the data library. We often read local files, but I...

GCM push notifications on Android

Hi, i see that push notifications on android use GCM. but as i see we should use ACS even if we would like to send push from another server and not ACS servers... my question is why should we use ACS ? and are we limited with the number of message we can...

Recording Video In 16x9 aspect ratio

Hi All Is it possible for titanium video recorder to record in 16x9 aspect ratio? I currently have this which records but letter box when i share it and use it in another video player. ~~~ Titanium.Media.showCamera({ success : function(event)...

Building Native Application with Template

Hello, I'm creating an SaaS platform. I want to create both a web browser version (which is already built, and is responsive). But I also want to create a native application that makes use of certain features such as location, camera, etc. My problem is...

Query in acs

How to Query Custom objects in ACS(in the where condition)regardless of value of text field if it is upper or lower case. Thanks in advance.

Revese order of execution, newbie question

When i setup this code: label.addEventListener('click', function(e) { alert(Ti.Filesystem.isExternalStoragePresent()); // true alert(Ti.Platform.name); // android }); ...i get first an alert with android and then an alert with true. Is there...

database locked

Hi all... Does anybody knows how do I solve this problem ? Error occurred calling next on a PLSqliteResultSet. SQLite error: 'database is locked' for 'UPDATE tb_item SET qt = 2, buy = 0, preco_U = '8,00', totalPrice = '16,00' WHERE ds_item = 'Dental cream''

picker issue

in the following images there are issue in the picker that when i click on the text it appears but can't make the text value is autoselected or is top value in the picker , how can i do that? http://www.gulfup.com/?D9hJh7 http://www.gulfup.com/?HxitOs

how free memory webview alloy

Hello I have made an application that needs to use webview, because in a store page to display a lot of information, and have different formats. Furthermore the content is dynamic, and consult a local database. Every time I go to a different page I...

Titanium studio 3.2.3 issue

Titanium Studio, build: 3.2.3.201404290739 I am struggling to make my Titanium studio 3.2.3 work on windows 7. In my system, I already have JDK 1.7 which is used for some other application. I installed Titanium studio. I have written "hello...

Lips Sync

I want to make an application that moves the lips of a character according to a recorded sound. If the sound volume increase the lips should be fully opened, if it is low it should be closed. Something like this...

Auto align of the lables in the table view row

Hi, I need some hints from you guys. Actually I'm having one tableview row and one image and 2 labels ,image and labels I have added to tableviewrow. and trying to do align the labels based on image .Here image is not there in the row , the labels has to...

Showing 3,451-3,500 of 64,387 165 66 67 68 69 70 71 72 73 74 751288