Community Questions & Answers

Move recorder audio file after recording complete

Can anyone tell me what I'm doing wrong here. I get a "undefined is not a function" on the "move" line below. If I take that out and just have the sound player play the tmpFile then it plays so the sound is getting recorded, I just...

local images for Android

Hi, i have downloaded image from httpclient. here how i save the file : ~~~~ var file = Ti.Filesystem.getFile(Ti.Filesystem.applicationDataDirectory, filename); file.write(this.responseData); ~~~~ on iOS, i display the image normally like this...

receiving and parsing big text files

I need to get a text file from remote host for inserting these data into a sqlite Db. ~~~ var xhr = Titanium.Network.createHTTPClient(); xhr.open("GET","http://example.com/file.txt"); xhr.onload = function() { if (this.status ==...

Need Help to write some Content in File

Hey guys, my project should be an Android App and I want write some content in the following file: var file = Ti.Filesystem.getFile(Ti.Filesystem.resourcesDirectory, 'file.json'); In internet I've seen that the use the following...

Not snle to find Titanium Mobile Project in New project

Hi, I am a fresher to titanium, I din't find Titanium Mobile Project in File- create New Project . I had only three options i.e Titanium Module project, Project, Android Project. So, Please help me in this. Is Titanium Mobile project and Titanium Module...

Titanium apk size is too big

Hi, I searched similar questions but could not find an answer, so let me ask it here. I noticed that apps' apk size created by Titanium Mobile are huge. KicthenSink occupies 26.57MB, and even an empty test app weighs 15.95MB. I think this is unacceptably...

Filesystem limits?

For an upcomming application I need to use the Filesystem or save files remotely on a server. I am trying to determine the possibilities but can't find much in the docs. I need to know this for both iOS and Android. So here goes: Are there any limitations...

Opening a PDF not working

Hello, I am trying to open a pdf to no avail. I referred to this http://developer.appcelerator.com/question/72361/open-pdf-file-on-android link to see how I could go about opening a pdf. It still does not work. Below is the code. ~~~ var win =...

File Transfer

I to create an app to transfer PDF files and video from my computer to my android device wirelessly. Can someone please tell me as to how this can be done. I have looked at the documentation for filesystem and networking to no avail. I do not want to use...

File Syncing System

Hello, I want to create a file syncing system between my computer and android device. Instead of describing the system I thought I would just give you guys a sample use case of the system. - USER_1 has a computer and an android device - On the laptop...

Specify filename in multipart file upload

I need to upload a JPG image file to an existing service. The service requires an authentication string which is a hash that includes the file name. Therefore, the filename in the hash (determined BEFORE I make the request) must match the file name IN...

Showing 1-50 of 326 1 2 3 4 5 6 7