Community Questions & Answers

Global object

My intern developed an Titanium Android App and created an global object within the Ti.App namespace like this: Ti.App.ObjectName.function This seemed to work in Android but on iOS it doesn't work when called from a different Window, the...

close button on facebook button

Hi, I have a problem, close button on facebook popup doesn't fire any event. is it a bug ? iam display transparent (width opacity 0.5) view behind the popup and when i close facebook, it should disapear.. im using sdk 3.1 my code : ~~~~~ var fb =...

Open website QR in a webView

Hi! I need (again) help. I'm using the Scandit module to scan QR codes. It works well, but when you scan a QR code only open an alert: Alert success (QR): http://www.google.com OK And what I want is to open the url in a browser. I tried this, but the...

Multi Page tif-Image - display in Titanium?

Hey, i wanna display a multi-page tif file in my application, but webview only shows me one page of the tif-file. Any idea how to show the other Pages? My current thoughts are around splitting it up before, or some image transformation - don't know if...

error integrating admob in iphone

~~~ var Admob = require('ti.admob'); var win = Ti.UI.createWindow({ backgroundColor: 'white' }); var ad; ad = Admob.createView({ top: 0, left: 0, width: 320, height: 50, publisherId: "a150644f9f71b76"}); // You can get your own at http:...

i18n - Android - Multiple xml files

Hello, My app use 2 languages EN/FR. I splited the strings.xml file multiple files. It works great on iOS but fails on Android 4.2.2, Ti SDK 3.0.2 GA. Is it possible to split the strings.xml file into multiple files on Android ? Thanks.

Photo Gallery

Hi, i am trying to get image from the photo Gallery, it's works sometimes and it crash on some device.. this is the code that i am using: ~~~ Titanium.Media.openPhotoGallery({ allowEditing: true, mediaTypes : [Ti.Media.MEDIA_TYPE_PHOTO], success...

TI is not defined

I run my very simple app, and I in the android emulator I get Runtime Error Location: [4,1] app.js Message: Uncaught ReferenceError: TI is not defined The app.js is // this sets the background color of the master UIView (when there are no windows/tab...

OCR Module

Hi I am trying to build an OCR application with Titanium. Are there OCR modules out there that I can try or buy? I would need an engine type; not a cloud or web service based type. Thank you very much!

Computer User Privacy Help?

I am using a Windows 7 computer. There are three users on this computer. When I download something from my user, it goes on the other users. How do I prevent it from showing my downloads to the other users on my computer?

Titanium module not working in alloy?

Case: Application type: mobile Titanium SDK: 3.1.0 Platform & version: Android 2.3.6 Device: physical device model Host Operating System: Windows 7 Titanium Studio: I tried to using gcmjs (https://github.com/iamyellow/gcm.js) with alloy but i don't...

Titanium.map Issue

The Titanium Maps module uses version 1 of Google Maps. Google is no longer providing api keys for version 1. The Maps module mentions needing to use a new plugin for Android, in order to use version2 of Google Maps, but makes no mention of what to do on...

back button android and tabgroup

hi expert; I have a big problem with my android application on Titan, I would like to work with the back Button to return to the previous windows, but when the current window contains a TabGroup I have to click two times to get to privious window if not it...

Compiling of modules with assets

Hi, I like to use the [AGCalendar](https://github.com/Appgutta/AGCalendar). I downloaded zip, unzipped and modified in titanium.xcconfig the line 'TITANIUM_SDK_VERSION = 3.2.0.v20130510175642'. After running of `python build.py` a new zip file is in this...

audio is playing

Hello, Im building an app witch i want when a user press a button to play 2 audio files one after another. Is there any way to determine when the first audio finish playin in order to start the second? ~~~ // method for loading sounds var soundArray =...

Android Build Error

I installed some new packages (like Google Play Services) and updated some existing packages in the Android Manager and now when I try to rebuild the app that I am working on I get the following error: ~~~ [TRACE] Writing out AndroidManifest.xml [ERROR]...

Function call

Hello everybody.. I am stucked in a weird problem regrading to function call. I have declared a function in my map.js file but when I call it in my app.js file it is not accessible in fact reports an error as "undefined is not a function". My...

Showing 51-100 of 47,504 1 2 3 4 5 6 7951