Community Questions & Answers
App structure, childWindow inherit "objects"?
Hello, Im developing a iPhone App with the latest Titanium Studio. My base structure is pretty basic, and I want to create some sort of OOP structure, but with a smaller width. In my app.js, I include my core-"class", "app" which I...
Titanium Community app fiddling
Hi. Im looking into the Titanium Community App, to learn about good codestructure. Im trying to implement my own dynamic data that is going to build views and tabs. I have my data in an Array that i have written in commonjs module. So what i would like...
My first CommonJS app - How best to structure?
Hiya I have been learning Appcelerator for the last year or so now having done a couple of iphone apps always using the Tweetanium structure that was recommended. I am now about to start work on an iPad app but i want to utilise the CommonJS structure...
How to structure this code better so that the code doesn't run synchronously.
I'm retrieving JSON information fine referencing a method in a seperate .js source. The trouble is, while the method is running, the code on the current source is being run synchronously, and hence the return variable is still length 0. How do I structure...
Problems using a folder structure for icons in different resolution which works on Android without duplication
I am having problems getting icons to work using the following folder structure Under the folder: Resources->android->images Each icon folder is placed under one of the following 3 folders - res-hdpi - res-mdpi - res-ldpi All splash and...
UI structure for complex apps?
Hi, i am new to Titanium mobile and try to learn some best practice about how to create the ui architecture of apps which are a little bit more complex. At the moment i think of how to build an app like sparrow mail for iphone, or similar. I am unsure...
MVC Revisted
Well, after checking various articles and best practices, I ended up into a good structure for mobile apps. First of all, I need to state that a mobile application is usually a compact application meaning that the code is compact and app developers don't...
You don't know how to structure your app?
Check this post of mine: [http://zenborgium.blogspot.com/2012/01/how-to-not-to-build-and-structure-large.html](http://zenborgium.blogspot.com/2012/01/how-to-not-to-build-and-structure-large.html)
Build an App with authentication "the right way"?
Hello, I am currently building one of my first apps, but my first authentication-app. Which means that the User has to be logged in to view and do stuff. Running latest 1.8 SDK with Studio and iPhone 5.0 The reason for this Q&A is that I want to know...
A little confused about constructing the app.
Hi, So I'm creating an app that is going to download JSON data from server. This is my first JS project at this level, so I am a little confused. I'm trying to make things as modular as possible, using "require" and a global namespace variable...
Application structure and MVC - Titanium-Android - Mobile App
Hi, I have one application. Now I want to improve it and want to create proper structure. Please suggest me good framework to be used for application structure. Thanks
Images accross platform - What worked for me
Hi everyone, I've been through a nightmare to actually get images working across all platforms we're developing to on our project. After reading all the documentation (that is a bit poor on specifics) and reading pretty much every entry on the Q&A...
Javascript inheritance with Mobile API objects
We are running into issues when trying to extend Titanium objects using any of the typical techniques one uses for "structured" Javascript. In the examples below, we're using [Parasitic Inheritance a la Douglas...
Folder nesting
Hi, I have noticed (after many hours..) that Titanium does not recognize Ti.UI or any similar statements in nested folders. I got i.e. resFolder/iphone/f1/f2/f3/f4<br /> inside f4 I have a function which i.e. calls...
Modal view Help!
Hi Wonder if someone can help me, I am trying to create a basic structure of an app that will have one home screen/view with 9 buttons on then each button will open a subsection or new window with various subsections, id like to use a modal view for each...
Titanium Mobile Structure
Are there any existing samples out there for me to look at the proper structure for a titanium mobile app? I've found Tweetanium, http://developer.appcelerator.com/blog/2011/01/tweetanium-mobile.html But the git seems to be removed and in the comments,...
Code manageability and structure
Dear all, We are developing an application for both android and iPhone. As we are coding in javascript, code is very tough to manage. There must be some MVC type pattern in titanium, so that we can manage the code easily. ...
So this is where I'm left with Titanium...
A couple of days ago I asked a [question](http://developer.appcelerator.com/question/119599/scrollableview-with-imageviews-works-on-android-not-on-iphone) about a scrollableView with Views containing imageViews in them. It worked on Android but not on...
Right Track for Structure
Bit of a long question, so any advice would be most appreciated, really! I have read / heard that one should not do each page in a separate .js file, and i would like to create an app where the definition of the whole thing is in a simple appData.json...
Density-specific .js files on Android
I want my application to have a different display depending on the screen size. I am not talking about images or resources, but how the components are displayed (position, size, etc.) So I tried to apply the same mechanism as the one for images and css...
move the iphone and android folders
Hey Hackers and Painters, is it possible to move the Resources/iphone and Resources/android folders to somewhere else? greetings Matthias
Non tabbed based UI
Hi there, How would I structure an application that is made up of multiple views/windows and depending on what you click on you are taken to the next or previous view/window. Most (if not all) of the applications that I have seen so far are tabbed based....
Best Practice for Project Structure
I folks, I´m new to Titanium and i´m currently working on my first big Project based on Titanium Mobile. It os an IPad App with 4 Separate Parts, each with a different Look and Feel but with access to a central Database which holds the Data. How...
Showing 1-23 of 23