Community Questions & Answers

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 =...

error

i have integrated admob module first it worked well but after that am getting following error. can anyone help me. thanks. ~~~ [Ads ( 1777)] To get test ads on this device, call adRequest.addTestDevice(AdRequest.TEST_EMULATOR); [INFO][Ads ( 1777)]...

Netflix - Custom URL Scheme

Hi folks, I am developing a Netflix based App and I really need to use their Custom URL Scheme to open the Netflix App from mine. I managed to do it correctly when opening a movie, but not a tv serie, like Dexter or Breaking Bad for example. I am guessing...

Reordering rows with gestures (Android)

Hi, I've a table with some data and I need that the user can reorder the rows without using Up Down buttons on every row. It would be nice to use drag&drop other kinds of gestures. Using this example, how I'd do it? ~~~ var win =...

errors in integration of admob

[ERROR] Error generating R.java from manifest [ERROR] C:\Users\Xvalue\My Documents\Titanium_Studio_Workspace\combadd\build\android\AndroidManifest.xml:17: error: Error: String types not allowed (at 'configChanges' with value...

How to parse XML on mobile web

Hello, I need to parse an .xml file. I tried it using following code. On Android/iPhone works just fine, but when I try it on a mobile web it doesn't work. I'm getting a parse error and Titanium.XML.Document is empty... How can I parse the .xml file to...

alloy buttonGrid calling custom widget

Titanium SDK version 3.1.0.GA Mac OSX 10.7 Trying to perform a simple test to call a custom widget from a button on the buttonGrid widget. The login widget works because I tested it separately. ~~~ } id : 'login', title :...

Nine-patch image can't work

Android API: 4.1 x86 Titanium SDK: 3.1.0GA View: ~~~ <Button id="testBtn"/> ~~~ Tss: ~~~ "#testBtn": { backgroundImage: '/images/custom-slider-right.png', backgroundSelectedImage:'/images/custom-slider-left.png', ...

startActivity in android titanium module?

Hi, today i try to start activity in module using: ~~~ Intent i = new Intent(); i.setClassName("com.test.module", "com.test.module.myActivity"); this.getTiContext().getRootActivity.startActivity(i); ~~~ But the problem is: ~~~ Message:...

Add inner shadow to a textarea

I tried the following to add a inner shadow to a textarea. But couldn't add the shadow. fieldObject = Ti.UI.createTextArea({ height : '100dp', width : '250dp', top : '10dp', color : '#222', //borderWidth : '3dp', borderColor :...

Missing Java sdk

I am new to Titanium. I am trying to run a sample application. But i am facing "Missing Java SDK. Please make sure Java SDK is on your PATH" error.. I have set the path using this link...

Ti2DMatrix in a different context

I get this warning when using Ti2DMatrix: ~~~ [WARN] Creating [object Ti2DMatrix] in a different context than the calling function. ~~~ I think it's because i use url to create a window, and sends the Ti2DMatix as a parameter when creating the window. Is...

Socket connection timeout

Hi Need to open the cash draw via TCP/IP call. I can successfully telnet to open the draw from the terminal. I am however unable to connect to the it via Titanium socket. What could be the reasons? Code snippet ~~~ var socket =...

Showing 101-150 of 8,676 1 2 3 4 5 6 7 8174