Community Questions & Answers

SQLite heavy transactions blocks UI

I have heavy and continuous SQLite db access to feed UI with data to show. Because of the single thread nature of JS this causes lags and freezes in the UI. How can I perform such heavy operations in the background? I've tried web workers but it doesn't...

Building issue IOS

I have problem after upgrade xcode from 5 to 6 , and using 4.3.1 sdk with ios version 8 . [INFO] : Invoking xcodebuild [INFO] : Image optimization complete [INFO] : Installing app on device: iphone 5 [ERROR] : Specified .app path is not a valid...

from website to mobile app

I have source code of a website,which i want to convert to mobile app .I am not able to load the css and js and jquery files in the project. html is working find.Please can anyone suggest the procedure.

how to get the position of a UI element on the screen

hey i have a problem that i want to arrange my element in order to each other but i can't get the items properties like left,top and other using getleft() and getwidth() because in many cases this return Nan so what i did in this case is to add...

Charts in android

Hi everyone, I am trying to display charts in android. I got a code from https://github.com/ricardoalcocer/TiAlloyCharts when I am running this code in android 2.2... its showing error... but if I am running the same code for 4.4 and above the same code...

How to add PostersLab to uiimages?

Hi Everyone, I'm new to this blog.My IOS application is same as PosterLabs app (i.e., https://itunes.apple.com/us/app/posterlabs-stylish-collage/id875654777?mt=8) .I should pick multiple images from album and it should parse to next view after picked...

Showing members list based on user request

Hi All, I have developed android app using titanium, In my app i want to show members list based on user request,means if user select 5 i can show only 5 members,if he select 10 i will show only 10 members how it is possible through gridView or how...

Necesito ayuda con esto!

Este es el código que tengo hasta ahora. Mi idea es, crear un campo de texto dónde SOLO se pueda poner números del -100 al 100, y que cada vez que ponga una letra o cualquier otro caracter que no sean ese rango de números, salgo un mensaje de error (al...

Ti.Admob targeting issues

I have a client that needs to target ads based on name value pairs, e.g. "app"="first-load". From the admob documentation, it looks like there is a property called "Interests" that supports this functionality - are there any...

AppStore Upload Error: validateSoftwareSPIUsage

I recently switched computers and renewed my Development/Distribution certificates and regenerated new provisioning profiles. When compiling for the AppStore on Titanium SDK 3.5.0 it compiles fine. I go into XCode->Organizer to upload. Uncheck the box...

Pixelate image

Hi, I'm trying to write an app in which, given a photo image (in png or jpg format), when an event occurs (i.e, a button pressed), the image gets pixelated by a number (for example, pixelated in squares of, lets say, 5 px. When pressed again, the image...

Question of remote sql connection with Titanium

Hi I got several questions with Database connection with Titanium. I try to connect mySql db and I found some examples which are connect with php page, but I wonder that the pages need to publish if I want to connect DB via php? Furthermore, as I...

Dismiss keyboard with a swipe gesture

I've been looking for a way to dismiss the keyboard with a swipe gesture, as per many Apple built-in apps. I've come across a property on `UIScrollViews` called `keyboardDismissMode` but I cannot find this property in the documentation for titanium...

Unlicensed module(s) detected

Hi coders, in my last project I'm using a paid module from marketplace (de.marcelpociot.transitioncontroller). It works fine. After a couple of weeks suddenly appears a red screen on test version with the message "Unlicensed module(s) detected"....

Swipe tile touch move up/down

Thanks Harish for your help. it working. And if we want edit like: 1. Row first it hieght 200 and other 100. 2. When user move up it will do animate on row 1st to top and animate the same time on row 2nd and other. but on row 2nd it animate move to the...

Training Videos

Hey, I am completely new to titanium studio and I'm trying to watch and learn. I'm currently following TCAD course labs videos on vimeo, but I'm confused. I watched the first three videos, but in the lab2 assignment, I find it difficult to do what it asks...

Titanium Graphs

I want to use create a line graph in Titanium using native code (no webview). Is it currently not possible to do it without using a third-party module from other developers or in the marketplace? Thanks!

edit problem at 0th row of Tableview

Hello, I have one tableView.Each row in it contains a label,Edit and delete button.On click of edit label get replaced with Textfield and both buttons get replaced with Update. My Problem arises when I press edit for 0th row of Table.It doesn't replaces...

Showing 51-100 of 66,224 1 2 3 4 5 6 71325