Community Questions & Answers

Datatime from sqltite

want to reading a datetime value from a Sqlite database and assign it to datepicker control. and also need to set time in label like 12:53 am like In Table, reminderTime datatype id dateTime..its saving values like 12137880000 plez help

Select data from multiple classes

I'm currently working on getting data from parse.com. What I want is to get data from more than 1 class. I'm testing in android platform. This is my current code now which will retrieve data from ONLY 1 class. ~~~ var parseURL =...

Javascript - Garbage Collection

I'm a bit confused here: 1. Global variable will stay in memory even if it will not be used anymore? For example, in app.js: ~~~ var foo = Ti.UI.createView(); //something else. the foo will never be used again. ~~~ So the variable foo and the view it...

CommonJS module

In my module there is a function that needs to be exposed and used internally. Here is what I do: ~~~ var foo = function(){}; //to expose exports.foo = foo; //to use internally foo(); ~~~ or more simple: ~~~ //to expose exports.foo =...

Problems after importing widget

I am trying to implement a facebook type slide menu. So i am making use of this [widget] (https://github.com/dharmik/Slider-Like-Facebook-working-in-both-android-and-iOS) . After i import my widget all works fine when i test it on an android tablet/ ios...

Array objects

var users = [{id: 1, price: 50}, {id: 2, price: 20}]; var comments = [{id: 1, comment:'"test"}, {id: 3, comment:'check'}]; how can compare these array using id,,,i need to find out id not in comments array i am new in java script ,,plez help

TouchEnabled does not disable

Hello, I have just upgraded to Titanium 3.3 and noticed that enabled is now deprecated. I previously was using enabled for a pair of buttons to create a pagination effect. When a button was disabled it would grey out and the user would be unable to click...

XML Parsing in titnaium

i have follow document as a response but dono how to use it in titanium ~~~ <?xml version="1.0" encoding="utf-8"?> <data> <status>200</status> <description>OK</description> <topcities> ...

Problem with getting data from array

Hi, I have some code which creates a Table View Row for the data in an array. The code works fine up until the event listener. I create a variable stringTitle which is suppose to get the "title" data from each row and the value goes into the...

Android Local notification

I am using module for getting local notification in android like below function setMultipleAlarm(appname, appid,message,backupObj,isMultiple){ var zco_alaram_manager = require('ti.zco.alaram.manager'); Ti.API.info("setWeekDayAlarm---- >...

creation of menu with Has child

hello friends, i want to create a menu on android app while clicking on menu it should show a list of item some of the row should have haschild property means by clicking in that row it should also show a small menu table.. i am unable to find a way to do...

Showing 1-50 of 4,694 1 2 3 4 5 694