Community Questions & Answers

Controlling app from server.

HI, is it possible to control the native UI on the app from a remote server through something like a webview or something? I want to be able to update my app's tableviews from a website. Is this possible? I checked the documentation and it's not clear to me.

AnimationStyle

Hi all Someone can tell me please why this code doesn't work ? ~~~ var win = Titanium.UI.currentWindow; win.backgroundColor="#fff"; var view1 = Titanium.UI.createView({ height:180, width:180, borderWidth:3, backgroundColor:'black' }); var...

SQLITE New Table

Hi, It is possible to create a new table in a sqlite file already in the resources directorie? Just execute a SQL Create table?

Multiple Photo selection

Hi guys. I want to select multiple photos from the gallery. For selecting one photo I found openPhotoGallery from Ti.Media but it selects only one at a time. Is there any mean to select more than just one photo? Thanks!

New App not showing up in analytics

I have released a new app for the iPhone and 3 days ago it was accepted into the app store. For some reason I am not able to see it in the analytics page of my.appcelerator.com. I can see my other app but not the latest one. Has anyone else seen this? if...

Do apps run php files?

This is an odd question, but I have not yet had to work with php in an app. Do appcelerator app run php offline (locally, in the app, as opposed to a server)? If I have existing php files which run calculations and such and then output html, can I use...

All shortcuts gone from Ti Studio?!

Am i missing something here? i opened up Ti today and i can't save, cut, copy, paste, backspace/delete, find, format or do anything. I understand you can map keys and what-not, but what's the point of wiping them all out and forcing me to manually add them...

Android, pressing backbutton shows splashscreen

Hello! Have a weird issue that i've never experienced before, so i think it's related to the latest SDK-version. When i press backbutton in my app's root-window, the app returns to the splashscreen with a navbar with the apps name. Why is this problem,...

Image distorted when clicked on

I'm having some trouble with a button in the game I'm creating. Everything works as it should except that when I click (and hold) on the button the image is distorted. Pictures: Normal: [Button](http://i42.tinypic.com/1febll.png) When clicked...

app boot sound?

Hi, I am very new to appcelerator, still learning the basics and I was wondering if it is possible to play a small sound on bootup after the splashscreen. This will be on the iOS SDK by the way. It would also be nice if you could share some example code....

Database deployment - How do I do it???

I created a DB using SQLite manager, made some tables and filled them with data. I want to deploy the DB not create it on app start up. I Created my app using various examples I found. I copied the DB to my resources directory. When I run it in the...

Start an app without tab view

Sorry for this really dumb question. I've built my first app, where I have three windows opened using a tab group. I want to see how this looks/functions whereby the app opens with tableview, from where users can access click a row to open one of the...

XML parsing error

Hello, I am trying to parse a local XML file and I have this error: Cannot call method "parseString" of undefined (app://fileManager/XMLmanager.js#13) on my XMLmanager.js I have the following code: ~~~ ... var guideXMLfile =...

XML Detect if element doesn't exist

Hi I've looked through QA and quite kind find answer to this query. I need to be able to check if an element in some XML i'm parsing does not exist. Does anyone know best way to do this. I have tried numerous things but in regards to get length of the...

TableView SearchBar Label search

Hello everyone, I am creating a tableView with a searchbar, but there is one catch.. The data in the table are not pure strings.. in the TableViewRow, there will be a thumbnail, text, and some other stuff.. At the moment I have a search bar appear, but it...

What is the best way to display YouTube videos?

Hi all, I have an app that plays videos in 2 formats. MP4 which works great with Ti.Media.videoPlayer and YouTube videos which I can't get to work with the Ti.Media.videoPlayer. What is the best way to display YouTube videos either using the built in...

Using python scripts

I have a very very basic project with just a few lines of code just to get my head around using python methods inside my project. So I have this index.html page in my Resources dir with the following...

GUI components loading slowly

Hi everyone, So I have that 600 line .js file that loads a simple form within a table view (to have something similar as the contact app when you edit your contact info). On the simulator, everything works well but once on the device, it takes like 2...

Clicks not going to second table row

I have a slightly odd issue that I've been banging my head against a wall on. Essentially, I'm creating a simple table and adding 2 rows to it. When I click on the first row, the listener for the 'click' event fires just fine. If I click on the second row,...

Scrollableview IOS

Hi, I've had a look on the Q&A and I've seen that currently only the 'scroll' event is supported on Scrollableview. I need to access 'touchmove' or at least the offset values of inside the ScrollableView. Basically what I want to be able to do is...

TCPSocket Binary Data processing

Can we handle binary data using the TCPSocket interface? I am trying to write a client app that connects to a server. The packet format exchange b/w client and server is binary format. ~~~ Packet format used: 1st byte: packet type 2nd byte:...

1,024 views
asked 3 years ago by Girish M
last activity 3 years ago

Impossible to set barColor on Main app window

Hi guys, sorry for asking an apparently trivial question but I'm really not able to set the barColor on the master UIView of my app. It's always in the default iOS blue color. I'm currently working on iPhone with Titanium SDK 1.7.6 (but I tried also...

Scope issue on the iPhone

I can get this code to run on both Android and the iPhone emulators: ~~~ Ti.App.myApp.UI = { createMyView: function() {...} }; ~~~ But I can't get this to work on the iPhone simulator, only the Android simulator: `Ti.App.myApp.UI.createMyView =...

My First Mobile App for Android

Hi, I have taken a New mobile app for android, and now I am trying to run this in Android Simulator, After unlocking Simulator I am not able see the output. How can I see the output

Showing 40,951-41,000 of 64,387 1815 816 817 818 819 820 821 822 823 824 8251288