Community Questions & Answers
Experience using Titanium4j ?
Hello everybody, We are a team of Java developers and have to write Titanium Applications. Appcelerator only provide a JavaScript API but we came accross Titanium4j (http://emitrom.com/titanium4j) which seems to use Java. Has anyone used this...
Error Dashboard loading
Hi, when I launch titanium studio, when is loading the dashboard page It shown a massage error that said: Message from web page An exception occured in the script. Error name: Error. Error desctiption: Impossible to find a specified path Error number:...
Opening native calender for adding events using java
Can any body tell that how to open native mobile calendar for adding events using java
Potential Newbie - Java to JavaScript Advice Welcome
Background: Using Eclipse (Indigo) I have designed and made decent progress on an Android mobile app. The current design has two projects: 1) server app (the service piece to run on a centos-5-x86_64 OS) written in JAVA with a simple Restlet structure; and...
ERROR] Error locating JDK: set $JAVA_HOME or put javac and jarsigner on your $PATH
OK - I have been struggling to get this working. I am on vista and have downloaded the sun stuff. I get the above error when I launch kitchen sink. The kitchen sink does display sdk 1.6 at the bottom. Exactly what do I do...
Titanium4j 3.1 is here !
Hello Folks, We are very exitecd to announce the general availability of Ti4j 3.1 Ti4j is our Java binding for Titanium that allows developers to write Titanium applications in Java. Promiment feature in this release are : 1) Support for Titanium SDK...
.java wont open
I have a file with the ext .java what wont open. I get a dialo box that says: " Windows cant open this file". I have windows 7 the .java files have open before now they dont. Please Help
Titanium4j now available through the market place
Hello folks, We just uploaded Titanium4j to the marketplace (https://marketplace.appcelerator.com/apps/5420?2037282889). Titanium4j lets you write Titanium application in Java and used the GWT and Closure compiler to output a high optimized JavaScript. We...
Java SDK Missing Ubuntu 11.04
I debug in Titanium and an error appear. Android runs but the Hello World application of Titanium doesnt show up These is the error: [ERROR] Missing Java SDK. Please make sure Java SDK is on your PATH (exception: [Errno 2] No such file or...
ACS REST call - Invalid photo file attachment.
Hello, I'm trying to upload a photo to the ACS cloud. I'm using java code, jakarta HttpClient. Sign in is ok. At the end of the upload i've got this error : Upload failed, response={ "meta": { "status": "fail", ...
1.4
Hi Just updated to 1.4, and now I can't run the Emulator. It still works if I change back to 1.3. It is android, and I am using windows 7. The error I get in the console is ~~~ [ERROR] Required jarsigner not found [ERROR] Required javac not...
JAVA_HOME error in Titanium Studio on Linux Mint
I will try and keep this as concise as possible since I need to get this figured out quickly. Back when I setup Titanium Studio 2.1.1.201207271312 on Linux Mint 13 64-bit system, I had all kinds of problems installing a version of Java Titanium liked. In...
Mobile and Device development
Hello, i just reinstalled Titanium and i ran into a problem. When i try to create a Titanium module project it tells me i need to install JDT. When i click the link it shows me an outdated tutorial on how to install. However i have installed this before....
compile android mobule error
I want to make a android module , i create it, and then when I click the [Package - Android module] compile it, the Studio have a error: ~~~ Executing build.xml... C:\Documents and Settings\Administrator\Application...
Package android module error
I want to make a android module , i create it, and then when I click the [Package - Android module] compile it, the Studio have a error: -------------------------------------------------------------------- Executing build.xml... C:\Documents and...
Program launch failed. Unable to locate Java VM. Please set JAVA_HOME environment variable.
Hi all. I am working on titanium android on windows 7 environment. I wrote a simple application for printing hello world in titanium android and now i just thought of the way to create the apk so that i can plan for distributing any future applications...
Can't Even Run Hello World Consistently on Android Emulator
I have installed Titanium on 2 different computers, both Windows 7 and end up with same problems on both machines. It always starts with the error: [ERROR] Application Installer abnormal process termination. Process exit value was 1 [ERROR] Timed out...
update error by titanium studio 3
Hi there, when I start titanium, he will update the CLI and another thing (I just don´t know the name yet). But by clicking install, the following error occures: ~~~ Error encountered during...
Android 4.0.3 Turkish Locale causes Application crash
In Android 4.0.3 Turkish Locale causes Application crashes, when the device's language set to english the application works properly. Is there any workaround for this problem. I think the below link solves the problem but i couldn't compile java in...
editing Java_Home under systems advance settings Still getting errors
After editing the Java_Home Enviromental Variable and changing it to how it says on the DOCs i am still recieving error `[ERROR] Application Installer abnormal process termination. Process exit value was 1 [INFO] logfile =...
Windows 7 Java + Android issues
This isn't a question so much as an answer. I was having serious difficulty getting Titanium Studio and Android set up on Windows. I would repeatedly get the following errors when I attempted to build the Hello World project: Required java not...
Use Appcelerator Titanium for Android phone with IOIO board
Hi all, I want to use an IOIO board [See here](https://www.sparkfun.com/products/10748) for a project. This board uses a Lib for Java development [found here](https://github.com/ytai/ioio). My question is: can I use Titanium for this? Do I need a module...
Titanium4j now free to use and under Apache
Hello community, sometimes ago we announced release 2.0 of Titanium4j. Our GWT binding for Titanium that aims to bring Java devs the the Titanium Plaftform by giving them the ability to use Java instead of JavaScript. To see what s new in 2.0 please visit...
Problem with Java Jre and Jdk won't work now - Error Loading - same worng bit version!
Hello i have big problem with jre and jdk. I have been installed - But Titanium Studio won't compile with Android.. I have been tried. over tha 2 Hours :( `[ERROR] Error locating JDK: set $JAVA_HOME or put javac and jarsigner on your $PATH` Than i am...
developing android java module in titanium.
Hi, I am developing small android module in which I want to display list of all installed application on users android device. I am ready with my java code. But I don't know how to implement this in android module. Is there any sample android java module...
[TiStudio win7 64bit] Program launch failed. Unable to locate Java VM. Please set JAVA_HOME environment variable.
Hi Everyone, I'm working on an app on Windows 7 64 bit with the new Ti SDK 2.1.0.GA and when building for Android I get this error: ~~~ [INFO] Compiling javascript: global.js [DEBUG] "C:\Program Files\Java\jdk1.6.0_27\bin\java.exe" -jar...
unable build android java project.
Hi, I am developing small android application. I create android project in titanium(FIle -> new -> android project). It creates a new **android project** (Java). Now when I tried to build this project it showing me options like run as android...
SDK 1.8.1 Android modules problem
Hi, I'm using the c2dm module that was converted to 1.8.0.1 ([https://github.com/Kuraturpa/titanium-c2dm](https://github.com/Kuraturpa/titanium-c2dm)). On SDK 1.8.0.1 it was working fine. I've upgraded my SDK to 1.8.1 and re-compiled the module under...
TabbedBar class missing on Android compile
Missing java classes for the element on APIs & 2.2, APIs & 2.1-update1. Seems none of the versions have this?? java.lang.ClassNotFoundException: ti.modules.titanium.ui.TabbedBarProxy Running the OSX version on Snow Leopard 10.6.4.
Java 1.6 is required
I have a newer version, so it won't start. It says: JDK version 1.7.0-ea detected, but 1.6 is required Why? I know it is required, but why won't the application at least try to run it. (with a start-up warning or something)
[ERROR] One or more required files not found - please check your JAVA_HOME environment variable
I want to run my App on my Android device. The console prints: ~~~ [ERROR] JDK version Der Befehl "javac" ist entweder falsch geschrieben oder konnte nicht gefunden werden. detected, but 1.6 is required ~~~ when i'm print the JAVA_HOME Path in...
Missing Java SDK path in Titanium Studio on Ubuntu 10.10
Hi, i am using Ubuntu 10.10 and i am unable to run any application due to the Java SDK is `[ERROR] Missing Java SDK. Please make sure Java SDK is on your PATH (exception: [Errno 2] No such file or directory)` i have java setup and have successfully...
JNI object limit with Android/V8
I have an app that functions well in Rhino, but when I build with V8, I get an error saying that I've hit the JNI object limit (which, apparently, is 512). Is there a way to increase this size? Is this something that can be configured? Some of you are...
titanium android mobile application want connect mysql server by using java
We have a web application that uses (java/jee, struts, hibernate) running on Apache tomcat using MySQL as the DB. It has been up and running for quite a few years, so we have a very large pool of data (millions of row). We need to convert this web app to...
Creating Android native module fail creating module template
Hi, I'm trying to create a native Android module using this guide: [http://wiki.appcelerator.org/display/guides/Module+Developer+Guide+for+Android](http://wiki.appcelerator.org/display/guides/Module+Developer+Guide+for+Android) In Terminal I...
Android Module > Porting to 1.8 Trouble
Any help would be appreciated. I'm not too familiar with Java but need an app to run on Android. When I compile the module using this adjusted Java code: [http://pastie.org/3526369](http://pastie.org/3526369), I get this error: ~~~ [javac] warning: The...
How to have persistent variable in android module?
I'm planning to create a module whereby information was stored in a variable in my java codes. I've made a simple test app whereby a variable in my java code was incremented by 1 every time a button was pressed. When I tested it out, no matter how many...
(Android/Java) how to use TiConvert to return array ?
Hi, I'm trying to add route support to Android SDK. route objects has points property wich is a Array of points (ArrayList<GeoPoint>). you can use TiConvert to return different kind of values, but how to get an array as result with TiConvert ? I...
a question live streaming...
Its possible stream a url ( example https://www.myserver.com/myradio app.asx ) in android? myradioapp.asx content is: ~~~ <ASX VERSION="3.0" BANNERBAR = "fixed"> <Entry> <Title>my...
Required jarsigner not found, etc.
I've seen a few others with the same issue I'm having, but none of the solutions seem to fix my problem. When I go to install an app I get the following message from the console: ~~~ [ERROR] Required jarsigner not found [ERROR] Required javac not...
Updating Titanium SDKs... has encountered a problem
java.net.BindException:Cannot assign requested address: JVM_Bind I have followed the instal guide twice now(order of instal operations, env vars). Latest instal I backed down a version of Java: jdk-6u30-windows-i586. This error occurs every time I launch...
how to build connection between mobile device and java servlet by using soap web services
I mean.. how to build connection between mobile device(mobile application (javascrip) and java servlet(its serever side program to connect with database(mysql)) by using soap web service.. please give me sample example or any example links
Include and compile a java-library
Is it possible to include and compile a java library to my desktop/(mobile) application? When it's possible, then what I have to care about? Which library do I mean: [LINK](http://jasperforge.org/projects/jasperreports)
Need a Java WebService that can receive JavaScript/JSON objects and return JSON/XML.
Hey guys. I need a Java WebService that can be used with `suds.js`. I need to be able to **send** a `JavaScript or JSON` object and **receive** a `JSON object or XML`. Does anyone know of a good option? Thanks in advance.
Titanium can't find Java
I have a litle problem - On my Win7 I have latest Java, Android SDK and Titanium installed, but it just can't work together. There is screenshot: [http://sklad.marekhrabe.eu/soubor/java-hell.png](http://sklad.marekhrabe.eu/soubor/java-hell.png) 1. Java...
Cannot create a new project
I am new to Titanium. I downloaded and installed the most recent release of Studio. When I try to create a new project (desktop or mobile), the program crashes. Totally shuts down. I am running WinXP. Here is the logfile that Studio created when it...
Java not using JAVA_HOME environment variable in OS X Lion
Hi: When Ti Studio calls the AndroidSDKLocator during configuration/setup, it fails because it (seemingly) fails to execute the jar. I'm on OS X Lion, and I've set $JAVA_HOME as instructed for this platform. Java runs fine from the command line, but the...
Accessing Ti.App.Properties from a Module (Java)
I am using push notifications and have not managed to have them work properly if the app is closed (because my callback function cannot run)... Therefore, I want to save the information and do something with it later when the app starts. What I want is to...
Create custom module and User Android API AssetManager.open() faild
I create a custom module with java code. ~~~ AssetManager assetManager = context.getAssets(); inputStream = assetManager.open(fileName); ~~~ When i use the Android API AssetManager.open('a.xx') and put the a.xx file to the...
Problem with running app
hello, I have a problem I installed Titanium studio, android sdk, it runs ok. And then still Java 6 Update 29th And my aunts my problem app "Hello world". When you run it (according to the instructions in the documentation) so I write this...