Community Questions & Answers

Keeps telling me it can't find Java

I downloaded Titanium today to look at its mobile environment. I have the Android SDK installed and the Java SE 1.6.24 installed, however, anytime I try to start a mobile project in Titanium, it tells me Java not found. I've tried uninstalling and...

passing variables

Hey, im new to this and i cant figure this out by the examples... I hope someone could show me how its done. In my app.js i have created 3 tabs that displays other .js files. In my first tab i load data from a database and i need to get a variable from...

fullscreen:false and variable scope

Hi all, I'm trying to write a bit of code with a variable shared between a master file and an included child (as below). Here's my problem; when the initial window has a fullscreen value set, the included file can't see the 'm' variable (when I comment...

Titanium Pro & XP SP3

A very good morning! I cannot get titanium developer to work with XP I've installed the latest JAVA JDK & JRE It all comes down to the following error(s) [ERROR] Required jarsigner not found [ERROR] Required javac not found [ERROR] Required java...

how to transmit variables between two windows

hi, i have two windows, the first : ~~~ row.addEventListener('click',function(e) { var winArticle = Ti.UI.createWindow({url:"article.js"}); winArticle.open(); }); ~~~ the second window : ~~~ var winArticle =...

345 views
asked 2 years ago by Djamel ZAHAL
last activity 2 years ago

UTF 8

hi, how to display an arabic text which are based on utf8 ? thank you

758 views
asked 2 years ago by Djamel ZAHAL
last activity 2 years ago

Titanium erros on building my first iphone app

Hi all, Got this error by compiling my first app, even with no code from me : [INFO] Performing full rebuild. This will take a little bit. Hold tight... Traceback (most recent call last): File "/Library/Application...

How can I run a mobile app in the background

Hello. I need to run my app (for both Android and iPhone) in the background, with a tray icon. How do I do this? My app will regularly connect to a server and check if there is anything new. So the user starts the app, do stuff, then when he exits the...

Problems to open a WebView with Link

Hello everyone, I have some troubles to open a WebView after pressing a button that is in a row of a tableview. Here is a excerpt from my code: ------------------------------------ var button = Titanium.UI.createButton({ title: 'Link' ...

tableView - RSS feed

I have question : how to fil articles tab dynamicly and display contents in tableView : i tried this but it's not working. thank you ~~~ var articles = Array(); var client = Titanium.Network.createHTTPClient(); client.onload = function(e) { var doc =...

406 views
asked 2 years ago by Djamel ZAHAL
last activity 2 years ago

Titanium.Network.createHTTPClient()

I cannot connect to the web, i would like to read a remote xml file ~~~ //source articles var articles = new Array(); var client = Titanium.Network.createHTTPClient(); client.onload = function(e) { var doc = this.responseXML.documentElement; //this...

Image compression

When I take a picture and send it to my website, the files are very large. (iPhone 4 takes even bigger pictures) There must be a way to reduce the size of these images, but I haven't found anything yet. Any suggestions?

Unable to configure Android on MacOSx

Hi I unzipped Android SDK in /Developer/androidsdk , I then ran ADB which downloaded the 1.6 level 4 API. Now in Environment Settings I am setting path as /Developer/androidsdk then it says: "Couldn't find adb or android in your SDK's...

Titlebar Map Button Question

Hi, i'm trying to put "map" button in the titlebar, and when you click it, it opens "map.js" file. Can someone please look at my code and help me figure out what i'm doing wrong? var btnMap =...

Set position & zindex

Can't I just set the position of an image view with something like: image.left = 10; And whenever I try: image.zIndex = 10; The app crashes on Android!

Adding property to the view

Hello friends, i have been working with Titanium Appcelerator for about 10 days and it's really cool. i have a view in which i've created 8 subviews .. and i made a function to handle the click event of the small subview .. but i wanna add an id to each...

Controls do not render in tabbed windows

I have created two windows in two tabs in a tab group. It is almost identical to the initial code generated for a new app. Both tabs have the correct title, and the tab bar has the correct icons and switches tabs correctly. Unfortunately, any control that...

TabGroup

I'm writing an iphone app that uses a tabgroup. I created the tabgroup and added my tabs but when I open the tab group it automatically opens tab 1, I'd like to display something in the windows and have the user decide what tab to open. Is this a default...

Error in compiler

Despite having compiled and run my project successfully in the Android emulator (under Win XP), I now repeatedly get the following error message for source code that previously worked OK. I've no idea what's wrong. Can anyone help? Thanks. Error in...

unable to delete temporary files

I'm trying to delete temporary files that get created during an HTTP post operation. The files end up on the SDCARD root directory and all begin with 'tixhr'. When I run the code below I get this error: "TypeError: Cannot find function deleteFile...

Advanced Layouts and Styles

When I learned programming and web development I learned the complex stuff by dissecting sample apps and reading source code. Unfortunately, I cannot find any beautiful interface samples to dissect and learn from. Advanced styling is probably the one...

Loading the html/javascript/css from a server

Hi, I am needing to build an iPhone application that will have some of it's content dynamically generated and I am trying to establish if what I am needing to do is possible with Appcelerator. I am looking to build a hybrid application where some of the...

Bug tracker?

Hi Everybody, Is there a bug tracker where I can file bugs instead of posting them here in the forum? I've the feeling that some of the bugs posted here get lost. In particular tracking would be nice to see if it is actually solved.... greets Daniel

ScrollView horizontal scroll not working.

Hello. I have a scrollView in my app (for Android), but I can't scroll horizontally. (Vertical scrolling works fine though.) I have tried adding a View, and toying around with the input parameters of createScrollView. The code can be find here:...

Ti won't build code

Everything was working ealier and every since I tried to Build a Package its been crashing. Can't Build for Itunes or Build to Distribute or even build for simulator. ~~~ File "/Library/Application...

Twitter OAuth... Any help?

So today I got Facebook working on my app using the new [Ti.Facebook APIs and modules](http://developer.appcelerator.com/blog/2011/02/facebook-module-changes-in-titanium-mobile-1-6-0.html). What I'm having problems now is getting Twitter working. Basically...

Couldn't find module: ti.facebook + ARti

Hi there, I've downloaded mobileSDK 1.6.0RC1 so I could run the newly released ARti but I get the error message: [ERROR] Script Error = Couldn't find module: ti.facebook. The github download I've been directed to seems to be for Android. Any ideas, or...

Showing 36,301-36,350 of 47,728 1722 723 724 725 726 727 728 729 730 731 732955