Community Questions & Answers

Detect video play in webview

I am showing a web page in webview which includes a video. The video is playing fine on both iOS and android. What I need is a way to know when the video streaming starts in the webview? I need to do something when this happens. Is there some kind of...

Error on xhr.send

I have this code which gives me the error: function connectServer(lat, lon, ddmmaa, hhmmss) { var url = 'http://www.npctech.net.br/teste_insert/insert.php'; var xhr = Ti.Network.createHTTPClient( { onload : function(e) { ...

toImage() for android ?

Hello i am not abel to use toImage() in android at all I've tried it on ImageView and View ScrollView etc all not work,also when stringfy the object i got this `[INFO] : ...

Possible to open installed app from link?

I would like to be able to send an email or text link which would open within my (already installed) app on the recipient's device. Is it possible to make a device open the app and then utilize the sent url when the user clicks through the sent message?

GPS time and coordinates

Dear Fellow Developers Titanium 3x ; Android ; Mobile ; NFC ; Camera ; GPS I'm working on an App for Mountain Bike Orienteering ... and I need to record accurate time and place at the moment a BLE Beacon, NFC tag or maybe barcode is scanned. I have...

App crash on Resume - Android

Hello, I have a very strange issue. When I presses the android home button and bring back the app to foreground my app crashes. I have noticed few points regarding the crash. 1 - Is there are many apps(other applications) running in background or you...

How to target many screen resolutions

I have a tss that looks like this: ~~~ ".row[if=Alloy.Globals.is3to2]": { height: 153, } ".row[if=Alloy.Globals.is5to3]": { height: 138, } ".row[if=Alloy.Globals.is4to3]": { height:...

Recommended environment for development with Titanium

1. Does titanium run on MacBook Pro? (ie, do I need a Mac Pro instead/) 2. Knowing I have both Microsoft and Apple environments available to me, what is a 'best practices' environment to use Titanium across these platforms? What source code repository is...

Easy Android Push

Dear all, I'm a bit struggling with push notifications on Android. iOS is super easy, and I want a way like that for Android too. What are your best experiences? I don't want to use ACS for push. What I'm looking for: A way to send just text to app users...

navBarHidden: true not working for a simple windo

Below is my simple app.js file. I do not want the navigation bar to appear, but navBarHidden: true is not working as I expect it should. App.js code is as follows: Titanium.UI.setBackgroundColor('#000000'); var welcomeWindow =...

Working for NBNCo

Hi - we are looking for Titanium experienced senior devs in North Sydney for contract work with the National Broadband Network Company. Working on some pretty innovative stuff. Needs Titanium, Unix, Automated Testing, Mobile experience. Please contact...

Exchange game data between cloud users

Hello, I want to write a game where the cloud server generates some challenges and people can play against each other. This requires user login, management, connecting users for a game, data backend and live game data exchange. So far I used Cloud.Users...

Label Alignment

i have two labels first name & last name, i wants to align them one after another.i am new to Titanium ~~~ var plainTemplate = { childTemplates : [{ type : 'Ti.UI.Label', // Use a label bindId : 'firstname', // Bind ID for this label properties...

Ti.Platform.displayCaps.dpi always returns 160

Ti.Platform.displayCaps.dpi always returns 160. I have two android emulators installed (genymotion) - samsung galaxy s2 which is 240dpi, and Google Galaxy Nexus which is 320dpi. When I do this: `Ti.API.error(Ti.Platform.displayCaps.dpi);` in my index.js, I...

Database issue

Application type:mobile,Titanium sdk:3.3.0 GA,Titanium studio:3.3,platform:android and ios,OS:Mac OSX 10.9.3 Hi, When I am trying to access the database for the first time its saying no such table exists but after it works fine: Any wrong in my...

miga.tintimage module not found ?

I've downloaded this Module and installed it from Help->install module https://github.com/m1ga/tintimage i got this error [ERROR] : TiExceptionHandler: (main) [260,260] ----- Titanium Javascript Runtime Error ----- [ERROR] : TiExceptionHandler:...

How to call module method in js code

I have a module class: ~~~ @Kroll.module(name="TestHelpers", id="com.home.testhelpers") public class TestHelpersModule extends KrollModule { // Standard Debugging variables private static final String LCAT =...

CNAME in Node.ACS

Hi. I published my test app in ACS and is working fine with the original and CNAMEd urls (985534blahblah.cloudapp.appcelerator.com and I did a CNAME change like myapptest.cloudapp.appcelerator.com) It's suppose that, to use my own domain, I must change...

Run Option is disabled for One project

Hi All, I am new to titanium studio, I have some issue in running a project. I have imported a titanium project in to Titanium Studio and try to Run it, but on the where we have the Run Option it is disabled and i am not able to Run the app. I tried by...

Showing 1-50 of 63,042 1 2 3 4 5 61261