Community Questions & Answers

force ui modules link

If i understand correctly, when not running in emulator or debug, titanium compiles the code and link only the required ui modules (such as UI.Label, UI.2DMatrix, etc.) Is there a way to force all modules to be linked? Rony

Listview with nested array

[ { categoryName: 'dude', imageUrl: 'url', products: [prd1,'prd2','prd3'] }, { categoryName: 'wheres', imageUrl: 'url', products: [prd1'] }, { categoryName: 'my', imageUrl: 'url', products: [prd1,'prd2','prd3']...

Battery level never changes

I'm using 3.4.1GA with iOS8.1.1 (this applies since iOS8.0) with iPhone5/6 and iPad 2/3 and have set Ti.Platform.batteryMonitoring to true. When the app first loads, I get a correct battery level using Ti.Platform.getBatteryLevel(). But then this value...

iPhone 6 Plus screen width

I am trying to determine on the fly in my app whether the device is a iPhone 6 Plus. I read somewhere (sry no link) that the height and width are the way to go. iPhone 6 being 375 wide and iPhone 6 Plus being 414. I am currently using...

Can't start Titanium Studio

I have an error when start TitaniumStudio: Failed to load JNI shared library C"\Program Files\Java\jre1.8.0_25\bin\server\jvm.dll win 7 64bit How to solve?

Upgrading from ios 6 to 8 - Small issues

Hello, I am looking for a little assistance with some trouble I am having. Specifically the deprecation of Ti.UI.iPhone.createNavigationGroup which is replaced by: Ti.UI.iOS.createNavigationWindow. Is the behavior equal? Is it simple switching or is there...

nodejs in titanium

Hello everyone! am new to titanium I installed this:npm install mcrypt and I put this code in alloy.js ~~~ var mcrypt = require('mcrypt'); var algos = mcrypt.getAlgorithmNames(); console.log(algos); ~~~ I get an error 404, says that the library does not...

Delete App from iPhone

Hey guys, i got a little problem here. After uninstalling the App from my iPhone there is something left behind. Is there a way, to delete the App all presets, data and whatever the app set in my iphone without setting my iphone back to default? thanks!

TableView with equally spaced cells

Hi, I want to add equally spaced labels to a tableview for header and content like an excel list. But somehow the header seems to behave different than the content. The header starts left, but the content is shifted to the right. What is the correct code...

login a website

I want to get some html data from a website, problem is I have to go through a login page(username and password only). Is it possible to login a website using Titanium.Network.createHTTPClient() or is there another way? example would be logging in to...

Out of memory

when i try to run app on device , i get the following error then app crash. I/dalvikvm-heap: Grow heap (frag case) to 52.168MB for 5498928-byte allocation [INFO] : I/dalvikvm-heap: Forcing collection of SoftReferences for 9776716-byte allocation [ERROR]...

Text will not align on button

I am using the following code. The text on the button centers itself. What do I need to do to get it to left align? Thank you. ~~~ var btn = Ti.UI.createButton ({ backgroundColor: '#444444', title: 'Just some text', textAlign:...

service based error

1.Application type: mobile 2.Titanium:3.4.1.GA 3.Platform & version: Android x.x, 4.Device:Android emulator or Samsung Galaxy s3 5.Host Operating System: Windows 8.1 6.Titanium Studio: Titanium Studio, build: 3.4.1.201410281727 (c) Copyright...

Audio Recording 4096 filesize error

Hi All, I am building a audio app and it has been through extensive testing but it is still buggy and outputs a error every now and again, which when recording is really frustrating as you only no the recording has failed after the stop recording button...

Showing 251-300 of 65,482 1 2 3 4 5 6 7 8 9 10 111310