Questions tagged [titanium-modules]

Custom Add-on / Plugins for the Titanium Platform written in Obj-C (iOS), Java (Android) or Javascript. Functions and features not included in the standard Titanium API.

Titanium is a JavaScript based platform for developing mobile applications produced by Appcelerator.

It supports Android, iOS (iPhone, iPod, iPad), Blackberry and Mobile Web applications using a mostly common set of Mobile APIs which render using each platform's native controls and features.

Titanium modules allow developers with experience in specific native platforms to leverage that experience in the form of Add-On's or plugins. Generally modules encapsulate native API's not found in the Titanium SDK (such as EventKit for iOS), wrap some outside service (UrbanAirship libraries) or access hardware specific features (such as OpenGLES modules).

338 questions
0
votes
1 answer

Adding subview in Titanium iOS module

I have created iOS module in Titanium. This module includes my own framework written in native objective c. Everything looks fine, but there is one issue. One of the methods i've ported from my framework through module, takes a UIView and adds to it…
darko_5
  • 448
  • 1
  • 4
  • 11
0
votes
1 answer

How can I add images as labels on Titanium.UI.CreateButtonBar?

this is my code and I want to replace "start" "pause" and "stop" with images var controlBar = Titanium.UI.createButtonBar({ labels: ['START','PAUSE','STOP'], style: Titanium.UI.iPhone.SystemButtonStyle.BAR, …
mugizico
  • 11
  • 2
  • 8
0
votes
1 answer

TiViewProxy and view creation

I'm working on a titanium module. Little bit confused about the TiViewProxy. Why we are using -(void)setColor_:(id)color such methods (_ in methods) in ViewProxy ? If we didn't write any such methods what happens when we call: myModule.createView({ …
Midhun MP
  • 103,496
  • 31
  • 153
  • 200
0
votes
1 answer

Difference between TiProxy and TiViewProxy in titanium

I'm now developing a module for titanium application. I have already created module using proxy. (TiProxy). The new module I'm creating is based on view. So I'm trying to use TiViewProxy. But I'm confused with some terms: What is the major…
Midhun MP
  • 103,496
  • 31
  • 153
  • 200
0
votes
0 answers

Bitmap bounds could not be determined. If bitmap is loaded, it won't be scaled

Hi i am getting error in titanium when i move from one window to another and back to first. first window conatins a png image. would like to know how to remove this error thx. Code: var noteview = Ti.UI.createImageView({ image :…
Aditya
  • 31
  • 3
0
votes
1 answer

android.database.CursorIndexOutOfBoundsException: Index 14 requested, with a size of 14

I populating a database colums and diaplying in table view. I am getting CursorIndexOutOfBoundsError. Here is my code: while(rows.isValidRow()) { date=rows.fieldByName('Date'); displaydate(date); Ti.API.info(';'+date); while(…
Aditya
  • 31
  • 3
0
votes
1 answer

get row data when corresponding row is clicked in tableview

I am new to titanium. I am creating a custom table view with row. I have added 4 views in a row. Each corresponding view has label --->> Check In time, Check out time,Note and Time. Check In and Check Out gives time for the task. Note is to add…
0
votes
1 answer

"Error: cannot find symbols" when compiling titanium module application

I've created a titanium module and embed it on titanium module application, but every time I compile that application it will give me an error: [INFO] Compiling Javascript Resources ... [ERROR] Application Installer abnormal process termination.…
Michael Frans
  • 613
  • 3
  • 23
  • 49
0
votes
1 answer

Error "You may need to install the Command Line Tools package through XCode" when package titanium modul?

Does anyone know how to package Titanium module for Android? Every time I try to package the Titanium module, it give me an error. Here's my log output: Executing build.xml... /Library/Application…
Michael Frans
  • 613
  • 3
  • 23
  • 49
0
votes
2 answers

Titanium SDK update for current user

my system has 2 users and a user has installed titanium studio and developed some apps.but he is using old titanium SDK 1.6. he installed titanium in common, i.e) it available for both the users. now I want to upgrade titanium sdk only for my user…
Robin Michael Poothurai
  • 5,444
  • 7
  • 23
  • 36
0
votes
0 answers

Appcelerator Titanium - adding a MODULE

I have compiled an Android module for Titanium mobile SDK 2.1.3, but when I try to add it to an empty application I get the following error, when I try to build the app. [ERROR] Error(s) compiling generated Java code [ERROR] C:\Users\foobar\My…
Tom
  • 7,994
  • 8
  • 45
  • 62
0
votes
1 answer

java.lang.IllegalArgumentException: already added: Lorg/w3c/dom/UserDataHandler;

I try to integrate my module(for Android) to titanium app. I Integrade it and after i added in tiapp.xml: com.android.manager I get error: [ERROR] System Error while…
nayden
  • 875
  • 2
  • 7
  • 10
0
votes
1 answer

Gcm or C2DM application launch issue.(Titanium android)

I am developing small android application in which I want to integrate GCM. I used one module for it and its working fine. The only problem with it is when my application is open and if I click on notification it relaunch my application which I…
0
votes
1 answer

CommonJS module how to create getter

i'm working with Titanium, but this question is related to CommonJS, i'm trying to create a module but I also need a getter for a variable. I admit that I haven't all clear in my mind, it's the first time that i'm working with titanium and…
Gianluca
  • 2,379
  • 3
  • 25
  • 41
0
votes
2 answers

Titanium android data reflection in table view

Google APIs Android 2.3.1 , data changes in the database tables not reflecting in tableview screens, but if we restart the app, will show changes and also, if we load app.js will show recent changes. Can anyone help me to fix…
Robin Michael Poothurai
  • 5,444
  • 7
  • 23
  • 36