appcelerator

The system cannot find the file specified “classes.dex”

蓝咒 提交于 2019-12-11 03:24:29
问题 I have developed android module project and deployed in Titanium Project. When I run the Titanium Project am getting this err frequently [INFO] logfile = C:\ws\Testw2\build.log [INFO] Building Testw2 for Android ... one moment [INFO] Titanium SDK version: 3.0.0 (12/12/12 18:49 a5894b3) [INFO] Fastdev server running, deploying in Fastdev mode [INFO] Copying CommonJS modules... [INFO] Copying project resources.. [INFO] Tiapp.xml unchanged, skipping class generation [INFO] Force including all

Custom Tabgroup Appcelerator

我的梦境 提交于 2019-12-11 03:00:04
问题 I'm trying to make a custom tabgroup in appcelerator in which one (or two) of the tabs is bigger than the rest. I have attached an image of what I'm trying to pull off. I am able to make a custom tabgroup, but it refreshes each time I change a tab, and I want my tabs to behave like a native tabgroup. Any help would be much appreciated 回答1: As you mentioned in a comment, on iOS the tab group it itself a view. You can add views to it, and they will persist regardless of which tab is active.

Get bindId from added data to an TableView inside a ListView (Titanium/Alloy)

只愿长相守 提交于 2019-12-11 02:59:46
问题 I've a ListView rotated -90 degrees, with it's ListItem's rotated 90 degrees built in Alloy Titanium. Each ListItem has a header Label and a content TableView, and the TableView data is dynamic. This is my index.xml: <Alloy> <Window> <ListView id="view" defaultItemTemplate="item"> <Templates> <ItemTemplate id="item" name="item"> <View id="view" bindId="view"> <View class="header"> <Label class="title" bindId="title"/> <Label class="subtitle" bindId="subtitle"/> <Label class="desc" bindId=

Titanium Back Button - Always closes my App

空扰寡人 提交于 2019-12-10 21:34:29
问题 I have a new problem with my App, i'm using Appcelerator Titanium for development. I want to lock the Backbutton from my Device, so the App wont close everytime when i use him. I want to close the App only if i'm at the primarymenu. So this is my code: Ti.UI.currentWindow.addEventListener('android:back',function(){ alert(Ti.App.PositionNow); if(Ti.App.PositionNow=='0') { alert('do quit'); } else if(Ti.App.PositionNow=='1') { Ti.App.multi_tableView.addEventListener('click',myfunction); var

Can't hide titlebar Titanium with Alloy

余生颓废 提交于 2019-12-10 18:25:13
问题 I have encounterd a problem in Titanium Appcelerator using Alloy MVC. This problem contains the following(see image) I can't remove the black bar where the app name and logo is found. I am running the app on a device(Google Nexus, no simulator) I have tried the following to remove this: XML: <Alloy> <Window> </Window> </Alloy> TSS: "Window": { navBarHidden:true, fullscreen:true, backgroundColor:"Orange", orientationModes:[Ti.UI.PORTRAIT], } TiApp.XML: <statusbar-style>default</statusbar-style

Parsing XML in Javascfipt

谁说胖子不能爱 提交于 2019-12-10 17:52:26
问题 Ok I am trying to parse an XML from a get request in Javascript. This is how the XML looks like <markers> <marker> <name> <![CDATA[ Pan Africa Market ]]> </name> <address> <![CDATA[ 1521 1st Ave, Seattle, WA ]]> </address> <lat>47.608940</lat> <lng>-122.340141</lng> <price>150</price> <type>restaurant</type> </marker> </markers> I am trying to push the marker into an array so I can access it later (I am building a google maps marker with it) In the result var I save the response from the get

Duplicate entry: org/appcelerator/titanium/gen/bindings.json in custom Android module

生来就可爱ヽ(ⅴ<●) 提交于 2019-12-10 13:52:49
问题 Setup / Problem I've create a custom Android module for Titanium to display Gif animations inside Ti. The module source code can be found here: https://github.com/m1ga/com.miga.gifview The actual module is working fine but when I use it with a second module (with the same problem) I receive the following error: java.util.zip.ZipException: duplicate entry: org/appcelerator/titanium/gen/bindings.json The problem is inside the gifimageview.jar file: My two modules each have a bindings.json file

Appcelerator - Android failed to package application, duplicate file

余生颓废 提交于 2019-12-10 11:23:56
问题 Having a load of issues with Appcelerator at the moment, random error messages at every turn, but I know that comes with the territory. Today's hurdle is testing out the Facebook integration for my app and I'm testing on a vanilla project created by the studio. When I go to test the application I get the following error: [ERROR] : Failed to package application: [ERROR] : [ERROR] : /Users/auhjbe0/Documents/Appcelerator_Studio_Workspace/CleanProject/build/android/res/drawable-hdpi-v4/com

How to Call a WebService in titanium using javascript

本秂侑毒 提交于 2019-12-09 13:29:30
问题 I am new to titanium and and want to call a web service from my titanium app. The webService returns the json response. As I am aware of calling the webService using XMLRPC but very confused regarding json. Until now, I know that we have to create the HTTPClient . var request = Titanium.Network.createHTTPClient(); request.open("POST", "http://test.com/services/json"); request.onload = function() { var content = JSON.parse(this.responseText);//in the content i have the response data }; request

Is Titanium appcelerator worth it for developing camera based application on ipad, iphone and android? [closed]

烈酒焚心 提交于 2019-12-09 00:03:29
问题 Closed . This question is opinion-based. It is not currently accepting answers. Want to improve this question? Update the question so it can be answered with facts and citations by editing this post. Closed 6 years ago . I want to build a mobile/tablet application whose core feature will be taking pictures with the camera , viewing pictures and receiving notifications. Also I want to target iphone, ipad and android platforms. Titanium appcelerator piqued my interest because of its cross