Community Questions & Answers

working with thread

Hi i want to make a thread wich evry 3 seconds run through the remote database and send the newer result as a notification for the mobiel client i have make the notification but I lost i can found a solution to make this thread and thnx a lot...

Error with tiapp.xml

hi i have a problem when i add activities to tiapp.xml <activities> <activity url="eventpref.js"> <intent-filter> <action android:name="android.intent.action.VIEW"/> ...

App Crashing Windows

Hi Community, After a recent update from a few weeks back, I've been using Titanium Studio and randomly without any warning my screen will go a strange color and the CPU fan goes crazy. It's only happening when Titanium Studio is open and has happened 3...

show notification in onather window

Hi i have successfully made a local notification now i want when i clik in the notification i want it tobe shawn in onther window how can i do that this my code: app.js ~~~ var win = Ti.UI.createWindow({ backgroundColor : '#ccc', title : 'Android...

Notification asc Titanium

Hi i want to make a notification with acs but i still have this error missed field :devicetoken,channel how can i fix them i tried a lot of method but doesnt workany help plz

Get Picker text on IOS

I have his code running ok on iPhone and Android. Need to get the selected text on iPhone. Does anyone help me ?. With android no problem. for (var i = 0; i < tableReadI.length; i++) { if(OSNAME === 'iphone') { var row =...

make a reserve application

Hi I want to make areservation for a cinema or any event plz how can i do this i have learned about paypal but i haven't understand the mecanisme i am using titanium any help

How to sort Phone Numbers?

Hi Friends, I have developed button click to open Android contact list then contact select to show phone number in my tableview. The problem is some contact users having only email id so if i select that email person after i can't see anything in my...

Ti.app.proprities doesn't work fine

Hi i am using Ti.app.proprities.setstring("accestoken",id) to save the session of the current user but when i logout and i want to log withother user it return to me the session of the user that i have log in just before the new one any...

Wrtiting in XML file

Hi, I'm trying to write in an XML file but it doesn't work, I cannot change the content of the file Here is the code: ~~~ var file = Ti.Filesystem.getFile(Ti.Filesystem.resourcesDirectory, 'AppSettings.xml'); var xmlText = file.read().text; var xmlDoc =...

Push Notification

I Receive an error every time when i run this code relating to push notification Error : Missing fields.Required: device_Token and channel var Cloud=require('ti.cloud'); var CloudPush=require('ti.cloudpush'); var...

Get textfield id in webview

Hi, My requirement is to get textfiled id if textfield is existed in webview and i have to set focus listener for to that textfield.Is there any function for get textfield id dynamically in webview for iOS and Android. Thanks in advance.

get extension of link in android

**Hi** I am fresher developer in android . i have already created project in android and my next task is webview. How to get extenssion of url in webview. i have used android appcelerator version is 3.2.2.GA **Thanks**

Error uploading images IOS

The Requirement: I need to upload an image to node server using titanium What I have already done? So, far I have successfully uploaded the image on android. The Code: ``` var myImage = event.media; if (event.mediaType ==...

send data in json

I have the above code i want to send data in json format for (var i = 0, l = data.length; i < l; i++) { if(data[i].switch.value==true){ // var param=data[i].title; //alert(data[i].title); ...

Showing 1-50 of 2,307 1 2 3 4 5 647