Community Questions & Answers

How to find Bluetooth version

I need to be able to use bluetooth beacons, but they only work with version 4.0 of bluetooth. When using my galaxy tab 2 it only has bluetooth version 3 so my app crashes. I need to figure out how to test for bluetooth versions before loading the beacon...

ACS Atomic Increment Operator $inc Not Working ??

Hi, I am trying to use the '$inc' atomic increment operation using the ACS '$inc', but this does not seems to work. I used 'Update' method with the following code for custom fields 'counter': ~~~ { 'counter': {"$inc":12} } ~~~ but the...

Unable to generate Mobile Web App

Hi when I try to run any of my projects, I get the following error [INFO] Alloy compiled in 0.3862s [INFO] : Alloy compiler completed successfully [INFO] : Copying project files [INFO] : Finding all Titanium API dependencies [INFO] : Creating...

Strange code when using Webview

I have this code in alloy app: ~~~ var webview = Titanium.UI.createWebView({url: '/html/index.html'}); $.index.add(webview); $.index.open(); ~~~ The problem is that when i opened it in ipad some strange code appears at top of the page: ~~~ return r};...

Android Image Sequence Choppy

Hey, I have a png sequence which I want to run on android, there are around 150 png images that need to run in sequence. The code works fine on IOS but for some reason on android it doesnt load the images and if it does they are very choppy. Below is the...

Android webview ping is not stopping

Hi, I have local webview page which pings server url on regular interval using javascript inside the page.When I am clicking device back button I am calling this function to clear webview from memory. $.window.addEventListener('androidback',...

Titanium sdk 3.5.0

Application type: mobile Titanium SDK: 3.5.0 Alpha Platform & version: iOS 8.0 Device: iOS simulator Titanium Studio: 3.4.1GA When we can expect the GA version of titanium sdk 3.5.0? Thanks Amasidda

Can we have dynamic tiapp.xml file?

Application type:mobile,titanium sdk:3.3.0,Titanium studio:3.3.0,platform:Android and IOS,Device:Emulator. If I am asking any thing wrong I am sorry.But I want to know whether its possible to have dynamic tiapp.xml file or something like...

Large file download on mobile(iOS & Android) Memory Issue.

Application type: Mobile Titanium SDK:3.2.0.GA Platform & version: iOS(7.0),Android(KitKat) Device: iOS simulator, Android emulator or physical device model Host Operating System: OSX (10.9) Titanium Studio:3.2.0.201312191547 Hi , I am trying to...

TextArea does not display text

Dear All, I've got the following controller: Environment: ========== Application type: mobile Titanium SDK: 3.4.1.GA Platform & version: Android 4.4.2 Device: Genymotion Host Operating System: OSX x.x, Windows x, Ubuntu x.x ...

Titanium dp height issue

Hi, I'm having problems scaling my application in Andriod using dp heights. I'm using a Sony Z3 to test which has a 1080p screen. I cannot hide the navigation bar at the bottom so Ti.Platform.displayCaps.platformHeight is reporting the height of the...

function is not defined

Hello everyone! inside app/lib I put the file pippo.js with written ~~~ function pippo(){ alert("test"); } ~~~ inside app/controllers/index.js I wrote ~~~ require("pippo"); pippo(); ~~~ when I see him in the browser I...

Error Verifying License - Android Simulator

Hi, I'm trying to execute my application on android simulator but I get the following immediately when the app launches: ~~~ [WARN] : dalvikvm: threadid=1: thread exiting with uncaught exception (group=0xb1d2db20) [DEBUG] : dalvikvm: GC_CONCURRENT...

Backend php - tricky problem I can´t figure out

HI I have a tricky and urgent question which has made me almost pull my hair out for a day or two. Would so much appreciate some help on it! [This is the code I am working on and that I need some help with:](http://pastie.org/9772657) Background: From an...

appcelerator and OS X

I usually develop apps for iPhone, but I need to develop a couple of apps for multiple platforms. After reading here and there I chose appcelerator. But I cannot start. After the installation there was a problem related to a missing symbol in the...

Appcelerator Studio and TFS

I am developing for mobile (iOS and android) in an enterprise environment that is using TFS (Team Foundation Server) for it's repository. Our Typical environment: Apcelerator Studio 3.4.1 Xcode 6.1.1 Android API 20 TFS eclipse plugin 12.0.2 We have...

How to buy and use a module?

I want to buy a module which I am using for free trail from marketplace . And What should I do to make sure that the module license will be verified correctly ? Should I change some configuration like guid or somegthing else ? I can not tell differences...

Open URL in new webview tab/window

Hi everyone, I am trying to get an online payment working in my app. The problem is some online banking systems will open a webpage in a new tab/window. The WebView in Titanium only works in a single instance so instead of opening a new WebView, it will...

Listview

var layout = [ { title: "Parent 1", isparent: true, opened: false, sub: [ { title: "Child 1" }, { title: "Child 2" } ] }, { title: "Parent 2", isparent: true, opened:...

Get image from few images

Hi, I want to do a function display several image , then user able to click that image to open it. But I fail to get that current image which user clicked. May I known how to get the current image?? ~~~ $.image.images =...

App build failed when add module iOS?

Hi everyone ! I have a problem about when i import a module iOS to my app project then i build it has failed. But i no happen for all iOS module , it just happen for module iOS which have Core Telephony Framework and use some lib in it, when i remove it...

Showing 201-250 of 65,489 1 2 3 4 5 6 7 8 9 101310