Community Questions & Answers

Issue in Taking the Height of different devices

Hi All, In my project i want handle the Views Top, Height Dynamically for that i want to get Device Height, I am using below code for getting height Titanium.Platform.displayCaps.platformHeight for iOS i getting nice like for 5 inch i am getting 568...

barcode scanner module

hi, i'm triyng to add [this](https://github.com/mwaylabs/titanium-barcode) barcode scanner. i downloaded it and copy into my project folder. i wrote in the 'tiapp.xml' this code: <modules> ...

Writing native module for tss transformations

Hi there, I'm wondering is it possible to write a native module, that would do tss transformations. Eg. I have element that should have 100px height. Since I'm using dp units, I need to do something like that: ~~~ // alloy.js const DEFAULT_W = 480; const...

Hyperlink text in Titanium

I'm pretty new to app development, and I'm creating a tabbed Android application. I'm trying to carry out what I suspect is a very simple task in hyperlinking some text. I would like to create a label such that when the text is clicked, the website opens...

Changing the response depth seems to slow down query

Response depth of 1 returns back from ACS in 2 secs....( but doesn't have all my data i need) Response depth of 2 returns back from ACS in 7 secs....( but doesn't have all my data i need) Response depth of 3 returns back from ACS in 25 secs....( but...

Conversion of Date issue in iOS

Hi All, We are getting some date conversion issue in iOS but in Andrios it is working fine. We are getting some date format like this "1992-08-20T00:00:00" We wrote a method to convert it to 1992-08-20, function dateFormatYyyyMmDd(a_date)...

Bar graphics in Titanium

Hi, i'm looking in Q&A this question but the answers are old. I need draw a bar graphic in a window, Android and IOS. I don't know if is possible in Titanium or is necessary a external module. I'm a old programmer but in Titanium I'm new. Someone can...

Titanium Mapview Add Annotation

I 'm using the code [How to add annotation](http://developer.appcelerator.com/question/132508/how-to-add-annotation-on-mapview-click-event) to calculate the lat and long. But I getting some trouble in add a annotation. The calculate result of long and lat...

iOS Block Call

I am trying to develop a native (iOS) Titanium module. I am having trouble making a call to a named block function when it takes a pointer as an argument. Below is the simplest code snippet I could make that reproduces the error. In it I create 3 block...

Database not installing

I am trying to install a sqlist database in my app but for some reason, the database isn't being copied over as far as I can tell. I'm reusing code that works in another app but everything I try doesn't work. Can someone take a look and tell me what I'm...

Screenshot problems on device

I use the takeScreenshot function to capture the entire screen after the user paints his arts. On the simulator is the result as expected: http://cl.ly/image/0y1F0K0H2A44 On device happens the following: http://cl.ly/image/2z1X1w0v3S14 I really don't...

Listview Scroll Event

Ti.UI.ListView only supports 7 events but a scroll event is not one of them. I have looked over the documentation and the bug report that was files about a year ago. The report says it was implemented but there is no documentation and when trying to do so...

Showing 101-150 of 63,007 1 2 3 4 5 6 7 81261